carbidecpp22devenv/plugins/org.eclipse.test.source_3.5.0.r20080925/src/org.junit4_4.5.0.v20090423/junitsrc/junit/framework/Test.java
changeset 636 3ef299ba838f
equal deleted inserted replaced
635:8d56403172bc 636:3ef299ba838f
       
     1 package junit.framework;
       
     2 
       
     3 /**
       
     4  * A <em>Test</em> can be run and collect its results.
       
     5  *
       
     6  * @see TestResult
       
     7  */
       
     8 public interface Test {
       
     9 	/**
       
    10 	 * Counts the number of test cases that will be run by this test.
       
    11 	 */
       
    12 	public abstract int countTestCases();
       
    13 	/**
       
    14 	 * Runs a test and collects its result in a TestResult instance.
       
    15 	 */
       
    16 	public abstract void run(TestResult result);
       
    17 }