carbidecpp22devenv/plugins/org.eclipse.test.source_3.5.0.r20080925/src/org.junit4_4.5.0.v20090423/junitsrc/junit/framework/Protectable.java
author cawthron
Fri, 04 Dec 2009 11:49:54 -0600
changeset 636 3ef299ba838f
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
636
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     1
package junit.framework;
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     2
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     3
/**
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     4
 * A <em>Protectable</em> can be run and can throw a Throwable.
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     5
 *
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     6
 * @see TestResult
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     7
 */
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     8
public interface Protectable {
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
     9
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
    10
	/**
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
    11
	 * Run the the following method protected.
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
    12
	 */
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
    13
	public abstract void protect() throws Throwable;
3ef299ba838f add files for RCL_2_2
cawthron
parents:
diff changeset
    14
}