From: Jean Privat Date: Mon, 6 Jun 2016 18:29:56 +0000 (-0400) Subject: tests: update niunit .sav X-Git-Url: http://nitlanguage.org tests: update niunit .sav Signed-off-by: Jean Privat --- diff --git a/tests/nitunit.args b/tests/nitunit.args index 2116656..f0bc3ee 100644 --- a/tests/nitunit.args +++ b/tests/nitunit.args @@ -1,4 +1,4 @@ -test_nitunit.nit --no-color -o $WRITE +test_nitunit.nit test_test_nitunit.nit --no-color -o $WRITE test_nitunit.nit --gen-suite --only-show test_nitunit.nit --gen-suite --only-show --private test_nitunit2.nit --no-color -o $WRITE diff --git a/tests/sav/nitunit_args1.res b/tests/sav/nitunit_args1.res index 65ee58d..d64cff1 100644 --- a/tests/sav/nitunit_args1.res +++ b/tests/sav/nitunit_args1.res @@ -22,7 +22,7 @@ [OK] test_test_nitunit$TestX$test_foo2 -Docunits: Entities: 27; Documented ones: 4; With nitunits: 4; Failures: 3 +Docunits: Entities: 34; Documented ones: 6; With nitunits: 4; Failures: 3 Test suites: Classes: 1; Test Cases: 3; Failures: 1 [FAILURE] 4/7 tests failed. `nitunit.out` is not removed for investigation. @@ -32,5 +32,5 @@ Test suites: Classes: 1; Test Cases: 3; Failures: 1 Compilation error in nitunit.out/test_nitunit-3.nitnitunit.out/test_nitunit-3.nit:5,8--27: Error: method or variable `undefined_identifier` unknown in `Sys`. assert undefined_identifier Syntax Error: unexpected operator '!'.assert !@#$%^&*() -Runtime Error in file nitunit.out/gen_test_test_nitunit.nitRuntime error: Assert failed (test_test_nitunit.nit:39) +Runtime Error in file nitunit.out/gen_test_test_nitunit.nitRuntime error: Assert failed (test_test_nitunit.nit:39) \ No newline at end of file diff --git a/tests/sav/nitunit_args4.res b/tests/sav/nitunit_args4.res index cbfb8c5..7a74b0c 100644 --- a/tests/sav/nitunit_args4.res +++ b/tests/sav/nitunit_args4.res @@ -19,4 +19,4 @@ end var a = 1 assert a == 1 assert a == 1 - \ No newline at end of file + \ No newline at end of file diff --git a/tests/sav/nitunit_args5.res b/tests/sav/nitunit_args5.res index 38cb4c7..1c9dc40 100644 --- a/tests/sav/nitunit_args5.res +++ b/tests/sav/nitunit_args5.res @@ -9,4 +9,4 @@ Test suites: Classes: 0; Test Cases: 0 assert true # tested assert true # tested assert true # tested - \ No newline at end of file + \ No newline at end of file diff --git a/tests/sav/nitunit_args6.res b/tests/sav/nitunit_args6.res index ff7185a..fa6339c 100644 --- a/tests/sav/nitunit_args6.res +++ b/tests/sav/nitunit_args6.res @@ -19,4 +19,4 @@ Test suites: Classes: 0; Test Cases: 0 assert true Syntax Error: unexpected malformed character '\].;'\][] assert true - \ No newline at end of file + \ No newline at end of file diff --git a/tests/sav/nitunit_args8.res b/tests/sav/nitunit_args8.res index d9fdafc..d81c785 100644 --- a/tests/sav/nitunit_args8.res +++ b/tests/sav/nitunit_args8.res @@ -13,4 +13,4 @@ Test suites: Classes: 0; Test Cases: 0 Syntax Error: unexpected identifier 'garbage'. *garbage* Syntax Error: unexpected identifier 'garbage'.*garbage* Syntax Error: unexpected identifier 'garbage'.*garbage* - \ No newline at end of file + \ No newline at end of file diff --git a/tests/sav/nitunit_args9.res b/tests/sav/nitunit_args9.res index 773614a..31a2cd3 100644 --- a/tests/sav/nitunit_args9.res +++ b/tests/sav/nitunit_args9.res @@ -28,11 +28,14 @@ After Test +==== Test-suite of module test_nitunit4::test_nitunit4_base | tests: 0 +==== Test-suite of module test_nitunit4::test_nitunit4_base | tests: 0 + Docunits: Entities: 13; Documented ones: 0; With nitunits: 0 -Test suites: Classes: 1; Test Cases: 4; Failures: 3 +Test suites: Classes: 2; Test Cases: 4; Failures: 3 [FAILURE] 3/4 tests failed. `nitunit.out` is not removed for investigation. -Runtime Error in file nitunit.out/gen_test_nitunit4.nitBefore Test +Runtime Error in file nitunit.out/gen_test_nitunit4.nitBefore Test Tested method After Test Runtime error: Assert failed (test_nitunit4/test_nitunit4_base.nit:31) @@ -50,4 +53,4 @@ After Test Conflicting expected output: test_nitunit4/test_nitunit4.sav/test_sav_conflict.res, test_nitunit4/sav/test_sav_conflict.res and test_nitunit4/test_sav_conflict.res all existBefore Test Tested method After Test - \ No newline at end of file + \ No newline at end of file