Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 137398 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/core/tests/internal/resources/ProjectPreferencesTest.java (-3 / +5 lines)
Lines 288-295 Link Here
288
		}
288
		}
289
289
290
		try {
290
		try {
291
			// project pref should not exist
291
			// project pref should exist and be empty
292
			assertTrue("3.0", !parent.nodeExists(project.getName()));
292
			assertTrue("3.0", parent.nodeExists(project.getName()));
293
			assertTrue("3.05", parent.node(project.getName()).keys().length == 0);
293
		} catch (BackingStoreException e) {
294
		} catch (BackingStoreException e) {
294
			fail("3.1", e);
295
			fail("3.1", e);
295
		}
296
		}
Lines 882-888 Link Here
882
		assertTrue("3.1", !fileInFS.exists());
883
		assertTrue("3.1", !fileInFS.exists());
883
		IEclipsePreferences projectNode = (IEclipsePreferences) service.getRootNode().node(ProjectScope.SCOPE).node(project.getName());
884
		IEclipsePreferences projectNode = (IEclipsePreferences) service.getRootNode().node(ProjectScope.SCOPE).node(project.getName());
884
		try {
885
		try {
885
			assertTrue("3.2", !projectNode.nodeExists(qualifier));
886
			assertTrue("3.2", projectNode.nodeExists(qualifier));
887
			assertTrue("3.25", projectNode.node(qualifier).keys().length == 0);
886
		} catch (BackingStoreException e) {
888
		} catch (BackingStoreException e) {
887
			fail("3.91", e);
889
			fail("3.91", e);
888
		}
890
		}

Return to bug 137398