aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/common/output/TestWriter.java
diff options
context:
space:
mode:
authorJ08nY2018-02-10 19:59:41 +0100
committerJ08nY2018-02-10 19:59:41 +0100
commit22e4cfaf40a259be007bddc7b5cd765390de1c11 (patch)
tree7b7429f1215ee9e47efa4b7b2eb688c88b1cc22a /src/cz/crcs/ectester/common/output/TestWriter.java
parentab80803c561d05407144ffb5f1c4d45d698fec0b (diff)
downloadECTester-22e4cfaf40a259be007bddc7b5cd765390de1c11.tar.gz
ECTester-22e4cfaf40a259be007bddc7b5cd765390de1c11.tar.zst
ECTester-22e4cfaf40a259be007bddc7b5cd765390de1c11.zip
Handle exceptions in Tests and TestSuites grafeully.
Diffstat (limited to '')
-rw-r--r--src/cz/crcs/ectester/common/output/TestWriter.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cz/crcs/ectester/common/output/TestWriter.java b/src/cz/crcs/ectester/common/output/TestWriter.java
index 0ecfd5a..5fa7f67 100644
--- a/src/cz/crcs/ectester/common/output/TestWriter.java
+++ b/src/cz/crcs/ectester/common/output/TestWriter.java
@@ -7,9 +7,26 @@ import cz.crcs.ectester.common.test.TestSuite;
* @author Jan Jancar johny@neuromancer.sk
*/
public interface TestWriter {
+ /**
+ * @param suite
+ */
void begin(TestSuite suite);
+ /**
+ *
+ * @param t
+ */
void outputTest(Test t);
+ /**
+ *
+ * @param t
+ * @param cause
+ */
+ void outputError(Test t, Throwable cause);
+
+ /**
+ *
+ */
void end();
}