blob: 13df2375d3bd4d3553895899ad98a068aa626a09 [file] [log] [blame]
package test.skipex;
import org.testng.SkipException;
import org.testng.TimeBombSkipException;
import org.testng.annotations.Test;
/**
* This class/interface
*/
public class TestSkippedExceptionTest {
@Test
public void genericSkipException() {
throw new SkipException("genericSkipException is skipped for now");
}
@Test(expectedExceptions = SkipException.class)
public void genericExpectedSkipException() {
throw new SkipException("genericExpectedSkipException should not be skipped");
}
@Test
public void timedSkipException() {
throw new TimeBombSkipException("timedSkipException is time bombed", "2007/04/10");
}
}