Skip to content

Commit 648a444

Browse files
committed
Make isLocal disable param really disable
It was wrongly bound to enable when the disable param is passed.
1 parent 73f342c commit 648a444

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import org.eclipse.swt.SWTError;
3232
import org.eclipse.swt.SWTException;
3333
import org.junit.jupiter.api.Test;
34-
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
34+
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
3535

3636
/**
3737
* Automated Test Suite for class {@link org.eclipse.swt.SWT}.
@@ -114,7 +114,7 @@ private List<String> signersFromClass(Class<?> classValue) {
114114
* GitHub Pull Requests.
115115
*/
116116
@Test
117-
@EnabledIfSystemProperty(named = "org.eclipse.swt.tests.junit.disable.test_isLocal", matches = "true")
117+
@DisabledIfSystemProperty(named = "org.eclipse.swt.tests.junit.disable.test_isLocal", matches = "true")
118118
public void test_isLocal() {
119119
String swtPath = pathFromClass(SWT.class);
120120
String tstPath = pathFromClass(Test_org_eclipse_swt_SWT.class);

0 commit comments

Comments
 (0)