langtools/test/com/sun/javadoc/testEncoding/TestEncoding.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    34  */
    34  */
    35 
    35 
    36 public class TestEncoding extends JavadocTester {
    36 public class TestEncoding extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4661481";
    38     private static final String BUG_ID = "4661481";
    39     private static final String[][] TEST = NO_TEST;
       
    40 
    39 
    41     //If ??? is found in the output, the source file was not read with the correct encoding setting.
    40     //If ??? is found in the output, the source file was not read with the correct encoding setting.
    42     private static final String[][] NEGATED_TEST = {
    41     private static final String[][] NEGATED_TEST = {
    43         {BUG_ID + "/EncodeTest.html", "??"}
    42         {BUG_ID + "/EncodeTest.html", "??"}
    44     };
    43     };
    52      * The entry point of the test.
    51      * The entry point of the test.
    53      * @param args the array of command line arguments.
    52      * @param args the array of command line arguments.
    54      */
    53      */
    55     public static void main(String[] args) {
    54     public static void main(String[] args) {
    56         TestEncoding tester = new TestEncoding();
    55         TestEncoding tester = new TestEncoding();
    57         tester.run(ARGS, TEST, NEGATED_TEST);
    56         tester.run(ARGS, NO_TEST, NEGATED_TEST);
    58         tester.printSummary();
    57         tester.printSummary();
    59     }
    58     }
    60 
    59 
    61     /**
    60     /**
    62      * {@inheritDoc}
    61      * {@inheritDoc}