You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change removes all assert*() methods from ResourceTest that accept
a string and replaces all calls to use the according methods that do not
accept a string. All callers only pass order numbers of assertions
within the test methods to this assertion utility, which are unnecessary
as failing tests deliver stack traces from which the failing statement
is obvious.
Contributes to
#903
Copy file name to clipboardExpand all lines: resources/tests/org.eclipse.core.tests.resources.saveparticipant/src/org/eclipse/core/tests/resources/saveparticipant/SaveManager1Test.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -139,13 +139,13 @@ public void testAnotherProject() throws CoreException {
Copy file name to clipboardExpand all lines: resources/tests/org.eclipse.core.tests.resources.saveparticipant/src/org/eclipse/core/tests/resources/saveparticipant/SaveManager2Test.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -108,14 +108,14 @@ public void testVerifyProject2() throws CoreException {
Copy file name to clipboardExpand all lines: resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
+26-25Lines changed: 26 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -533,17 +533,17 @@ public void testCopyFolder() throws CoreException {
Copy file name to clipboardExpand all lines: resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/MoveTest.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -90,10 +90,10 @@ public void testMoveFileAcrossVolumes() throws CoreException {
90
90
91
91
// assert file was moved
92
92
IFilenewFile = destination.getFile(fileName);
93
-
assertDoesNotExistInWorkspace("4.1", file);
94
-
assertDoesNotExistInFileSystem("4.2", file);
95
-
assertExistsInWorkspace("4.3", newFile);
96
-
assertExistsInFileSystem("4.4", newFile);
93
+
assertDoesNotExistInWorkspace(file);
94
+
assertDoesNotExistInFileSystem(file);
95
+
assertExistsInWorkspace(newFile);
96
+
assertExistsInFileSystem(newFile);
97
97
98
98
// assert properties still exist (server, local and session)
99
99
for (intj = 0; j < numberOfProperties; j++) {
@@ -193,10 +193,10 @@ public void testMoveFolderAcrossVolumes() throws CoreException {
0 commit comments