From 7a5a8b88cef79e3f5db45a860201d5d5d9841d52 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 21 May 2015 14:47:06 +0800 Subject: update test cases --- tests/storage/test_phrase_index.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/storage/test_phrase_index.cpp') diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp index 79a3ca4..3687ca5 100644 --- a/tests/storage/test_phrase_index.cpp +++ b/tests/storage/test_phrase_index.cpp @@ -71,7 +71,7 @@ int main(int argc, char * argv[]){ assert(poss == 0.5); } - SystemTableInfo system_table_info; + SystemTableInfo2 system_table_info; bool retval = system_table_info.load("../../data/table.conf"); if (!retval) { @@ -82,7 +82,7 @@ int main(int argc, char * argv[]){ FacadePhraseIndex phrase_index; const pinyin_table_info_t * phrase_files = - system_table_info.get_table_info(); + system_table_info.get_default_tables(); if (!load_phrase_table(phrase_files, NULL, NULL, &phrase_index)) exit(ENOENT); -- cgit