tests: update nitunit
authorJean Privat <jean@pryen.org>
Thu, 2 Jun 2016 21:48:23 +0000 (17:48 -0400)
committerJean Privat <jean@pryen.org>
Fri, 3 Jun 2016 15:41:25 +0000 (11:41 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/nitunit_args1.res
tests/sav/nitunit_args4.res
tests/sav/nitunit_args5.res
tests/sav/nitunit_args6.res
tests/sav/nitunit_args7.res
tests/sav/nitunit_args8.res
tests/sav/nitunit_args9.res

index a45c8d4..65ee58d 100644 (file)
@@ -1,5 +1,4 @@
-* Docunits of module test_nitunit::test_nitunit (4 tests)
-
+==== Docunits of module test_nitunit::test_nitunit | tests: 4
 [OK] test_nitunit::test_nitunit
 [KO] test_nitunit$X
      test_nitunit.nit:21,7--22,0: Runtime error in nitunit.out/test_nitunit-2.nit
@@ -13,8 +12,8 @@
 
 [KO] test_nitunit$X$foo1
      test_nitunit.nit:28,15: Syntax Error: unexpected operator '!'.
-* Test-suite of module test_test_nitunit::test_test_nitunit (3 tests)
 
+==== Test-suite of module test_test_nitunit::test_test_nitunit | tests: 3
 [OK] test_test_nitunit$TestX$test_foo
 [KO] test_test_nitunit$TestX$test_foo1
      test_test_nitunit.nit:36,2--40,4: Runtime Error in file nitunit.out/gen_test_test_nitunit.nit
@@ -22,6 +21,7 @@
        Runtime error: Assert failed (test_test_nitunit.nit:39)
 
 [OK] test_test_nitunit$TestX$test_foo2
+
 Docunits: Entities: 27; Documented ones: 4; With nitunits: 4; Failures: 3
 Test suites: Classes: 1; Test Cases: 3; Failures: 1
 [FAILURE] 4/7 tests failed.
index a1f4cb1..cbfb8c5 100644 (file)
@@ -1,8 +1,8 @@
-* Docunits of module test_nitunit2::test_nitunit2 (3 tests)
-
+==== Docunits of module test_nitunit2::test_nitunit2 | tests: 3
 [OK] test_nitunit2::test_nitunit2$core::Sys$foo1
 [OK] test_nitunit2::test_nitunit2$core::Sys$bar2
 [OK] test_nitunit2::test_nitunit2$core::Sys$foo3
+
 Docunits: Entities: 4; Documented ones: 3; With nitunits: 3; Failures: 0
 Test suites: Classes: 0; Test Cases: 0
 [SUCCESS] All 3 tests passed.
index 3e25819..38cb4c7 100644 (file)
@@ -1,8 +1,8 @@
-* Docunits of module test_doc2::test_doc2 (3 tests)
-
+==== Docunits of module test_doc2::test_doc2 | tests: 3
 [OK] test_doc2::test_doc2$core::Sys$foo1
 [OK] test_doc2::test_doc2$core::Sys$foo2
 [OK] test_doc2::test_doc2$core::Sys$foo3
+
 Docunits: Entities: 6; Documented ones: 5; With nitunits: 3; Failures: 0
 Test suites: Classes: 0; Test Cases: 0
 [SUCCESS] All 3 tests passed.
index 2b931af..ff7185a 100644 (file)
@@ -1,15 +1,15 @@
-* Docunits of group test_nitunit3> (2 tests)
-
+==== Docunits of group test_nitunit3> | tests: 2
 [KO] test_nitunit3>
      test_nitunit3/README.md:4,2--15,0: Runtime error in nitunit.out/test_nitunit3-0.nit with argument 1
      Output
        Runtime error: Assert failed (nitunit.out/test_nitunit3-0.nit:7)
 
-[KO] test_nitunit3>
+[KO] test_nitunit3>#2
      test_nitunit3/README.md:7,3--5: Syntax Error: unexpected malformed character '\].
-* Docunits of module test_nitunit3::test_nitunit3 (1 tests)
 
+==== Docunits of module test_nitunit3::test_nitunit3 | tests: 1
 [OK] test_nitunit3::test_nitunit3
+
 Docunits: Entities: 2; Documented ones: 2; With nitunits: 3; Failures: 2
 Test suites: Classes: 0; Test Cases: 0
 [FAILURE] 2/3 tests failed.
@@ -17,6 +17,6 @@ Test suites: Classes: 0; Test Cases: 0
 <testsuites><testsuite package="test_nitunit3&gt;"><testcase classname="nitunit.test_nitunit3&gt;" name="&lt;group&gt;"><error>Runtime error in nitunit.out&#47;test_nitunit3-0.nit with argument 1</error><system-err>Runtime error: Assert failed (nitunit.out&#47;test_nitunit3-0.nit:7)
 </system-err><system-out>assert false
 assert true
-</system-out></testcase><testcase classname="nitunit.test_nitunit3&gt;" name="&lt;group&gt;+1"><failure>Syntax Error: unexpected malformed character &#39;\].</failure><system-out>;&#39;\][]
+</system-out></testcase><testcase classname="nitunit.test_nitunit3&gt;" name="&lt;group&gt;#2"><failure>Syntax Error: unexpected malformed character &#39;\].</failure><system-out>;&#39;\][]
 </system-out></testcase></testsuite><testsuite package="test_nitunit3::test_nitunit3"><testcase classname="nitunit.test_nitunit3::test_nitunit3.&lt;module&gt;" name="&lt;module&gt;"><system-err></system-err><system-out>assert true
 </system-out></testcase></testsuite><testsuite></testsuite></testsuites>
\ No newline at end of file
index 4550bb5..3ac61a8 100644 (file)
@@ -1,15 +1,15 @@
-* Docunits of file test_nitunit_md.md:1,0--15,0 (1 tests)
-
-[KO] nitunit.<file>.test_nitunit_md.md:1,0--15,0
+==== Docunits of file test_nitunit_md.md | tests: 1
+[KO] nitunit.<file>.test_nitunit_md.md
      test_nitunit_md.md:4,2--16,0: Runtime error in nitunit.out/file-0.nit with argument 1
      Output
        Runtime error: Assert failed (nitunit.out/file-0.nit:8)
 
+
 Docunits: Entities: 1; Documented ones: 1; With nitunits: 1; Failures: 1
 Test suites: Classes: 0; Test Cases: 0
 [FAILURE] 1/1 tests failed.
 `nitunit.out` is not removed for investigation.
-<testsuites><testsuite package="test_nitunit_md.md:1,0--15,0"><testcase classname="nitunit.&lt;file&gt;" name="test_nitunit_md.md:1,0--15,0"><error>Runtime error in nitunit.out&#47;file-0.nit with argument 1</error><system-err>Runtime error: Assert failed (nitunit.out&#47;file-0.nit:8)
+<testsuites><testsuite package="test_nitunit_md.md"><testcase classname="nitunit.&lt;file&gt;" name="test_nitunit_md.md"><error>Runtime error in nitunit.out&#47;file-0.nit with argument 1</error><system-err>Runtime error: Assert failed (nitunit.out&#47;file-0.nit:8)
 </system-err><system-out>var a = 1
 assert 1 == 1
 assert false
index 65fd9b3..d9fdafc 100644 (file)
@@ -1,11 +1,11 @@
-* Docunits of module test_doc3::test_doc3 (3 tests)
-
+==== Docunits of module test_doc3::test_doc3 | tests: 3
 [KO] test_doc3::test_doc3$core::Sys$foo1
      test_doc3.nit:17,9--15: Syntax Error: unexpected identifier 'garbage'.
 [KO] test_doc3::test_doc3$core::Sys$foo2
      test_doc3.nit:23,4--10: Syntax Error: unexpected identifier 'garbage'.
 [KO] test_doc3::test_doc3$core::Sys$foo3
      test_doc3.nit:30,4--10: Syntax Error: unexpected identifier 'garbage'.
+
 Docunits: Entities: 6; Documented ones: 5; With nitunits: 3; Failures: 3
 Test suites: Classes: 0; Test Cases: 0
 [FAILURE] 3/3 tests failed.
index 7aa0887..7d1f2bd 100644 (file)
@@ -1,5 +1,4 @@
-* Test-suite of module test_nitunit4::test_nitunit4 (3 tests)
-
+==== Test-suite of module test_nitunit4::test_nitunit4 | tests: 3
 [KO] test_nitunit4$TestTestSuite$test_foo
      test_nitunit4/test_nitunit4.nit:22,2--26,4: Runtime Error in file nitunit.out/gen_test_nitunit4.nit
      Output
@@ -21,6 +20,7 @@
        +Tested method
        +After Test
 
+
 Docunits: Entities: 12; Documented ones: 0; With nitunits: 0
 Test suites: Classes: 1; Test Cases: 3; Failures: 2
 [FAILURE] 2/3 tests failed.