@@ -1495,13 +1495,7 @@ class EnsembleFlowCustomNodeLoadConfigThenExecuteTest : public EnsembleFlowCusto
1495
1495
}
1496
1496
1497
1497
void loadConfiguration (const char * configContent, Status expectedStatus = StatusCode::OK) {
1498
- std::string ovmsConfig = std::string (configContent);
1499
-
1500
- std::string newDir = getGenericFullPathForBazelOut (" /ovms/bazel-bin/src" );
1501
- std::regex regexPattern (R"( /ovms/bazel-bin/src)" );
1502
- ovmsConfig = std::regex_replace (ovmsConfig, regexPattern, newDir);
1503
-
1504
- createConfigFileWithContent (ovmsConfig, configJsonFilePath);
1498
+ createConfigFileWithContent (adjustConfigForTargetPlatformCStr (configContent), configJsonFilePath);
1505
1499
ASSERT_EQ (manager.loadConfig (configJsonFilePath), expectedStatus);
1506
1500
}
1507
1501
@@ -1819,9 +1813,6 @@ static const char* pipelineCustomNodeDifferentOperationsConfig = R"(
1819
1813
class EnsembleFlowCustomNodeAndDemultiplexerLoadConfigThenExecuteTest : public EnsembleFlowCustomNodeLoadConfigThenExecuteTest {
1820
1814
protected:
1821
1815
void SetUp () override {
1822
- #ifdef _WIN32
1823
- GTEST_SKIP () << " Test disabled on windows" ;
1824
- #endif
1825
1816
EnsembleFlowCustomNodeLoadConfigThenExecuteTest::SetUp ();
1826
1817
configJsonFilePath = directoryPath + " /ovms_config_file.json" ;
1827
1818
}
@@ -2457,13 +2448,13 @@ struct LibraryParamControlledMetadata {
2457
2448
const char * end = str;
2458
2449
for (; *end != ' \0 ' ; ++end) {
2459
2450
if ((end - str) > MAX) {
2460
- EXPECT_TRUE (false );
2451
+ EXPECT_TRUE (false ) << *end ;
2461
2452
}
2462
2453
}
2463
2454
const char * end2 = prefix;
2464
2455
for (; *end2 != ' \0 ' ; ++end2) {
2465
- if ((end2 - str ) > MAX) {
2466
- EXPECT_TRUE (false );
2456
+ if ((end2 - prefix ) > MAX) {
2457
+ EXPECT_TRUE (false ) << *end2 ;
2467
2458
}
2468
2459
}
2469
2460
size_t strLen = std::strlen (str);
@@ -2552,9 +2543,6 @@ struct LibraryParamControlledMetadata {
2552
2543
class EnsembleConfigurationValidationWithCustomNode : public ::testing::Test {
2553
2544
protected:
2554
2545
void SetUp () override {
2555
- #ifdef _WIN32
2556
- GTEST_SKIP () << " Test disabled on windows" ;
2557
- #endif
2558
2546
mockedLibrary = createLibraryMock<LibraryParamControlledMetadata>();
2559
2547
ASSERT_TRUE (mockedLibrary.isValid ());
2560
2548
}
@@ -4408,9 +4396,6 @@ TEST_F(EnsembleConfigurationValidationWithDemultiplexer, DemultiplexerWithoutGat
4408
4396
class EnsembleFlowCustomNodeAndDynamicDemultiplexerLoadConfigThenExecuteTest : public EnsembleFlowCustomNodeLoadConfigThenExecuteTest {
4409
4397
protected:
4410
4398
void SetUp () override {
4411
- #ifdef _WIN32
4412
- GTEST_SKIP () << " Test disabled on windows" ;
4413
- #endif
4414
4399
EnsembleFlowCustomNodeLoadConfigThenExecuteTest::SetUp ();
4415
4400
configJsonFilePath = directoryPath + " /ovms_config_file.json" ;
4416
4401
}
0 commit comments