git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.5.0
[fanfix.git]
/
src
/
be
/
nikiroo
/
utils
/
test
/
StringUtilsTest.java
diff --git
a/src/be/nikiroo/utils/test/StringUtilsTest.java
b/src/be/nikiroo/utils/test/StringUtilsTest.java
index 6ebf43ef019a0d2d2760892cd0ea2465888e7c2c..e35be4fc366f4c12650de731286d104790a2e953 100644
(file)
--- a/
src/be/nikiroo/utils/test/StringUtilsTest.java
+++ b/
src/be/nikiroo/utils/test/StringUtilsTest.java
@@
-174,6
+174,8
@@
class StringUtilsTest extends TestLauncher {
"Un petit texte qui se mettra sur plusieurs lignes",
14, "Un petit", "texte qui se",
"mettra sur", "plusieurs lig-", "nes");
"Un petit texte qui se mettra sur plusieurs lignes",
14, "Un petit", "texte qui se",
"mettra sur", "plusieurs lig-", "nes");
+ addValue(source, Alignment.JUSTIFY, "le dash-test", 9,
+ "le dash-", "test");
for (String data : source.keySet()) {
for (int size : source.get(data).keySet()) {
for (String data : source.keySet()) {
for (int size : source.get(data).keySet()) {
@@
-221,8
+223,8
@@
class StringUtilsTest extends TestLauncher {
@Override
public void test() throws Exception {
String orig = "test";
@Override
public void test() throws Exception {
String orig = "test";
- String zipped = StringUtils.
zip64(orig
);
- String unzipped = StringUtils.un
zip64(zipped
);
+ String zipped = StringUtils.
base64(orig, true
);
+ String unzipped = StringUtils.un
base64s(zipped, true
);
assertEquals(orig, unzipped);
}
});
assertEquals(orig, unzipped);
}
});