mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Updated googletest to release-1.12.1 and catch2 to v3.3.2
This commit is contained in:
1 parent
103ef4a00f
commit
ddf8581e48
6 files changed
+16
-17613
No files matched your search
@@ -2419,12 +2419,12 @@ verifyAllCombinations(Converter&& converter, const Containers&... inputs)
|
||||
|
||||
#ifdef APPROVALS_CATCH
|
||||
|
||||
#include <Catch.hpp>
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
//namespace ApprovalTests {
|
||||
struct Catch2ApprovalListener : Catch::TestEventListenerBase {
|
||||
struct Catch2ApprovalListener : Catch::EventListenerBase {
|
||||
ApprovalTests::TestName currentTest;
|
||||
using TestEventListenerBase::TestEventListenerBase; // This using allows us to use all base-class constructors
|
||||
using EventListenerBase::EventListenerBase; // This using allows us to use all base-class constructors
|
||||
virtual void testCaseStarting(Catch::TestCaseInfo const &testInfo) override {
|
||||
|
||||
currentTest.setFileName(testInfo.lineInfo.file);
|
||||
@@ -2452,8 +2452,8 @@ CATCH_REGISTER_LISTENER(Catch2ApprovalListener)
|
||||
#ifdef TEST_COMMIT_REVERT_CATCH
|
||||
|
||||
//namespace ApprovalTests {
|
||||
struct Catch2TestCommitRevert : Catch::TestEventListenerBase {
|
||||
using TestEventListenerBase::TestEventListenerBase; // This using allows us to use all base-class constructors
|
||||
struct Catch2TestCommitRevert : Catch::EventListenerBase {
|
||||
using EventListenerBase::EventListenerBase; // This using allows us to use all base-class constructors
|
||||
virtual void testRunEnded( Catch::TestRunStats const& testRunStats )override{
|
||||
bool commit = testRunStats.totals.testCases.allOk();
|
||||
std::string message = "r ";
|
||||
|
||||
-17597
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user