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 111799 Details for
Bug 216446
[buildpath] Missing classpath 'variable' jars aren't seen when supplied
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Test only
216446.txt (text/plain), 1.79 KB, created by
Jerome Lanneluc
on 2008-09-05 06:29:07 EDT
(
hide
)
Description:
Test only
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2008-09-05 06:29:07 EDT
Size:
1.79 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/model/ClasspathTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java,v >retrieving revision 1.183 >diff -u -r1.183 ClasspathTests.java >--- src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 5 Sep 2008 08:52:57 -0000 1.183 >+++ src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 5 Sep 2008 10:27:57 -0000 >@@ -2687,7 +2687,7 @@ > * Ensures that a marker is removed if adding an internal jar that is on the classpath in another project > * (regression test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=213723 ) > */ >-public void testFixClasspath() throws CoreException { >+public void testFixClasspath1() throws CoreException { > try { > createProject("P1"); > IJavaProject project = createJavaProject("P2", new String[0], new String[] {"/P1/lib.jar"}, "bin"); >@@ -2703,6 +2703,25 @@ > deleteProject("P2"); > } > } >+/* >+ * Ensures that a marker is removed if adding an external jar, restarting and refreshing >+ * (regression test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=216446 ) >+ */ >+public void testFixClasspath2() throws CoreException { >+ try { >+ IJavaProject p = createJavaProject("P", new String[0], new String[] {getExternalResourcePath("externalLib.abc")}, ""); >+ waitForAutoBuild(); // 1 marker >+ createExternalFile("externalLib.abc", ""); >+ >+ simulateExitRestart(); >+ refreshExternalArchives(p); >+ >+ assertMarkers("Unexpected markers", "", p); >+ } finally { >+ deleteExternalResource("externalLib.abc"); >+ deleteProject("P"); >+ } >+} > /** > * Test IJavaProject.hasClasspathCycle(IClasspathEntry[]). > */
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 216446
:
111479
| 111799