diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-04-12 12:05:53 -0500 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:37:39 +0200 |
commit | 7967430f1b1e11677baab5ebb941d738a54f198f (patch) | |
tree | 20811b561b91e678b2bff2e5b4e080ce80a447ed /tests/test-timezone-timedated.cpp | |
parent | d50e6b5cd520143b833ac5f0b55173980d130c14 (diff) | |
download | ayatana-indicator-datetime-7967430f1b1e11677baab5ebb941d738a54f198f.tar.gz ayatana-indicator-datetime-7967430f1b1e11677baab5ebb941d738a54f198f.tar.bz2 ayatana-indicator-datetime-7967430f1b1e11677baab5ebb941d738a54f198f.zip |
sync tests to new ctor arguments for TimedatedTimezone and LiveTimezones
Diffstat (limited to 'tests/test-timezone-timedated.cpp')
-rw-r--r-- | tests/test-timezone-timedated.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-timezone-timedated.cpp b/tests/test-timezone-timedated.cpp index 8c56459..c686c39 100644 --- a/tests/test-timezone-timedated.cpp +++ b/tests/test-timezone-timedated.cpp @@ -41,7 +41,7 @@ TEST_F(TestTimedatedFixture, DefaultTimezone) { const std::string expected_tzid{"Etc/Utc"}; - TimedatedTimezone tmp; + TimedatedTimezone tmp {m_bus}; EXPECT_TZID(expected_tzid, tmp); } @@ -53,7 +53,7 @@ TEST_F(TestTimedatedFixture, Timedate1First) const std::string expected_tzid{"America/Chicago"}; start_timedate1(expected_tzid); - TimedatedTimezone tmp; + TimedatedTimezone tmp {m_bus}; EXPECT_TZID(expected_tzid, tmp); } @@ -64,7 +64,7 @@ TEST_F(TestTimedatedFixture, Timedate1Last) { const std::string expected_tzid("America/Los_Angeles"); - TimedatedTimezone tmp; + TimedatedTimezone tmp {m_bus}; start_timedate1(expected_tzid); EXPECT_TZID(expected_tzid, tmp); } @@ -76,7 +76,7 @@ TEST_F(TestTimedatedFixture, TimezoneChange) { const std::vector<std::string> expected_tzids{"America/Los_Angeles", "America/Chicago", "Etc/Utc"}; - TimedatedTimezone tmp; + TimedatedTimezone tmp {m_bus}; start_timedate1("America/New_York"); for(const auto& expected_tzid : expected_tzids) |