From e6414851321c5d3f62df1e2a815dd3beca6abf2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 29 Apr 2017 17:54:10 +0200 Subject: [PATCH] Updated approval tests --- .../Baselines/console.std.approved.txt | 4 +++- .../Baselines/console.sw.approved.txt | 14 +++++++++---- .../Baselines/console.swa4.approved.txt | 2 +- .../SelfTest/Baselines/junit.sw.approved.txt | 3 +++ .../SelfTest/Baselines/xml.sw.approved.txt | 20 ++++++++++++++++++- 5 files changed, 36 insertions(+), 7 deletions(-) diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index e6bcf41e..0ad362e9 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -368,7 +368,9 @@ MessageTests.cpp:: FAILED: CHECK( a == 0 ) with expansion: 2 == 0 -with message: +with messages: + this message may be logged later + this message should be logged and this, but later ------------------------------------------------------------------------------- diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index ac178f80..c1d8865a 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -119,7 +119,7 @@ with expansion: MiscTests.cpp:: PASSED: - REQUIRE( (*__error()) == 1 ) + REQUIRE( errno == 1 ) with expansion: 1 == 1 @@ -2717,14 +2717,17 @@ MessageTests.cpp:: FAILED: CHECK( a == 1 ) with expansion: 2 == 1 -with message: +with messages: + this message may be logged later this message should be logged MessageTests.cpp:: FAILED: CHECK( a == 0 ) with expansion: 2 == 0 -with message: +with messages: + this message may be logged later + this message should be logged and this, but later MessageTests.cpp:: @@ -2732,7 +2735,10 @@ PASSED: CHECK( a == 2 ) with expansion: 2 == 2 -with message: +with messages: + this message may be logged later + this message should be logged + and this, but later but not this ------------------------------------------------------------------------------- diff --git a/projects/SelfTest/Baselines/console.swa4.approved.txt b/projects/SelfTest/Baselines/console.swa4.approved.txt index dcabf4e0..a23a6ab7 100644 --- a/projects/SelfTest/Baselines/console.swa4.approved.txt +++ b/projects/SelfTest/Baselines/console.swa4.approved.txt @@ -119,7 +119,7 @@ with expansion: MiscTests.cpp:: PASSED: - REQUIRE( (*__error()) == 1 ) + REQUIRE( errno == 1 ) with expansion: 1 == 1 diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index 49df947e..6237fb63 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -237,10 +237,13 @@ MessageTests.cpp: +this message may be logged later this message should be logged MessageTests.cpp: +this message may be logged later +this message should be logged and this, but later MessageTests.cpp: diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index fed55cd0..83d9a421 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -128,7 +128,7 @@ - (*__error()) == 1 + errno == 1 1 == 1 @@ -2744,6 +2744,9 @@ 2 == 2 + + this message may be logged later + this message should be logged @@ -2755,6 +2758,12 @@ 2 == 1 + + this message may be logged later + + + this message should be logged + and this, but later @@ -2766,6 +2775,15 @@ 2 == 0 + + this message may be logged later + + + this message should be logged + + + and this, but later + but not this