diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2018-02-08 00:00:45 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2018-02-08 14:16:34 +0530 |
commit | ad1da235d3c7ac893fc7c0d0369b4b7b3ed29db6 (patch) | |
tree | 054331066a25c671cafca5c81be899ff856c63ff /test/WhiteBoxTests.cpp | |
parent | 1fabfd9fe34815cab54c1417cfc7e541adb6a341 (diff) |
IME support
Dialogs still need to be adapted to this. Only works for documents as of
now.
Change-Id: I0fb1114e279a9e563943f3f65dd5a577523e9841
Diffstat (limited to 'test/WhiteBoxTests.cpp')
-rw-r--r-- | test/WhiteBoxTests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/WhiteBoxTests.cpp b/test/WhiteBoxTests.cpp index 6099839cc..cd4b5ca4b 100644 --- a/test/WhiteBoxTests.cpp +++ b/test/WhiteBoxTests.cpp @@ -58,6 +58,9 @@ void WhiteBoxTests::testLOOLProtocolFunctions() CPPUNIT_ASSERT(LOOLProtocol::getTokenString("bar=hello-sailor", "bar", bar)); CPPUNIT_ASSERT_EQUAL(std::string("hello-sailor"), bar); + CPPUNIT_ASSERT(LOOLProtocol::getTokenString("bar=", "bar", bar)); + CPPUNIT_ASSERT_EQUAL(std::string(""), bar); + int mumble; std::map<std::string, int> map { { "hello", 1 }, { "goodbye", 2 }, { "adieu", 3 } }; |