View | Details | Raw Unified | Return to bug 262363
Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/model/ClasspathTests.java (+20 lines)
Lines 526-531 Link Here
526
}
526
}
527
527
528
/*
528
/*
529
 * Ensures that creating an external library folder referenced by a library entry and refreshing the workspace doesn't log a NPE
530
 * (regression test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=262363 )
531
 */
532
public void testAddExternalLibFolder7() throws CoreException {
533
	try {
534
		createJavaProject("P", new String[0], new String[] {getExternalResourcePath("externalLib")}, "");
535
		waitForAutoBuild();
536
		createExternalFolder("externalLib");
537
		startLogListening(null/*listen to Platform's log*/);
538
		getWorkspaceRoot().refreshLocal(IResource.DEPTH_INFINITE, null);
539
		waitForManualRefresh();
540
		assertLogEquals("");
541
	} finally {
542
		stopLogListening();
543
		deleteExternalResource("externalLib");
544
		deleteProject("P");
545
	}
546
}
547
548
/*
529
 * Ensures that adding a library entry for an existing external ZIP archive doesn't generate a marker
549
 * Ensures that adding a library entry for an existing external ZIP archive doesn't generate a marker
530
 */
550
 */
531
public void testAddZIPArchive1() throws CoreException {
551
public void testAddZIPArchive1() throws CoreException {

Return to bug 262363