summaryrefslogtreecommitdiff
path: root/testcase.go
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-25 00:07:31 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-25 00:07:31 -0500
commitf012f1c591e6b19ada9fe317af7959972f5da440 (patch)
treea07a09730908ead794efd83eeeacd38b533339b6 /testcase.go
parente87e8db4ace0231f1ac3fa324855395bc7737f43 (diff)
parent6e23fd63605ee2f599413d7e5e9d3a7a75cf4112 (diff)
downloaddeb-planr-f012f1c591e6b19ada9fe317af7959972f5da440.tar.xz
deb-planr-f012f1c591e6b19ada9fe317af7959972f5da440.zip
Merge branch 'upstream' into ppa
Update to 0.0.2
Diffstat (limited to 'testcase.go')
-rw-r--r--testcase.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/testcase.go b/testcase.go
index 989838c..8506b84 100644
--- a/testcase.go
+++ b/testcase.go
@@ -1,8 +1,18 @@
package planr
+type TestStatus uint
+
+const (
+ PASSING TestStatus = iota
+ COMPILATION_FAILURE
+ RUNTIME_FAILURE
+)
+
type TestResult struct {
- Id string
- Pass bool
+ Id string
+ Status TestStatus
+ DebugOutput string
+ TestOutput string
}
type TestCase struct {
@@ -18,6 +28,7 @@ type TestCase struct {
Config TestCaseConfig
Result *TestResult
+
}
func (tc TestCase) AdapterConfig() InheritableConfig {