jdk/test/java/text/Bidi/BidiEmbeddingTest.java
changeset 2956 931f209e57a9
parent 1834 6eefd0d6804d
child 5506 202f599c92aa
--- a/jdk/test/java/text/Bidi/BidiEmbeddingTest.java	Thu May 28 18:11:07 2009 +0400
+++ b/jdk/test/java/text/Bidi/BidiEmbeddingTest.java	Sat Jun 13 06:43:54 2009 +0900
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 4396492 4396496 4778510
+ * @bug 4396492 4396496 4778510 6850113
  * @summary verify that the embedding values processed by the bidi code use negative values to
  * indicate overrides, rather than using bit 7.  Also tests Bidi without loading awt classes to
  * confirm that Bidi can be used without awt. Verify that embedding level 0 is properly mapped
@@ -89,10 +89,12 @@
                                " at level " + bidi2.getRunLevel(i));
         }
 
-        System.out.println(bidi2);
+        System.out.println(bidi2 + "\n");
 
         if (bidi.getRunCount() != 3 || bidi2.getRunCount() != 3) {
             throw new Error("Bidi run count incorrect");
+        } else {
+            System.out.println("test1() passed.\n");
         }
     }
 
@@ -123,10 +125,12 @@
                                " at level " + bidi.getRunLevel(i));
         }
 
-        System.out.println(bidi);
+        System.out.println(bidi + "\n");
 
         if (bidi.getRunCount() != 6) { // runs of spaces and angles at embedding bound,s and final period, each get level 1
             throw new Error("Bidi embedding processing failed");
+        } else {
+            System.out.println("test2() passed.\n");
         }
     }
 }