1package test.junit4; 2 3import org.junit.Assert; 4import org.junit.Assume; 5import org.junit.Ignore; 6import org.junit.Test; 7 8/** 9 * 10 * @author lukas 11 */ 12public class JUnit4Sample2 { 13 14 public static final String[] EXPECTED = {"t2", "t4"}; 15 public static final String[] SKIPPED = {"t3", "ta"}; 16 public static final String[] FAILED = {"tf"}; 17 18 @Test 19 public void t2() { 20 } 21 22 @Test 23 @Ignore 24 public void t3() { 25 } 26 27 @Test 28 public void t4() { 29 } 30 31 @Test 32 public void tf() { 33 Assert.fail("a test"); 34 } 35 36 @Test 37 public void ta() { 38 Assume.assumeTrue(false); 39 } 40} 41