### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core.tests.model Index: src/org/eclipse/jdt/core/tests/model/JavaSearchTests.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaSearchTests.java,v retrieving revision 1.160 diff -u -r1.160 JavaSearchTests.java --- src/org/eclipse/jdt/core/tests/model/JavaSearchTests.java 24 Apr 2007 09:00:28 -0000 1.160 +++ src/org/eclipse/jdt/core/tests/model/JavaSearchTests.java 3 May 2007 16:27:23 -0000 @@ -1931,8 +1931,7 @@ resultCollector.toString(); } /** - * Test that we find potential matches in binaries even if we can't resolve the entire - * class file. + * Test that we find matches in binaries even if we can't resolve the entire class file. * (Regression test for 1G4IN3E: ITPJCORE:WINNT - AbortCompilation using J9 to search for class declaration) */ public void testPotentialMatchInBinary1() throws CoreException { @@ -1956,9 +1955,8 @@ getJavaSearchScope(), this.resultCollector); assertSearchResults( - "AbortCompilation.jar AbortCompilation.MissingFieldType.field [No source] POTENTIAL_MATCH\n" + - "AbortCompilation.jar AbortCompilation.MissingFieldType.missing [No source] POTENTIAL_MATCH\n" + - "AbortCompilation.jar AbortCompilation.MissingFieldType.otherField [No source] POTENTIAL_MATCH", + "AbortCompilation.jar AbortCompilation.MissingFieldType.field [No source] EXACT_MATCH\n" + + "AbortCompilation.jar AbortCompilation.MissingFieldType.otherField [No source] EXACT_MATCH", this.resultCollector); } finally { // reset classpath @@ -1966,8 +1964,7 @@ } } /** - * Test that we find potential matches in binaries even if we can't resolve the entire - * class file. + * Test that we find matches in binaries even if we can't resolve the entire class file. * (Regression test for 1G4IN3E: ITPJCORE:WINNT - AbortCompilation using J9 to search for class declaration) */ public void testPotentialMatchInBinary2() throws CoreException { @@ -1991,9 +1988,8 @@ getJavaSearchScope(), this.resultCollector); assertSearchResults( - "AbortCompilation.jar void AbortCompilation.MissingArgumentType.foo() [No source] POTENTIAL_MATCH\n" + - "AbortCompilation.jar void AbortCompilation.MissingArgumentType.foo(java.util.EventListener) [No source] POTENTIAL_MATCH\n" + - "AbortCompilation.jar void AbortCompilation.MissingArgumentType.foo2() [No source] POTENTIAL_MATCH", + "AbortCompilation.jar void AbortCompilation.MissingArgumentType.foo() [No source] EXACT_MATCH\n" + + "AbortCompilation.jar void AbortCompilation.MissingArgumentType.foo2() [No source] EXACT_MATCH", this.resultCollector); } finally { // reset classpath @@ -2001,8 +1997,7 @@ } } /** - * Test that we find potential matches in binaries even if we can't resolve the entire - * class file. + * Test that we find potential matches in binaries even if we can't resolve the entire class file. * (Regression test for 1G4IN3E: ITPJCORE:WINNT - AbortCompilation using J9 to search for class declaration) */ public void testPotentialMatchInBinary3() throws CoreException {