Skip to content

Commit

Permalink
Update approvals
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Mar 2, 2019
1 parent fd82dba commit 2c31077
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion projects/SelfTest/Baselines/compact.sw.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ Misc.tests.cpp:<line number>: passed: ( fib[i] % 2 ) == 0 for: 0 == 0 with 1 mes
Misc.tests.cpp:<line number>: failed: ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[6] (13) is even'
Misc.tests.cpp:<line number>: failed: ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[7] (21) is even'
Message.tests.cpp:<line number>: warning: 'info' with 2 messages: 'unscoped info' and 'and warn may mix'
Message.tests.cpp:<line number>: warning: 'info' with 2 messages: 'unscoped info' and 'they are not cleared after warnings'
Message.tests.cpp:<line number>: warning: 'info' with 2 messages: 'unscoped info' and 'info and unscoped info are not cleared after warnings'
Misc.tests.cpp:<line number>: failed: a == b for: 1 == 2
Misc.tests.cpp:<line number>: passed: a != b for: 1 != 2
Misc.tests.cpp:<line number>: passed: a < b for: 1 < 2
Expand Down
2 changes: 1 addition & 1 deletion projects/SelfTest/Baselines/console.std.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ Message.tests.cpp:<line number>: warning:
and warn may mix

Message.tests.cpp:<line number>: warning:
they are not cleared after warnings
info and unscoped info are not cleared after warnings

-------------------------------------------------------------------------------
more nested SECTION tests
Expand Down
2 changes: 1 addition & 1 deletion projects/SelfTest/Baselines/console.sw.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9031,7 +9031,7 @@ Message.tests.cpp:<line number>: warning:
Message.tests.cpp:<line number>: warning:
info
unscoped info
they are not cleared after warnings
info and unscoped info are not cleared after warnings


No assertions in test case 'mix info, unscoped info and warning'
Expand Down
18 changes: 9 additions & 9 deletions projects/SelfTest/Baselines/xml.sw.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10720,7 +10720,7 @@ loose text artifact
</Failure>
<OverallResult success="false"/>
</TestCase>
<TestCase name="just failure after unscoped info" tags="[.][failing][unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="just failure after unscoped info" tags="[.][failing][info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Failure filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
previous unscoped info SHOULD not be seen
</Failure>
Expand All @@ -10729,7 +10729,7 @@ loose text artifact
<TestCase name="just info" tags="[info][isolated info][messages]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<OverallResult success="false"/>
</TestCase>
<TestCase name="just unscoped info" tags="[unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="just unscoped info" tags="[info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<OverallResult success="false"/>
</TestCase>
<TestCase name="long long" filename="projects/<exe-name>/UsageTests/Misc.tests.cpp" >
Expand Down Expand Up @@ -10949,7 +10949,7 @@ loose text artifact
</Expression>
<OverallResult success="false"/>
</TestCase>
<TestCase name="mix info, unscoped info and warning" tags="[unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="mix info, unscoped info and warning" tags="[info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
info
</Info>
Expand All @@ -10966,7 +10966,7 @@ loose text artifact
unscoped info
</Info>
<Warning>
they are not cleared after warnings
info and unscoped info are not cleared after warnings
</Warning>
<OverallResult success="false"/>
</TestCase>
Expand Down Expand Up @@ -11073,7 +11073,7 @@ loose text artifact
<TestCase name="not allowed" tags="[!throws]" filename="projects/<exe-name>/UsageTests/Misc.tests.cpp" >
<OverallResult success="true"/>
</TestCase>
<TestCase name="not prints unscoped info from previous failures" tags="[.][failing][unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="not prints unscoped info from previous failures" tags="[.][failing][info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
this MAY be seen only for the FIRST assertion IF info is printed for passing assertions
</Info>
Expand Down Expand Up @@ -11163,7 +11163,7 @@ loose text artifact
</Expression>
<OverallResult success="true"/>
</TestCase>
<TestCase name="print unscoped info if passing unscoped info is printed" tags="[unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="print unscoped info if passing unscoped info is printed" tags="[info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
this MAY be seen IF info is printed for passing assertions
</Info>
Expand All @@ -11177,7 +11177,7 @@ loose text artifact
</Expression>
<OverallResult success="true"/>
</TestCase>
<TestCase name="prints unscoped info on failure" tags="[.][failing][unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="prints unscoped info on failure" tags="[.][failing][info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
this SHOULD be seen
</Info>
Expand All @@ -11194,7 +11194,7 @@ loose text artifact
</Expression>
<OverallResult success="false"/>
</TestCase>
<TestCase name="prints unscoped info only for the first assertion" tags="[.][failing][unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="prints unscoped info only for the first assertion" tags="[.][failing][info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
this SHOULD be seen only ONCE
</Info>
Expand Down Expand Up @@ -11438,7 +11438,7 @@ loose text artifact
</Expression>
<OverallResult success="false"/>
</TestCase>
<TestCase name="stacks unscoped info in loops" tags="[.][failing][unscoped info]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<TestCase name="stacks unscoped info in loops" tags="[.][failing][info][unscoped]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
<Info>
Count 1 to 3...
</Info>
Expand Down

0 comments on commit 2c31077

Please sign in to comment.