summaryrefslogtreecommitdiff
path: root/src/tests/junit/org/example
diff options
context:
space:
mode:
authorGintas Grigelionis <gintas@apache.org>2018-04-02 20:11:31 +0200
committerGintas Grigelionis <gintas@apache.org>2018-04-02 20:11:31 +0200
commit805b6eb058e79a6013c970034fe9cbf98e398ddf (patch)
treee0b2ca0f280e4fc9c214efe326e6c0a622c33c36 /src/tests/junit/org/example
parent1c9118e27e66b669d46e1600649b57cc87b5a97c (diff)
downloadant-805b6eb058e79a6013c970034fe9cbf98e398ddf.tar.gz
Import assumptions statically
Diffstat (limited to 'src/tests/junit/org/example')
-rw-r--r--src/tests/junit/org/example/junit/JUnit4Skippable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/junit/org/example/junit/JUnit4Skippable.java b/src/tests/junit/org/example/junit/JUnit4Skippable.java
index aa89ab7da..bf727d2df 100644
--- a/src/tests/junit/org/example/junit/JUnit4Skippable.java
+++ b/src/tests/junit/org/example/junit/JUnit4Skippable.java
@@ -18,12 +18,12 @@
package org.example.junit;
-import org.junit.Assume;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+import static org.junit.Assume.assumeFalse;
public class JUnit4Skippable {
@@ -40,7 +40,7 @@ public class JUnit4Skippable {
@Test
public void implicitlyIgnoreTest() {
- Assume.assumeFalse("This test will be ignored", true);
+ assumeFalse("This test will be ignored", true);
fail("I told you, this test should have been ignored!");
}
@@ -52,7 +52,7 @@ public class JUnit4Skippable {
@Test
public void implicitlyIgnoreTestNoMessage() {
- Assume.assumeFalse(true);
+ assumeFalse(true);
fail("I told you, this test should have been ignored!");
}