aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/test-timezone-timedated.cpp (renamed from tests/test-timezone-file.cpp)8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9d26484..032b84e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -58,7 +58,7 @@ add_test_by_name(test-locations)
add_test_by_name(test-menus)
add_test_by_name(test-planner)
add_test_by_name(test-settings)
-add_test_by_name(test-timezone-file)
+add_test_by_name(test-timezone-timedated)
add_test_by_name(test-utils)
set (TEST_NAME manual-test-snap)
diff --git a/tests/test-timezone-file.cpp b/tests/test-timezone-timedated.cpp
index 0ec496d..7086e96 100644
--- a/tests/test-timezone-file.cpp
+++ b/tests/test-timezone-timedated.cpp
@@ -20,13 +20,13 @@
#include "timedated-fixture.h"
-#include <datetime/timezone-file.h>
+#include <datetime/timezone-timedated.h>
#include <cstdio> // fopen()
//#include <sys/stat.h> // chmod()
#include <unistd.h> // sync()
-using unity::indicator::datetime::FileTimezone;
+using unity::indicator::datetime::TimedatedTimezone;
/**
* Test that timezone-file picks up the initial value
@@ -35,7 +35,7 @@ TEST_F(TimedateFixture, InitialValue)
{
const std::string expected_timezone = "America/Chicago";
set_timezone(expected_timezone);
- FileTimezone tz;
+ TimedatedTimezone tz;
ASSERT_EQ(expected_timezone, tz.timezone.get());
}
@@ -50,7 +50,7 @@ TEST_F(TimedateFixture, ChangedValue)
set_timezone(initial_timezone);
- FileTimezone tz;
+ TimedatedTimezone tz;
ASSERT_EQ(initial_timezone, tz.timezone.get());
bool changed = false;