Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/Notification.cpp

Issue 4904655779790848: Issue 1107.update1 - read Notification properties (title, message and type) on the fly (Closed)
Patch Set: Created Jan. 27, 2015, 10:15 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/FilterEngine.cpp ('K') | « src/Notification.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Notification.cpp
diff --git a/test/Notification.cpp b/test/Notification.cpp
index 59d6e3cdf10d87f4ec33d65154c885b6cd60f19e..48af59f3191f12e3643578d3f4de69aafd56a9ea 100644
--- a/test/Notification.cpp
+++ b/test/Notification.cpp
@@ -130,8 +130,8 @@ TEST_F(NotificationTest, AddNotification)
NotificationPtr notification = filterEngine->GetNextNotificationToShow();
ASSERT_TRUE(notification);
EXPECT_EQ(NotificationType::NOTIFICATION_TYPE_CRITICAL, notification->GetType());
- EXPECT_EQ("testTitle", notification->GetTitle());
- EXPECT_EQ("testMessage", notification->GetMessageString());
+ EXPECT_EQ("testTitle", notification->GetTexts().title);
+ EXPECT_EQ("testMessage", notification->GetTexts().message);
}
TEST_F(NotificationTest, FilterByUrl)
« src/FilterEngine.cpp ('K') | « src/Notification.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld