diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-08-25 00:07:31 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-08-25 00:07:31 -0500 |
| commit | 8e1ce1c060b60363c1058f0415c94d5dff8a84a8 (patch) | |
| tree | 77719bb8b26beb4652d18a348b6b7a1a15e53e92 /testcase.go | |
| parent | e7adfe46064afcb9b68c42a2226d88fbd831e71e (diff) | |
| parent | 86b5e7926ee9958fe51dff2afc83d367fe9fee47 (diff) | |
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 { |
