// 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();
			}
Beispiel #4
0
 // Constructor.
 public TestResult()
 {
     numTestsRun = 0;
     failures    = new TestArray();
     errors      = new TestArray();
 }
Beispiel #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);
 }
Beispiel #6
0
 // Simple constructor.
 public TestSuite(String name)
 {
     this.name = name;
     tests     = new TestArray();
 }