aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/tests
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-10-31 14:19:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-31 14:19:44 +0000
commitb3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17 (patch)
tree83d386ee7a2edfd541e0c88f8f044c4bcd3c9334 /native/jni/tests
parentef931546a0236ac2e24ec78f2830e3c36d56775d (diff)
parentea468cc9de468b6574f98b3a7614decfcb7e456e (diff)
downloadlatinime-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.cpp8
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())));
}