diff options
author | 2014-11-13 02:04:10 +0000 | |
---|---|---|
committer | 2014-11-13 02:04:10 +0000 | |
commit | cf052687fa2341e4adb5e177eaf1f5c7c9f313a4 (patch) | |
tree | dbfae759331105bddc4517967cbef4e2bf440a84 /native/dicttoolkit/tests | |
parent | 9d21e0e30cc6c60348a5d9f0ed1ccb04e6cf1146 (diff) | |
parent | 52582a22d182dc1d157e326555fe124cef53033d (diff) | |
download | latinime-cf052687fa2341e4adb5e177eaf1f5c7c9f313a4.tar.gz latinime-cf052687fa2341e4adb5e177eaf1f5c7c9f313a4.tar.xz latinime-cf052687fa2341e4adb5e177eaf1f5c7c9f313a4.zip |
am 52582a22: Merge "Add OffdeviceIntermediateDictHeader."
* commit '52582a22d182dc1d157e326555fe124cef53033d':
Add OffdeviceIntermediateDictHeader.
Diffstat (limited to 'native/dicttoolkit/tests')
-rw-r--r-- | native/dicttoolkit/tests/offdevice_intermediate_dict/offdevice_intermediate_dict_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/dicttoolkit/tests/offdevice_intermediate_dict/offdevice_intermediate_dict_test.cpp b/native/dicttoolkit/tests/offdevice_intermediate_dict/offdevice_intermediate_dict_test.cpp index 3bcb89e46..f2e24ab5f 100644 --- a/native/dicttoolkit/tests/offdevice_intermediate_dict/offdevice_intermediate_dict_test.cpp +++ b/native/dicttoolkit/tests/offdevice_intermediate_dict/offdevice_intermediate_dict_test.cpp @@ -41,7 +41,8 @@ const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { } TEST(OffdeviceIntermediateDictTest, TestAddWordProperties) { - OffdeviceIntermediateDict dict; + OffdeviceIntermediateDict dict = OffdeviceIntermediateDict( + OffdeviceIntermediateDictHeader(OffdeviceIntermediateDictHeader::AttributeMap())); EXPECT_EQ(nullptr, dict.getWordProperty(CodePointArrayView())); const WordProperty wordProperty0 = getDummpWordProperty(getCodePointVector("abcd")); |