Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 65620 Details for
Bug 184957
[1.5][compiler] Compiler crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
More regression tests
patch_184957_tests.txt (text/plain), 3.77 KB, created by
Olivier Thomann
on 2007-05-02 11:20:07 EDT
(
hide
)
Description:
More regression tests
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-02 11:20:07 EDT
Size:
3.77 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java,v >retrieving revision 1.107 >diff -u -r1.107 AutoBoxingTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 15 Mar 2007 14:04:30 -0000 1.107 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 2 May 2007 14:20:54 -0000 >@@ -35,11 +35,11 @@ > > // Static initializer to specify tests subset using TESTS_* static variables > // All specified tests which does not belong to the class are skipped... >-// static { >+ static { > // TESTS_NAMES = new String[] { "test000" }; >-// TESTS_NUMBERS = new int[] { 65 }; >-// TESTS_RANGE = new int[] { 11, -1 }; >-// } >+// TESTS_NUMBERS = new int[] { 78 }; >+// TESTS_RANGE = new int[] { 151, -1 }; >+ } > public static Test suite() { > return buildComparableTestSuite(testClass()); > } >@@ -4336,4 +4336,107 @@ > settings, > null); > } >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test147() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " if(new Integer(2) == 0) {}\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test148() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " Z test = new Z(1, 1);\n" + >+ " System.out.println(\"SUCCESS\" + test.foo());\n" + >+ " }\n" + >+ "}", >+ "Z.java", >+ "class Z {\n" + >+ " public <A, B extends A> Z(A a, B b) {\n" + >+ " }\n" + >+ " public int foo() {\n" + >+ " return 0;\n" + >+ " }\n" + >+ "}" >+ }, >+ "SUCCESS0"); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test149() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " Z test = new Z(1, 1);\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ "}", >+ "Z.java", >+ "class Z {\n" + >+ " public <A, B extends A> Z(A a, B b) {\n" + >+ " }\n" + >+ "}" >+ }, >+ "SUCCESS"); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test150() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " if(new Integer(2) == 0) {\n" + >+ " System.out.println(\"FAILED\");\n" + >+ " } else {\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test151() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " if(new Double(2.0) == 0.0) {\n" + >+ " System.out.println(\"FAILED\");\n" + >+ " } else {\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test152() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " if(new Double(2.0) == 0.0) {}\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184957
:
65554
|
65555
|
65557
|
65558
|
65559
|
65619
| 65620 |
65913