X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Ftest%2FTestLauncher.java;h=3741e976a54dada71bb9fa37f3fa7a07f5e5cafa;hb=ae7d1a8348693070469f0de059c429ac7b34430e;hp=62f3f6f38918941cc005aa2ece45ad5773d924e6;hpb=db31c35860081535d6e7ddc83ab4af573bb0522e;p=fanfix.git diff --git a/src/be/nikiroo/utils/test/TestLauncher.java b/src/be/nikiroo/utils/test/TestLauncher.java index 62f3f6f..3741e97 100644 --- a/src/be/nikiroo/utils/test/TestLauncher.java +++ b/src/be/nikiroo/utils/test/TestLauncher.java @@ -96,6 +96,7 @@ public class TestLauncher { * @throws Exception * in case of error */ + @SuppressWarnings("unused") protected void start() throws Exception { } @@ -105,6 +106,7 @@ public class TestLauncher { * @throws Exception * in case of error */ + @SuppressWarnings("unused") protected void stop() throws Exception { } @@ -285,11 +287,12 @@ public class TestLauncher { name = prefix(depth, false) + (name == null ? "" : name).replace("\t", " "); - while (name.length() < columns - 11) { - name += "."; + StringBuilder dots = new StringBuilder(); + while ((name.length() + dots.length()) < columns - 11) { + dots.append('.'); } - System.out.print(name); + System.out.print(name + dots.toString()); } /**