Lines 297-301
Link Here
|
297 |
}, |
297 |
}, |
298 |
"SUCCESS"); // expected output |
298 |
"SUCCESS"); // expected output |
299 |
} |
299 |
} |
300 |
|
300 |
|
|
|
301 |
/** |
302 |
* http://dev.eclipse.org/bugs/show_bug.cgi?id=157389 |
303 |
*/ |
304 |
public void test013() { |
305 |
this.runConformTest( |
306 |
new String[] { |
307 |
"X.java", |
308 |
"public class X {\n" + |
309 |
" static class Y {\n" + |
310 |
" public static void test() {\n" + |
311 |
" assert false;\n" + |
312 |
" System.out.println(\"SUCCESS\");\n" + |
313 |
" }\n" + |
314 |
" }\n" + |
315 |
" public static void main(String[] args) {\n" + |
316 |
" ClassLoader classLoader = new X().getClass().getClassLoader();\n" + |
317 |
" // enable assertion for X.Y\n" + |
318 |
" classLoader.setClassAssertionStatus(\"X$Y\", true);\n" + |
319 |
" X.Y.test();\n" + |
320 |
" }\n" + |
321 |
"}" |
322 |
}, |
323 |
"SUCCESS"); // expected output |
324 |
} |
301 |
} |
325 |
} |