diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-08-25 00:07:31 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-08-25 00:07:31 -0500 |
commit | f012f1c591e6b19ada9fe317af7959972f5da440 (patch) | |
tree | a07a09730908ead794efd83eeeacd38b533339b6 /testcase.go | |
parent | e87e8db4ace0231f1ac3fa324855395bc7737f43 (diff) | |
parent | 6e23fd63605ee2f599413d7e5e9d3a7a75cf4112 (diff) | |
download | deb-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.go | 15 |
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 { |