diff -r 000000000000 -r 82d1d1de1a01 carbidecpp20devenv/plugins/org.eclipse.test.source_3.3.0.v20080507/src/org.junit4_4.3.1/junitsrc/org/junit/Ignore.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/carbidecpp20devenv/plugins/org.eclipse.test.source_3.3.0.v20080507/src/org.junit4_4.3.1/junitsrc/org/junit/Ignore.java Wed Mar 18 17:21:00 2009 -0500 @@ -0,0 +1,31 @@ +package org.junit; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + *

Sometimes you want to temporarily disable a test. Methods annotated with {@link org.junit.Test} + * that are also annotated with @Ignore will not be executed as tests. Native JUnit 4 test runners + * should report the number of ignored tests along with the number of tests that ran and the + * number of tests that failed.

+ * + * For example: + *
+ *    @Ignore @Test public void something() { ...
+ * 
+ * @Ignore takes an optional default parameter if you want to record why a test is being ignored:
+ *
+ *    @Ignore("not ready yet") @Test public void something() { ...
+ * 
+ * + */ +@Retention(RetentionPolicy.RUNTIME) +@Target({ElementType.METHOD, ElementType.TYPE}) +public @interface Ignore { + /** + * The optional reason why the test is ignored. + */ + String value() default ""; +}