// 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(); }