chore: use lizardbyte-common in c++ (#5356)

Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
This commit is contained in:
Dave Lane
2026-06-30 19:12:10 -04:00
committed by GitHub
parent bba6c6cac0
commit 09dc9e4c35
34 changed files with 103 additions and 226 deletions

View File

@@ -20,9 +20,10 @@
// local includes
#include "src/file_handler.h"
class ConfigConsistencyTest: public ::testing::Test {
class ConfigConsistencyTest: public BaseTest {
protected:
void SetUp() override {
BaseTest::SetUp();
// Define the expected mapping between documentation sections and UI tabs
expectedDocToTabMapping = {
{"General", "general"},

View File

@@ -37,9 +37,10 @@ struct ExternalCommandTestData {
xfail_reason(std::move(xfail_rsn)) {}
};
class ExternalCommandTest: public ::testing::TestWithParam<ExternalCommandTestData> {
class ExternalCommandTest: public BaseTest, public ::testing::WithParamInterface<ExternalCommandTestData> {
protected:
void SetUp() override {
BaseTest::SetUp();
if constexpr (IS_WINDOWS) {
current_platform = "windows";
} else if constexpr (IS_MACOS) {

View File

@@ -23,7 +23,7 @@
namespace fs = std::filesystem;
class LocaleConsistencyTest: public ::testing::Test {
class LocaleConsistencyTest: public BaseTest {
protected:
// Extract locale options from config.cpp
static std::set<std::string, std::less<>> extractConfigCppLocales() {