]> granicus.if.org Git - icu/commitdiff
ICU-11464 TestFmwk should log closing brace lines for empty tests.
authorFredrik Roubert <roubert@google.com>
Wed, 7 Jan 2015 18:39:29 +0000 (18:39 +0000)
committerFredrik Roubert <roubert@google.com>
Wed, 7 Jan 2015 18:39:29 +0000 (18:39 +0000)
Review URL: https://codereview.appspot.com/191480043

X-SVN-Rev: 36927

icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java

index 79e1e328eb7d75fe56943f7c95e440393ff6afe1..ed497160881f8f5089e38df1e0a72d883ed64bc4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 1996-2014, International Business Machines Corporation and    *
+ * Copyright (C) 1996-2015, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -1652,6 +1652,11 @@ public class TestFmwk extends AbstractTestLog {
 
             int testDelta = testCount - stack.tc;
             if (testDelta == 0) {
+                if (stack.included) {
+                    stack.flush();
+                    indent(indentLevel);
+                    log.println("} (0s) Empty");
+                }
                 return;
             }