Skip to content

Commit

Permalink
Fix test in org.eclipse.compare.tests eclipse-platform#525
Browse files Browse the repository at this point in the history
This commit reactivates and fixes the test testVerify() from FilterTest.java in org.eclipse.compare.tests. The test was outcommented in the past probably because Filter.validateResourceFilters(String) could not be performed anymore. Now
validateResourceFilters(String) is performed on CompareResourceFilter. Contributes to eclipse-platform#525.
  • Loading branch information
Michael5601 authored and HeikoKlare committed Sep 13, 2023
1 parent 7ed493c commit f41dfc3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ public void testMultiFilter() {

@Test
public void testVerify() {
// Assert.assertNull("filters don't verify",
// Filter.validateResourceFilters("*.class, .cvsignore, bin/"));
// Assert.assertNotNull("filters shouldn't verify",
// Filter.validateResourceFilters("bin//"));
Assert.assertNull("filters don't verify",
CompareResourceFilter.validateResourceFilters("*.class, .cvsignore, bin/"));
Assert.assertNotNull("filters shouldn't verify", CompareResourceFilter.validateResourceFilters("bin//"));
}
}

0 comments on commit f41dfc3

Please sign in to comment.