Open
Conversation
Agent-Logs-Url: https://github.com/koplyarov/wigwag/sessions/14af2aaf-b4c7-4fbd-9fb9-214d454f7476 Co-authored-by: koplyarov <2735681+koplyarov@users.noreply.github.com>
Agent-Logs-Url: https://github.com/koplyarov/wigwag/sessions/14af2aaf-b4c7-4fbd-9fb9-214d454f7476 Co-authored-by: koplyarov <2735681+koplyarov@users.noreply.github.com>
… using declarations Agent-Logs-Url: https://github.com/koplyarov/wigwag/sessions/14af2aaf-b4c7-4fbd-9fb9-214d454f7476 Co-authored-by: koplyarov <2735681+koplyarov@users.noreply.github.com>
… property Agent-Logs-Url: https://github.com/koplyarov/wigwag/sessions/14af2aaf-b4c7-4fbd-9fb9-214d454f7476 Co-authored-by: koplyarov <2735681+koplyarov@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
koplyarov
April 23, 2026 00:57
View session
koplyarov
marked this pull request as ready for review
April 23, 2026 00:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The test suite was built on CxxTest, which requires a code-generation step and a separate tool installation. This migrates to Google Test — a more widely adopted framework with no codegen requirement.
Key changes
src/test/api_v1_test.cpp(new): 27 tests ported fromCxxTest::TestSuitestatic methods toTEST(WigwagApiV1Test, ...)macros. CxxTest assertion macros replaced with GTest equivalents:TS_ASSERT_EQUALS(a, b)EXPECT_EQ(a, b)TS_ASSERT(x)EXPECT_TRUE(x)TS_ASSERT_THROWS(e, T)EXPECT_THROW(e, T)TS_ASSERT_THROWS_NOTHING(e)EXPECT_NO_THROW(e)TS_ASSERT_THROWS_ANYTHING(e)EXPECT_ANY_THROW(e)TS_ASSERT_LESS_THAN_EQUALS(a, b)EXPECT_LE(a, b)TS_ASSERT_DIFFERS(a, b)EXPECT_NE(a, b)src/test/utils/thread.hpp:TS_FAIL(msg)→ADD_FAILURE() << msg; added<gtest/gtest.h>.CMakeLists.txt:find_package(CxxTest)/CXXTEST_ADD_TESTreplaced withfind_package(GTest)/add_executable+GTest::GTest GTest::Main. C++ standard bumped C++11 → C++14 (minimum required by GTest 1.14)..github/workflows/run_tests.yml:cxxtestapt package replaced withlibgtest-dev.src/test/api_v1_test.hpp: Cleared; tests now live in the.cppfile.