X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Ftest%2FTestLauncher.java;h=9b841a4a79a4da6a775697457b6384744f6fdd53;hb=fbcc2a2acb39e4c0bbbc805ece1f8ecf2206f951;hp=bee3071d7fce7a8689a1be50492b2ca28f729e68;hpb=79ce1a4973eba079ba819ba841d906de42f38e40;p=nikiroo-utils.git diff --git a/src/be/nikiroo/utils/test/TestLauncher.java b/src/be/nikiroo/utils/test/TestLauncher.java index bee3071..9b841a4 100644 --- a/src/be/nikiroo/utils/test/TestLauncher.java +++ b/src/be/nikiroo/utils/test/TestLauncher.java @@ -96,7 +96,6 @@ public class TestLauncher { * @throws Exception * in case of error */ - @SuppressWarnings("unused") protected void start() throws Exception { } @@ -106,7 +105,6 @@ public class TestLauncher { * @throws Exception * in case of error */ - @SuppressWarnings("unused") protected void stop() throws Exception { } @@ -287,11 +285,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()); } /**