diff options
author | Peng Wu <alexepico@gmail.com> | 2013-08-07 14:48:24 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-08-07 14:49:45 +0800 |
commit | b6a692a3180760ea505e3fbbfc70612f65eacf9e (patch) | |
tree | af58e27e1db62b2df0a717b165b65b4a9e2bfac5 /tests | |
parent | 5d584d0d85232e50cac21bdf26d2081ccf461b9a (diff) | |
download | libzhuyin-b6a692a3180760ea505e3fbbfc70612f65eacf9e.tar.gz libzhuyin-b6a692a3180760ea505e3fbbfc70612f65eacf9e.tar.xz libzhuyin-b6a692a3180760ea505e3fbbfc70612f65eacf9e.zip |
remove DoublePinyinScheme and update test cases
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_parser2.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 638cd96..0fde80d 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -34,7 +34,7 @@ static gboolean incomplete = FALSE; static GOptionEntry entries[] = { - {"parser", 'p', 0, G_OPTION_ARG_STRING, &parsername, "parser", "fullpinyin doublepinyin chewing"}, + {"parser", 'p', 0, G_OPTION_ARG_STRING, &parsername, "parser", "fullpinyin chewing"}, {"incomplete", 'i', 0, G_OPTION_ARG_NONE, &incomplete, "incomplete pinyin", NULL}, {NULL} }; @@ -74,8 +74,6 @@ int main(int argc, char * argv[]) { /* create the parser */ if (strcmp("fullpinyin", parsername) == 0) { parser = new FullPinyinParser2(); - } else if (strcmp("doublepinyin", parsername) == 0) { - parser = new DoublePinyinParser2(); } else if (strcmp("chewing", parsername) == 0) { parser = new ChewingParser2(); } |