From d6b8ac5a4e069328e56319abcf2e989c0241bc12 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 10 Feb 2017 11:53:29 +0000 Subject: [PATCH] Added compilation tests to approvals --- .../Baselines/console.std.approved.txt | 4 +- .../Baselines/console.sw.approved.txt | 26 ++++++++++++- .../Baselines/console.swa4.approved.txt | 26 ++++++++++++- .../SelfTest/Baselines/junit.sw.approved.txt | 3 +- .../SelfTest/Baselines/xml.sw.approved.txt | 39 ++++++++++++++++++- 5 files changed, 89 insertions(+), 9 deletions(-) diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index 13519449..42b01d02 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -829,6 +829,6 @@ with expansion: "first" == "second" =============================================================================== -test cases: 159 | 115 passed | 42 failed | 2 failed as expected -assertions: 928 | 832 passed | 78 failed | 18 failed as expected +test cases: 160 | 116 passed | 42 failed | 2 failed as expected +assertions: 932 | 836 passed | 78 failed | 18 failed as expected diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index c9b7584f..d48a03ff 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -14,6 +14,28 @@ PASSED: with message: yay +------------------------------------------------------------------------------- +#542 +------------------------------------------------------------------------------- +CompilationTests.cpp: +............................................................................... + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), int ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), int& ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), const int ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), const int& ) + ------------------------------------------------------------------------------- #809 ------------------------------------------------------------------------------- @@ -9142,6 +9164,6 @@ MiscTests.cpp:: PASSED: =============================================================================== -test cases: 159 | 114 passed | 43 failed | 2 failed as expected -assertions: 930 | 832 passed | 80 failed | 18 failed as expected +test cases: 160 | 115 passed | 43 failed | 2 failed as expected +assertions: 934 | 836 passed | 80 failed | 18 failed as expected diff --git a/projects/SelfTest/Baselines/console.swa4.approved.txt b/projects/SelfTest/Baselines/console.swa4.approved.txt index c6905bb5..098c33d2 100644 --- a/projects/SelfTest/Baselines/console.swa4.approved.txt +++ b/projects/SelfTest/Baselines/console.swa4.approved.txt @@ -14,6 +14,28 @@ PASSED: with message: yay +------------------------------------------------------------------------------- +#542 +------------------------------------------------------------------------------- +CompilationTests.cpp: +............................................................................... + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), int ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), int& ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), const int ) + +CompilationTests.cpp:: +PASSED: + CHECK_THROWS_AS( throws_int(true), const int& ) + ------------------------------------------------------------------------------- #809 ------------------------------------------------------------------------------- @@ -47,6 +69,6 @@ ConditionTests.cpp:: FAILED: CHECK_FALSE( true ) =============================================================================== -test cases: 3 | 2 passed | 1 failed -assertions: 6 | 2 passed | 4 failed +test cases: 4 | 3 passed | 1 failed +assertions: 10 | 6 passed | 4 failed diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index 22506660..ad92d78a 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -1,7 +1,8 @@ - + + diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index 2cead6b9..c4a78b79 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -4,6 +4,41 @@ + + + + throws_int(true), int + + + throws_int(true), int + + + + + throws_int(true), int& + + + throws_int(true), int& + + + + + throws_int(true), const int + + + throws_int(true), const int + + + + + throws_int(true), const int& + + + throws_int(true), const int& + + + + @@ -9655,7 +9690,7 @@ there" - + - +