01: package test.skipex;
02:
03: import org.testng.SkipException;
04: import org.testng.TimeBombSkipException;
05: import org.testng.annotations.Test;
06:
07: /**
08: * This class/interface
09: */
10: public class TestSkippedExceptionTest {
11: @Test
12: public void genericSkipException() {
13: throw new SkipException(
14: "genericSkipException is skipped for now");
15: }
16:
17: @Test
18: public void timedSkipException() {
19: throw new TimeBombSkipException(
20: "timedSkipException is time bombed", "2007/04/10");
21: }
22: }
|