diff options
author | 2014-10-31 14:19:44 +0000 | |
---|---|---|
committer | 2014-10-31 14:19:44 +0000 | |
commit | b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17 (patch) | |
tree | 83d386ee7a2edfd541e0c88f8f044c4bcd3c9334 /native/jni/tests | |
parent | ef931546a0236ac2e24ec78f2830e3c36d56775d (diff) | |
parent | ea468cc9de468b6574f98b3a7614decfcb7e456e (diff) | |
download | latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.gz latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.xz latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.zip |
Merge "Update v4 format version from 402 to 403."
Diffstat (limited to 'native/jni/tests')
-rw-r--r-- | native/jni/tests/suggest/policyimpl/dictionary/utils/format_utils_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/native/jni/tests/suggest/policyimpl/dictionary/utils/format_utils_test.cpp b/native/jni/tests/suggest/policyimpl/dictionary/utils/format_utils_test.cpp index 15f560cd1..494200568 100644 --- a/native/jni/tests/suggest/policyimpl/dictionary/utils/format_utils_test.cpp +++ b/native/jni/tests/suggest/policyimpl/dictionary/utils/format_utils_test.cpp @@ -62,14 +62,14 @@ TEST(FormatUtilsTest, TestDetectFormatVersion) { } { const std::vector<uint8_t> buffer = - getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_4, 0, 0); - EXPECT_EQ(FormatUtils::VERSION_4, FormatUtils::detectFormatVersion( + getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0); + EXPECT_EQ(FormatUtils::VERSION_402, FormatUtils::detectFormatVersion( ReadOnlyByteArrayView(buffer.data(), buffer.size()))); } { const std::vector<uint8_t> buffer = - getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_4_DEV, 0, 0); - EXPECT_EQ(FormatUtils::VERSION_4_DEV, FormatUtils::detectFormatVersion( + getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_403, 0, 0); + EXPECT_EQ(FormatUtils::VERSION_403, FormatUtils::detectFormatVersion( ReadOnlyByteArrayView(buffer.data(), buffer.size()))); } |