diff --git a/src/catch2/internal/catch_reporter_registry.cpp b/src/catch2/internal/catch_reporter_registry.cpp index ee92ad7d..2a2bedcb 100644 --- a/src/catch2/internal/catch_reporter_registry.cpp +++ b/src/catch2/internal/catch_reporter_registry.cpp @@ -23,14 +23,14 @@ namespace Catch { ReporterRegistry::ReporterRegistry() { // Because it is impossible to move out of initializer list, // we have to add the elements manually - m_factories["automake"] = Detail::make_unique>(); + m_factories["Automake"] = Detail::make_unique>(); m_factories["compact"] = Detail::make_unique>(); m_factories["console"] = Detail::make_unique>(); - m_factories["junit"] = Detail::make_unique>(); - m_factories["sonarqube"] = Detail::make_unique>(); - m_factories["tap"] = Detail::make_unique>(); - m_factories["teamcity"] = Detail::make_unique>(); - m_factories["xml"] = Detail::make_unique>(); + m_factories["JUnit"] = Detail::make_unique>(); + m_factories["SonarQube"] = Detail::make_unique>(); + m_factories["TAP"] = Detail::make_unique>(); + m_factories["TeamCity"] = Detail::make_unique>(); + m_factories["XML"] = Detail::make_unique>(); } ReporterRegistry::~ReporterRegistry() = default; diff --git a/tests/SelfTest/Baselines/compact.sw.approved.txt b/tests/SelfTest/Baselines/compact.sw.approved.txt index dabd078b..e0dac422 100644 --- a/tests/SelfTest/Baselines/compact.sw.approved.txt +++ b/tests/SelfTest/Baselines/compact.sw.approved.txt @@ -1311,19 +1311,19 @@ Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fak 1 [fakeTag] 1 tag -" contains: "fakeTag" with 1 message: 'Tested reporter: automake' +" contains: "fakeTag" with 1 message: 'Tested reporter: Automake' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: automake' +" contains: "fake reporter" with 1 message: 'Tested reporter: Automake' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: automake' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: Automake' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] @@ -1366,13 +1366,13 @@ All available tags: 1 [fakeTag] 1 tag -" contains: "fakeTag" with 1 message: 'Tested reporter: junit' +" contains: "fakeTag" with 1 message: 'Tested reporter: JUnit' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: junit' +" contains: "fake reporter" with 1 message: 'Tested reporter: JUnit' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: @@ -1380,20 +1380,20 @@ All available test cases: [fakeTestTag] 1 test case -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: junit' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: JUnit' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fakeTag"s) for: " All available tags: 1 [fakeTag] 1 tag -" contains: "fakeTag" with 1 message: 'Tested reporter: sonarqube' +" contains: "fakeTag" with 1 message: 'Tested reporter: SonarQube' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: sonarqube' +" contains: "fake reporter" with 1 message: 'Tested reporter: SonarQube' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: @@ -1401,43 +1401,43 @@ All available test cases: [fakeTestTag] 1 test case -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: sonarqube' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: SonarQube' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag -" contains: "fakeTag" with 1 message: 'Tested reporter: tap' +" contains: "fakeTag" with 1 message: 'Tested reporter: TAP' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: tap' +" contains: "fake reporter" with 1 message: 'Tested reporter: TAP' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: tap' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TAP' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag -" contains: "fakeTag" with 1 message: 'Tested reporter: teamcity' +" contains: "fakeTag" with 1 message: 'Tested reporter: TeamCity' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: teamcity' +" contains: "fake reporter" with 1 message: 'Tested reporter: TeamCity' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: teamcity' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TeamCity' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fakeTag"s) for: " @@ -1447,7 +1447,7 @@ Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fak fakeTag -" contains: "fakeTag" with 1 message: 'Tested reporter: xml' +" contains: "fakeTag" with 1 message: 'Tested reporter: XML' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fake reporter"s) for: " @@ -1455,7 +1455,7 @@ Reporters.tests.cpp:: passed: listingString, ContainsSubstring("fak fake reporter fake description -" contains: "fake reporter" with 1 message: 'Tested reporter: xml' +" contains: "fake reporter" with 1 message: 'Tested reporter: XML' Reporters.tests.cpp:: passed: !(factories.empty()) for: !false Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " @@ -1468,7 +1468,7 @@ Reporters.tests.cpp:: passed: listingString, ContainsSubstring( "fa 123456789 -" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: xml' +" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: XML' Reporters.tests.cpp:: passed: Message.tests.cpp:: passed: with 1 message: 'this is a success' Message.tests.cpp:: passed: diff --git a/tests/SelfTest/Baselines/console.sw.approved.txt b/tests/SelfTest/Baselines/console.sw.approved.txt index ed5e317a..74c0df93 100644 --- a/tests/SelfTest/Baselines/console.sw.approved.txt +++ b/tests/SelfTest/Baselines/console.sw.approved.txt @@ -9703,7 +9703,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - automake reporter lists tags + Automake reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -9717,7 +9717,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: automake + Tested reporter: Automake ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -9732,7 +9732,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - automake reporter lists reporters + Automake reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -9745,7 +9745,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: automake + Tested reporter: Automake ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -9760,7 +9760,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - automake reporter lists tests + Automake reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -9775,7 +9775,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: automake + Tested reporter: Automake ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -9964,7 +9964,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - junit reporter lists tags + JUnit reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -9979,7 +9979,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: junit + Tested reporter: JUnit ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -9994,7 +9994,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - junit reporter lists reporters + JUnit reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10008,7 +10008,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: junit + Tested reporter: JUnit ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10023,7 +10023,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - junit reporter lists tests + JUnit reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10039,7 +10039,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: junit + Tested reporter: JUnit ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10054,7 +10054,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - sonarqube reporter lists tags + SonarQube reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10069,7 +10069,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: sonarqube + Tested reporter: SonarQube ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10084,7 +10084,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - sonarqube reporter lists reporters + SonarQube reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10098,7 +10098,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: sonarqube + Tested reporter: SonarQube ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10113,7 +10113,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - sonarqube reporter lists tests + SonarQube reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10129,7 +10129,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: sonarqube + Tested reporter: SonarQube ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10144,7 +10144,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - tap reporter lists tags + TAP reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10158,7 +10158,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: tap + Tested reporter: TAP ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10173,7 +10173,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - tap reporter lists reporters + TAP reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10186,7 +10186,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: tap + Tested reporter: TAP ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10201,7 +10201,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - tap reporter lists tests + TAP reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10216,7 +10216,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: tap + Tested reporter: TAP ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10231,7 +10231,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - teamcity reporter lists tags + TeamCity reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10245,7 +10245,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: teamcity + Tested reporter: TeamCity ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10260,7 +10260,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - teamcity reporter lists reporters + TeamCity reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10273,7 +10273,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: teamcity + Tested reporter: TeamCity ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10288,7 +10288,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - teamcity reporter lists tests + TeamCity reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10303,7 +10303,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: teamcity + Tested reporter: TeamCity ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10318,7 +10318,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - xml reporter lists tags + XML reporter lists tags ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10336,7 +10336,7 @@ with expansion: " contains: "fakeTag" with message: - Tested reporter: xml + Tested reporter: XML ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10351,7 +10351,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - xml reporter lists reporters + XML reporter lists reporters ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10367,7 +10367,7 @@ with expansion: " contains: "fake reporter" with message: - Tested reporter: xml + Tested reporter: XML ------------------------------------------------------------------------------- Reporter's write listings to provided stream @@ -10382,7 +10382,7 @@ with expansion: ------------------------------------------------------------------------------- Reporter's write listings to provided stream - xml reporter lists tests + XML reporter lists tests ------------------------------------------------------------------------------- Reporters.tests.cpp: ............................................................................... @@ -10403,7 +10403,7 @@ with expansion: " ( contains: "fake test name" and contains: "fakeTestTag" ) with message: - Tested reporter: xml + Tested reporter: XML ------------------------------------------------------------------------------- Reproducer for #2309 - a very long description past 80 chars (default console diff --git a/tests/SelfTest/Baselines/junit.sw.approved.txt b/tests/SelfTest/Baselines/junit.sw.approved.txt index 95670382..f4469f58 100644 --- a/tests/SelfTest/Baselines/junit.sw.approved.txt +++ b/tests/SelfTest/Baselines/junit.sw.approved.txt @@ -1149,30 +1149,30 @@ Matchers.tests.cpp: - - - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/tests/SelfTest/Baselines/sonarqube.sw.approved.txt b/tests/SelfTest/Baselines/sonarqube.sw.approved.txt index bbec9854..e56652ce 100644 --- a/tests/SelfTest/Baselines/sonarqube.sw.approved.txt +++ b/tests/SelfTest/Baselines/sonarqube.sw.approved.txt @@ -168,30 +168,30 @@ - - - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/tests/SelfTest/Baselines/tap.sw.approved.txt b/tests/SelfTest/Baselines/tap.sw.approved.txt index 7d60d6d6..405d1108 100644 --- a/tests/SelfTest/Baselines/tap.sw.approved.txt +++ b/tests/SelfTest/Baselines/tap.sw.approved.txt @@ -2537,15 +2537,15 @@ ok {test-number} - actual, !UnorderedEquals( expected ) for: { 'a', 'b' } not Un # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: automake' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: Automake' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: automake' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: Automake' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: automake' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: Automake' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream @@ -2573,63 +2573,63 @@ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && Cont # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: junit' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: JUnit' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: junit' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: JUnit' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: junit' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: JUnit' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: sonarqube' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: SonarQube' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: sonarqube' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: SonarQube' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: sonarqube' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: SonarQube' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: tap' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: TAP' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: tap' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: TAP' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: tap' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TAP' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: teamcity' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: TeamCity' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: teamcity' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: TeamCity' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: teamcity' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TeamCity' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " 1 fakeTag " contains: "fakeTag" with 1 message: 'Tested reporter: xml' +ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: " 1 fakeTag " contains: "fakeTag" with 1 message: 'Tested reporter: XML' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " fake reporter fake description " contains: "fake reporter" with 1 message: 'Tested reporter: xml' +ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: " fake reporter fake description " contains: "fake reporter" with 1 message: 'Tested reporter: XML' # Reporter's write listings to provided stream ok {test-number} - !(factories.empty()) for: !false # Reporter's write listings to provided stream -ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " fake test name [fakeTestTag] fake-file.cpp 123456789 " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: xml' +ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: " fake test name [fakeTestTag] fake-file.cpp 123456789 " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: XML' # Reproducer for #2309 - a very long description past 80 chars (default console width) with a late colon : blablabla ok {test-number} - # SUCCEED counts as a test pass diff --git a/tests/SelfTest/Baselines/xml.sw.approved.txt b/tests/SelfTest/Baselines/xml.sw.approved.txt index 696ea472..2b5e3378 100644 --- a/tests/SelfTest/Baselines/xml.sw.approved.txt +++ b/tests/SelfTest/Baselines/xml.sw.approved.txt @@ -11816,9 +11816,9 @@ Nor would this !false -
+
- Tested reporter: automake + Tested reporter: Automake @@ -11842,9 +11842,9 @@ Nor would this !false -
+
- Tested reporter: automake + Tested reporter: Automake @@ -11867,9 +11867,9 @@ Nor would this !false -
+
- Tested reporter: automake + Tested reporter: Automake @@ -12050,9 +12050,9 @@ Nor would this !false -
+
- Tested reporter: junit + Tested reporter: JUnit @@ -12077,9 +12077,9 @@ All available tags: !false -
+
- Tested reporter: junit + Tested reporter: JUnit @@ -12103,9 +12103,9 @@ Available reporters: !false -
+
- Tested reporter: junit + Tested reporter: JUnit @@ -12131,9 +12131,9 @@ All available test cases: !false -
+
- Tested reporter: sonarqube + Tested reporter: SonarQube @@ -12158,9 +12158,9 @@ All available tags: !false -
+
- Tested reporter: sonarqube + Tested reporter: SonarQube @@ -12184,9 +12184,9 @@ Available reporters: !false -
+
- Tested reporter: sonarqube + Tested reporter: SonarQube @@ -12212,9 +12212,9 @@ All available test cases: !false -
+
- Tested reporter: tap + Tested reporter: TAP @@ -12238,9 +12238,9 @@ All available test cases: !false -
+
- Tested reporter: tap + Tested reporter: TAP @@ -12263,9 +12263,9 @@ All available test cases: !false -
+
- Tested reporter: tap + Tested reporter: TAP @@ -12290,9 +12290,9 @@ All available test cases: !false -
+
- Tested reporter: teamcity + Tested reporter: TeamCity @@ -12316,9 +12316,9 @@ All available test cases: !false -
+
- Tested reporter: teamcity + Tested reporter: TeamCity @@ -12341,9 +12341,9 @@ All available test cases: !false -
+
- Tested reporter: teamcity + Tested reporter: TeamCity @@ -12368,9 +12368,9 @@ All available test cases: !false -
+
- Tested reporter: xml + Tested reporter: XML @@ -12398,9 +12398,9 @@ All available test cases: !false -
+
- Tested reporter: xml + Tested reporter: XML @@ -12426,9 +12426,9 @@ All available test cases: !false -
+
- Tested reporter: xml + Tested reporter: XML