View | Details | Raw Unified | Return to bug 99428 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java (-2 / +2 lines)
Lines 33-39 Link Here
33
	// All specified tests which does not belong to the class are skipped...
33
	// All specified tests which does not belong to the class are skipped...
34
	static {
34
	static {
35
//		TESTS_NAMES = new String[] { "test000" };
35
//		TESTS_NAMES = new String[] { "test000" };
36
//		TESTS_NUMBERS = new int[] { 110 };
36
//		TESTS_NUMBERS = new int[] { 65 };
37
//		TESTS_RANGE = new int[] { 21, 50 };
37
//		TESTS_RANGE = new int[] { 21, 50 };
38
	}
38
	}
39
	public static Test suite() {
39
	public static Test suite() {
Lines 2877-2883 Link Here
2877
		String expectedOutput = 
2877
		String expectedOutput = 
2878
			"// Compiled from X.java (version 1.5 : 49.0, super bit)\n" + 
2878
			"// Compiled from X.java (version 1.5 : 49.0, super bit)\n" + 
2879
			"// Signature: Ljava/lang/Enum<LX;>;\n" + 
2879
			"// Signature: Ljava/lang/Enum<LX;>;\n" + 
2880
			"public enum X extends java.lang.Enum {\n"; 
2880
			"public final enum X extends java.lang.Enum {\n"; 
2881
			
2881
			
2882
		int index = actualOutput.indexOf(expectedOutput);
2882
		int index = actualOutput.indexOf(expectedOutput);
2883
		if (index == -1 || expectedOutput.length() == 0) {
2883
		if (index == -1 || expectedOutput.length() == 0) {

Return to bug 99428