git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change b64 implem step1, fix test
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
test_code
/
CryptUtilsTest.java
diff --git
a/src/be/nikiroo/utils/test_code/CryptUtilsTest.java
b/src/be/nikiroo/utils/test_code/CryptUtilsTest.java
index 61e18fbb49198ec36240d361a9d16d13a44af7c3..49005acdc054359508bfd5ef593bb3dfdbaa3962 100644
(file)
--- a/
src/be/nikiroo/utils/test_code/CryptUtilsTest.java
+++ b/
src/be/nikiroo/utils/test_code/CryptUtilsTest.java
@@
-136,7
+136,7
@@
class CryptUtilsTest extends TestLauncher {
@Override
public void test() throws Exception {
InputStream in = new ByteArrayInputStream(new byte[] {42, 127, 12});
@Override
public void test() throws Exception {
InputStream in = new ByteArrayInputStream(new byte[] {42, 127, 12});
- crypt.encrypt
InputStream
(in);
+ crypt.encrypt(in);
ByteArrayOutputStream out = new ByteArrayOutputStream();
IOUtils.write(in, out);
byte[] result = out.toByteArray();
ByteArrayOutputStream out = new ByteArrayOutputStream();
IOUtils.write(in, out);
byte[] result = out.toByteArray();