Skip to content

Commit

Permalink
Update approval tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cschreib committed May 2, 2024
1 parent b9eeb2f commit c5dfca8
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
</TestCase>
<TestCase name="test too long message fail" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</TestCase>
<TestCase name="test too long message pass" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@
</TestCase>
<TestCase name="test too long message pass" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
<TestCase name="test too long message fail" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
Expand Down
4 changes: 2 additions & 2 deletions tests/approval_tests/data/expected/reporter_catch2_xml_full
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,13 @@
</TestCase>
<TestCase name="test too long message pass" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
<TestCase name="test too long message fail" tags="" filename="*testing_reporters.cpp" line="*">
<Failure filename="*testing_reporters.cpp" line="*">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
</Failure>
<OverallResult success="false" durationInSeconds="*"/>
</TestCase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ failed: running test case "test too long expression fail"
CHECK(super_long_string != super_long_string)
failed: running test case "test too long message fail"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
failed: running test case "test NOTHROW fail"
at *testing_reporters.cpp:*
expected throw_something(true) not to throw but it threw a std::exception; message: I threw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ expected failure: running test case "test shouldfail bad pass"
CHECK(1 == 2), got: 1 != 2
failed: running test case "test too long message pass"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
==========================================
error: some tests failed (1 out of 17 test cases, 26 assertions, * seconds)
4 changes: 2 additions & 2 deletions tests/approval_tests/data/expected/reporter_console_default
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ failed: running test case "test too long expression fail"
CHECK(super_long_string != super_long_string)
failed: running test case "test too long message pass"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
failed: running test case "test too long message fail"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
failed: running test case "test NOTHROW fail"
at *testing_reporters.cpp:*
expected throw_something(true) not to throw but it threw a std::exception; message: I threw
Expand Down
4 changes: 2 additions & 2 deletions tests/approval_tests/data/expected/reporter_console_full
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ finished: test too long expression fail (*)
starting: test too long message pass at *testing_reporters.cpp:*
failed: running test case "test too long message pass"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
finished: test too long message pass (*)
starting: test too long message fail at *testing_reporters.cpp:*
failed: running test case "test too long message fail"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
finished: test too long message fail (*)
starting: test NOTHROW pass at *testing_reporters.cpp:*
passed: running test case "test NOTHROW pass"
Expand Down
4 changes: 2 additions & 2 deletions tests/approval_tests/data/expected/reporter_console_withcolor
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
CHECK(super_long_string != super_long_string)
failed: running test case "test too long message pass"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
failed: running test case "test too long message fail"
at *testing_reporters.cpp:*
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
failed: running test case "test NOTHROW fail"
at *testing_reporters.cpp:*
expected throw_something(true) not to throw but it threw a std::exception; message: I threw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
##teamCity[testFailed name='test too long expression fail' message='*testing_reporters.cpp:*|n CHECK(super_long_string != super_long_string)']
##teamCity[testFinished name='test too long expression fail' duration='*']
##teamCity[testStarted name='test too long message fail']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message fail' duration='*']
##teamCity[testStarted name='test NOTHROW fail']
##teamCity[testFailed name='test NOTHROW fail' message='*testing_reporters.cpp:*|n expected throw_something(true) not to throw but it threw a std::exception; message: I threw']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
##teamCity[testStarted name='test too long expression pass']
##teamCity[testFinished name='test too long expression pass' duration='*']
##teamCity[testStarted name='test too long message pass']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message pass' duration='*']
##teamCity[testStarted name='test NOTHROW pass']
##teamCity[testFinished name='test NOTHROW pass' duration='*']
Expand Down
6 changes: 3 additions & 3 deletions tests/approval_tests/data/expected/reporter_teamcity_default
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
##teamCity[testFailed name='test too long expression fail' message='*testing_reporters.cpp:*|n CHECK(super_long_string != super_long_string)']
##teamCity[testFinished name='test too long expression fail' duration='*']
##teamCity[testStarted name='test too long message pass']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message pass' duration='*']
##teamCity[testStarted name='test too long message fail']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message fail' duration='*']
##teamCity[testStarted name='test NOTHROW pass']
##teamCity[testFinished name='test NOTHROW pass' duration='*']
Expand Down Expand Up @@ -132,6 +132,6 @@
##teamCity[testFailed name='test escape |||'|n|r|[|]' message='*reporter_teamcity.cpp:*|n escape || message |||| || |'|n|r|[|]']
##teamCity[testFinished name='test escape |||'|n|r|[|]' duration='*']
##teamCity[testStarted name='test escape very long']
##teamCity[testFailed name='test escape very long' message='*reporter_teamcity.cpp:*|n |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...']
##teamCity[testFailed name='test escape very long' message='*reporter_teamcity.cpp:*|n ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...']
##teamCity[testFinished name='test escape very long' duration='*']
##teamCity[testSuiteFinished name='test']
6 changes: 3 additions & 3 deletions tests/approval_tests/data/expected/reporter_teamcity_full
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@
##teamCity[testStdOut name='test too long expression fail' out='*testing_reporters.cpp:*|n no exception caught']
##teamCity[testFinished name='test too long expression fail' duration='*']
##teamCity[testStarted name='test too long message pass']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message pass' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message pass' duration='*']
##teamCity[testStarted name='test too long message fail']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFailed name='test too long message fail' message='*testing_reporters.cpp:*|n aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...']
##teamCity[testFinished name='test too long message fail' duration='*']
##teamCity[testStarted name='test NOTHROW pass']
##teamCity[testStdOut name='test NOTHROW pass' out='*testing_reporters.cpp:*|n throw_something(false) did not throw']
Expand Down Expand Up @@ -174,6 +174,6 @@
##teamCity[testFailed name='test escape |||'|n|r|[|]' message='*reporter_teamcity.cpp:*|n escape || message |||| || |'|n|r|[|]']
##teamCity[testFinished name='test escape |||'|n|r|[|]' duration='*']
##teamCity[testStarted name='test escape very long']
##teamCity[testFailed name='test escape very long' message='*reporter_teamcity.cpp:*|n |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...']
##teamCity[testFailed name='test escape very long' message='*reporter_teamcity.cpp:*|n ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...']
##teamCity[testFinished name='test escape very long' duration='*']
##teamCity[testSuiteFinished name='test']

0 comments on commit c5dfca8

Please sign in to comment.