summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-01-22 09:11:05 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-01-22 09:11:05 (GMT)
commit90d05f4fc34d5ee81593ffacd6333a3ee3787072 (patch)
treea47a6cab8c8d1f7bfa6f4b11247de3e1ca2007ab /Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp
parent63ced97ecbd91cb73f91cd8571bdf49ef9f36988 (diff)
downloadswift-90d05f4fc34d5ee81593ffacd6333a3ee3787072.zip
swift-90d05f4fc34d5ee81593ffacd6333a3ee3787072.tar.bz2
Preparing to add ChatMessage highlight rules.
Change-Id: I71419e255b821dfaec9a8f23316f927193e975c5
Diffstat (limited to 'Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp')
-rw-r--r--Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp b/Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp
index 44d7834..414fc8e 100644
--- a/Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp
+++ b/Swift/Controllers/Chat/UnitTest/ChatMessageParserTest.cpp
@@ -48,7 +48,7 @@ public:
}
void testFullBody() {
- ChatMessageParser testling(emoticons_);
+ ChatMessageParser testling(emoticons_, std::vector<HighlightRule>());
ChatWindow::ChatMessage result = testling.parseMessageBody(":) shiny :( :) http://wonderland.lit/blah http://denmark.lit boom boom");
assertEmoticon(result, 0, smile1_, smile1Path_);
assertText(result, 1, " shiny ");