chore(rename): aee_2026 -> aee_arcade
This commit is contained in:
1 parent
ea5762265e
commit
9949096fba
20 files changed
+41
-41
No files matched your search
@@ -87,7 +87,7 @@ namespace {
|
||||
|
||||
void testLoadConfigMissing() {
|
||||
std::cout << "T2 loadConfig — fitxer absent (fallbacks)\n";
|
||||
const auto CFG = RoomFsm::loadConfig("/tmp/aee_2026_does_not_exist.yaml");
|
||||
const auto CFG = RoomFsm::loadConfig("/tmp/aee_arcade_does_not_exist.yaml");
|
||||
CHECK(CFG.intro_fade_in_ms == 500);
|
||||
CHECK(CFG.intro_text_delay_ms == 500);
|
||||
CHECK(CFG.intro_text_enter_ms == 500);
|
||||
|
||||
@@ -77,12 +77,12 @@ namespace {
|
||||
|
||||
void testResolveStartSceneMissing() {
|
||||
std::cout << "T4 resolveStartScene fitxer inexistent\n";
|
||||
CHECK(DebugConfig::resolveStartScene("/tmp/aee_2026_nonexistent_XYZ.yaml") == DebugConfig::StartScene::GAME);
|
||||
CHECK(DebugConfig::resolveStartScene("/tmp/aee_arcade_nonexistent_XYZ.yaml") == DebugConfig::StartScene::GAME);
|
||||
}
|
||||
|
||||
void testResolveStartSceneValid() {
|
||||
std::cout << "T5 resolveStartScene fitxer vàlid\n";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_2026_test_debug_valid.yaml";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_arcade_test_debug_valid.yaml";
|
||||
writeTemp(PATH.string(), "start_scene: TITLE\n");
|
||||
CHECK(DebugConfig::resolveStartScene(PATH.string()) == DebugConfig::StartScene::TITLE);
|
||||
std::filesystem::remove(PATH);
|
||||
@@ -90,7 +90,7 @@ namespace {
|
||||
|
||||
void testResolveStartSceneInvalid() {
|
||||
std::cout << "T6 resolveStartScene valor invàlid\n";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_2026_test_debug_invalid.yaml";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_arcade_test_debug_invalid.yaml";
|
||||
writeTemp(PATH.string(), "start_scene: WUT\n");
|
||||
CHECK(DebugConfig::resolveStartScene(PATH.string()) == DebugConfig::StartScene::GAME);
|
||||
std::filesystem::remove(PATH);
|
||||
@@ -98,7 +98,7 @@ namespace {
|
||||
|
||||
void testCreateDefaultIfMissing() {
|
||||
std::cout << "T7 createDefaultIfMissing\n";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_2026_test_debug_create.yaml";
|
||||
const auto PATH = std::filesystem::temp_directory_path() / "aee_arcade_test_debug_create.yaml";
|
||||
std::filesystem::remove(PATH);
|
||||
CHECK(!std::filesystem::exists(PATH));
|
||||
DebugConfig::createDefaultIfMissing(PATH.string());
|
||||
|
||||
Reference in new issue
Block a user