diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-04-12 12:05:53 -0500 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-06 01:10:39 +0200 |
commit | 88bef033cf6b337ebbb085d5dc9aa46040f4b0b3 (patch) | |
tree | e4a7577b14da17e1088502ed895296645b8ef070 /tests | |
parent | 6c96dc57eff3f64155c913e1b011da5f5a6887fb (diff) | |
download | ayatana-indicator-datetime-88bef033cf6b337ebbb085d5dc9aa46040f4b0b3.tar.gz ayatana-indicator-datetime-88bef033cf6b337ebbb085d5dc9aa46040f4b0b3.tar.bz2 ayatana-indicator-datetime-88bef033cf6b337ebbb085d5dc9aa46040f4b0b3.zip |
sync tests to new ctor arguments for TimedatedTimezone and LiveTimezones
Diffstat (limited to 'tests')
-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) |