langtools/test/com/sun/javadoc/testBreakIterator/TestBreakIterator.java
changeset 24072 e7549dcbc4af
parent 24071 b0845717434e
child 24399 af1a0220d0fa
equal deleted inserted replaced
24071:b0845717434e 24072:e7549dcbc4af
    35  * @run main TestBreakIterator
    35  * @run main TestBreakIterator
    36  */
    36  */
    37 
    37 
    38 public class TestBreakIterator extends JavadocTester {
    38 public class TestBreakIterator extends JavadocTester {
    39 
    39 
    40     private static final String BUG_ID = "4165985";
       
    41     private static final String[][] TEST = {
    40     private static final String[][] TEST = {
    42         {BUG_ID + "/pkg/BreakIteratorTest.html",
    41         { "pkg/BreakIteratorTest.html",
    43             "The class is empty (i.e. it has no members)."}};
    42             "The class is empty (i.e. it has no members)."}};
    44     private static final String[] ARGS =
    43     private static final String[] ARGS =
    45         new String[] {
    44         new String[] {
    46             "-d", BUG_ID, "-sourcepath", SRC_DIR,
    45             "-d", OUTPUT_DIR, "-sourcepath", SRC_DIR,
    47             "-breakiterator", "pkg"};
    46             "-breakiterator", "pkg"};
    48 
    47 
    49     /**
    48     /**
    50      * The entry point of the test.
    49      * The entry point of the test.
    51      * @param args the array of command line arguments.
    50      * @param args the array of command line arguments.
    53     public static void main(String[] args) {
    52     public static void main(String[] args) {
    54         TestBreakIterator tester = new TestBreakIterator();
    53         TestBreakIterator tester = new TestBreakIterator();
    55         tester.run(ARGS, TEST, NO_TEST);
    54         tester.run(ARGS, TEST, NO_TEST);
    56         tester.printSummary();
    55         tester.printSummary();
    57     }
    56     }
    58 
       
    59     /**
       
    60      * {@inheritDoc}
       
    61      */
       
    62     public String getBugId() {
       
    63         return BUG_ID;
       
    64     }
       
    65 
       
    66     /**
       
    67      * {@inheritDoc}
       
    68      */
       
    69     public String getBugName() {
       
    70         return getClass().getName();
       
    71     }
       
    72 }
    57 }