// Constructor.
	public TestResult()
			{
				numTestsRun = 0;
				failures = new TestArray();
				errors = new TestArray();
			}
	// A constructor that builds a list of tests from a type's interface.
	public TestSuite(String name, Type type)
			{
				this.name = name;
				tests = new TestArray();
				AddTests(type);
			}
	// Simple constructor.
	public TestSuite(String name)
			{
				this.name = name;
				tests = new TestArray();
			}
Example #4
0
 // Constructor.
 public TestResult()
 {
     numTestsRun = 0;
     failures    = new TestArray();
     errors      = new TestArray();
 }
Example #5
0
 // A constructor that builds a list of tests from a type's interface.
 public TestSuite(String name, Type type)
 {
     this.name = name;
     tests     = new TestArray();
     AddTests(type);
 }
Example #6
0
 // Simple constructor.
 public TestSuite(String name)
 {
     this.name = name;
     tests     = new TestArray();
 }