|
@@ -63,14 +63,6 @@ if $ARGS[0] = 'assertEqualsStringArray':
|
|
|
RESULT = ARRSIZE($ARGS[1]) = ARRSIZE($ARGS[2])
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'cleanUpDefault':
|
|
|
- killvar 'EXPECTED'
|
|
|
- killvar 'ACTUAL'
|
|
|
- killvar 'FUNCTIONNAME'
|
|
|
- killvar 'TESTRESULT'
|
|
|
-end
|
|
|
-
|
|
|
-
|
|
|
if $ARGS[0] = 'addTestResult':
|
|
|
$testResults[testCount] = "<<$TESTNAME>>; gs '<<$LOCATIONNAME>>', '<<$FUNCTIONNAME>>'" + iif($ARGUMENTS ! '', ', <<$ARGUMENTS>>', '') + "; <<$EXPECTED_MESSAGE>>; <<$ACTUAL_MESSAGE>>; "
|
|
|
if TESTRESULT ! 0:
|
|
@@ -121,7 +113,15 @@ if $ARGS[0] = 'saveTestResults':
|
|
|
savegame '<<$_TESTSUITE>>-Results-<<$_TESTFILETIME>>.test'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'cleanUpTestData':
|
|
|
+if $ARGS[0] = 'cleanUpDefault':
|
|
|
+ killvar 'ARGUMENTS'
|
|
|
+ killvar 'EXPECTED'
|
|
|
+ killvar 'EXPECTED_MESSAGE'
|
|
|
+ killvar 'ACTUAL'
|
|
|
+ killvar 'ACTUAL_MESSAGE'
|
|
|
+ killvar 'FUNCTIONNAME'
|
|
|
+ killvar 'TESTRESULT'
|
|
|
+
|
|
|
killvar 'daystart'
|
|
|
killvar 'month'
|
|
|
killvar '$month'
|