Community
Participate
Working Groups
// All specified tests which does not belong to the class are skipped...
static {
// TESTS_PREFIX = "testBug95521";
// TESTS_NAMES = new String[] { "testBug380313" };
// TESTS_NAMES = new String[] { "test394718" };
// TESTS_NUMBERS = new int[] { 53 };
// TESTS_RANGE = new int[] { 23 -1,};
}
assertEquals("Wrong contents", expectedOutput, actualOutput);
// from https://bugs.eclipse.org/bugs/show_bug.cgi?id=394718
public void test394718() throws Exception {
this.runConformTest(
new String[] {
"X.java",
"public class X\n" +
"{\n" +
" public static Boolean test() throws Exception\n" +
" {\n" +
" try\n" +
" for (int i = 0; i < 1; i++)\n" +
" long status = System.currentTimeMillis();\n" +
" if (status < 0)\n" +
" return false;\n" +
" if (status == 1)\n" +
" }\n" +
" \n" +
" finally\n" +
" System.currentTimeMillis();\n" +
" public static void main(String[] args) throws Exception\n" +
" System.out.print(\"Starting\");\n" +
" test();\n" +
" System.out.println(\"Done\");\n" +
"}"
},
"StartingDone");