Lines Matching defs:Suite
71 private final Map<String, Suite> suites = new LinkedHashMap<String, Suite>();
74 * Create a report printer that prints the specified test suite. Since the
80 // partition the tests by suite to be consistent with Ant's printer
84 // create the suite's entry in the map if necessary
85 Suite suite = suites.get(test.className);
86 if (suite == null) {
87 suite = new Suite(test.className);
88 suites.put(test.className, suite);
91 suite.tests.add(test);
107 Suite suite = suites.get(test.className);
109 if (suite == null) {
111 + "test that wasn't in the original test suite!");
115 suite.errors.put(test, failure);
117 suite.failures.put(test, failure);
132 for (Suite suite : suites.values()) {
135 stream = new FileOutputStream(new File(parent, "TEST-" + suite.name + ".xml"));
142 suite.print(serializer, timestamp);
160 static class Suite {
166 Suite(String name) {