github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/junit_runner/src/build/please/test/PleaseTestRunnerTest.java (about) 1 package build.please.test; 2 3 import org.junit.Ignore; 4 import org.junit.Test; 5 6 import static org.junit.Assert.*; 7 8 9 public class PleaseTestRunnerTest { 10 // Test class for our test runner. The test is of course whether this can be 11 // invoked by Please with the correct results; testing the components in isolation 12 // is not extremely easy since they're all designed to be used around the 13 // JUnit test running process. 14 15 @Test 16 public void testSuccess() { 17 assertEquals(42, 6 * 7); 18 } 19 20 @Ignore 21 public void testIgnore() { 22 assertEquals(42, 6 * 9); 23 } 24 }