File tree Expand file tree Collapse file tree
resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ public void setUp() throws Exception {
208208 prefs .putBoolean (ResourcesPlugin .PREF_AUTO_REFRESH , false );
209209 Job .getJobManager ().wakeUp (ResourcesPlugin .FAMILY_AUTO_REFRESH );
210210 Job .getJobManager ().join (ResourcesPlugin .FAMILY_AUTO_REFRESH , null );
211+ ResourcesPlugin .getWorkspace ().addResourceChangeListener (LOG_RESOURCE_DELTA );
211212 }
212213
213214
@@ -958,7 +959,6 @@ public void testMarkerDeltasMoveFolder(TestInfo testInfo) throws CoreException {
958959 */
959960 @ Test
960961 public void testMarkerDeltasMoveFile (TestInfo testInfo ) throws CoreException {
961- ResourcesPlugin .getWorkspace ().addResourceChangeListener (LOG_RESOURCE_DELTA );
962962 IWorkspaceRoot root = getWorkspace ().getRoot ();
963963 final IProject project = root .getProject ("MyProject" );
964964 IFolder folder = project .getFolder ("folder" );
You can’t perform that action at this time.
0 commit comments