aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-04-14 16:11:27 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2025-04-14 16:11:27 +0200
commita1a48bb240e9adbf69cb971a21a9c52fb4ee8719 (patch)
treea95a4609635039ce5e638a09534358fb7b900150
parent5e20107328f7adfedf314d3826997d2f47b7a7fe (diff)
downloadlanes-a1a48bb240e9adbf69cb971a21a9c52fb4ee8719.tar.gz
lanes-a1a48bb240e9adbf69cb971a21a9c52fb4ee8719.tar.bz2
lanes-a1a48bb240e9adbf69cb971a21a9c52fb4ee8719.zip
Remove whitspaces from test names
Diffstat (limited to '')
-rw-r--r--unit_tests/lane_tests.cpp4
-rw-r--r--unit_tests/legacy_tests.cpp4
-rw-r--r--unit_tests/linda_tests.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/unit_tests/lane_tests.cpp b/unit_tests/lane_tests.cpp
index d6ef2e0..0a392d8 100644
--- a/unit_tests/lane_tests.cpp
+++ b/unit_tests/lane_tests.cpp
@@ -320,7 +320,7 @@ TEST_CASE("lane.cancel")
320// so let's create a separate test case for each file with an ugly macro... 320// so let's create a separate test case for each file with an ugly macro...
321 321
322#define MAKE_TEST_CASE(DIR, FILE, CONDITION)\ 322#define MAKE_TEST_CASE(DIR, FILE, CONDITION)\
323TEST_CASE("scripted tests." #DIR "." #FILE) \ 323TEST_CASE("scripted_tests." #DIR "." #FILE) \
324{ \ 324{ \
325 FileRunner _runner(R"(.\unit_tests\scripts)"); \ 325 FileRunner _runner(R"(.\unit_tests\scripts)"); \
326 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::CONDITION }); \ 326 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::CONDITION }); \
@@ -346,7 +346,7 @@ MAKE_TEST_CASE(coro, error_handling, AssertNoLuaError)
346#endif // LUAJIT_FLAVOR() 346#endif // LUAJIT_FLAVOR()
347 347
348/* 348/*
349TEST_CASE("lanes.scripted tests") 349TEST_CASE("lanes.scripted_tests")
350{ 350{
351 auto const& _testParam = GENERATE( 351 auto const& _testParam = GENERATE(
352 FileRunnerParam{ PUC_LUA_ONLY("lane/cooperative_shutdown"), TestType::AssertNoLuaError }, // 0 352 FileRunnerParam{ PUC_LUA_ONLY("lane/cooperative_shutdown"), TestType::AssertNoLuaError }, // 0
diff --git a/unit_tests/legacy_tests.cpp b/unit_tests/legacy_tests.cpp
index 7f2f31d..84581d2 100644
--- a/unit_tests/legacy_tests.cpp
+++ b/unit_tests/legacy_tests.cpp
@@ -11,7 +11,7 @@
11// so let's create a separate test case for each file with an ugly macro... 11// so let's create a separate test case for each file with an ugly macro...
12 12
13#define MAKE_TEST_CASE(FILE) \ 13#define MAKE_TEST_CASE(FILE) \
14TEST_CASE("scripted tests.legacy." #FILE) \ 14TEST_CASE("scripted_tests.legacy." #FILE) \
15{ \ 15{ \
16 FileRunner _runner(R"(.\tests\)"); \ 16 FileRunner _runner(R"(.\tests\)"); \
17 _runner.performTest(FileRunnerParam{ #FILE, TestType::AssertNoLuaError }); \ 17 _runner.performTest(FileRunnerParam{ #FILE, TestType::AssertNoLuaError }); \
@@ -49,7 +49,7 @@ MAKE_TEST_CASE(tobeclosed)
49MAKE_TEST_CASE(track_lanes) 49MAKE_TEST_CASE(track_lanes)
50 50
51/* 51/*
52TEST_CASE("lanes.legacy scripted tests") 52TEST_CASE("lanes.legacy_scripted_tests")
53{ 53{
54 auto const& _testParam = GENERATE( 54 auto const& _testParam = GENERATE(
55 FileRunnerParam{ "appendud", TestType::AssertNoLuaError } // 0 55 FileRunnerParam{ "appendud", TestType::AssertNoLuaError } // 0
diff --git a/unit_tests/linda_tests.cpp b/unit_tests/linda_tests.cpp
index efdb8a5..2308737 100644
--- a/unit_tests/linda_tests.cpp
+++ b/unit_tests/linda_tests.cpp
@@ -327,7 +327,7 @@ TEST_CASE("linda.multi Keeper")
327// so let's create a separate test case for each file with an ugly macro... 327// so let's create a separate test case for each file with an ugly macro...
328 328
329#define MAKE_TEST_CASE(DIR, FILE) \ 329#define MAKE_TEST_CASE(DIR, FILE) \
330TEST_CASE("scripted tests." #DIR "." #FILE) \ 330TEST_CASE("scripted_tests." #DIR "." #FILE) \
331{ \ 331{ \
332 FileRunner _runner(R"(.\unit_tests\scripts)"); \ 332 FileRunner _runner(R"(.\unit_tests\scripts)"); \
333 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::AssertNoLuaError }); \ 333 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::AssertNoLuaError }); \
@@ -338,7 +338,7 @@ MAKE_TEST_CASE(linda, send_registered_userdata)
338MAKE_TEST_CASE(linda, multiple_keepers) 338MAKE_TEST_CASE(linda, multiple_keepers)
339 339
340/* 340/*
341TEST_CASE("linda.scripted tests") 341TEST_CASE("linda.scripted_tests")
342{ 342{
343 auto const& _testParam = GENERATE( 343 auto const& _testParam = GENERATE(
344 FileRunnerParam{ "linda/send_receive", TestType::AssertNoLuaError }, 344 FileRunnerParam{ "linda/send_receive", TestType::AssertNoLuaError },