diff options
author | Peng Wu <alexepico@gmail.com> | 2011-08-30 14:03:43 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-08-30 14:03:43 +0800 |
commit | 293003483072888aa954f06d3097f5b46f55e1e5 (patch) | |
tree | 77986b597390a021e7dd5cea5fd531616a981e19 /tests | |
parent | 3b548d20eaec21cbf9b8e955cca2679ed840e80e (diff) | |
download | libpinyin-293003483072888aa954f06d3097f5b46f55e1e5.tar.gz libpinyin-293003483072888aa954f06d3097f5b46f55e1e5.tar.xz libpinyin-293003483072888aa954f06d3097f5b46f55e1e5.zip |
switch to pinyin internal header
Diffstat (limited to 'tests')
-rw-r--r-- | tests/include/test_memory_chunk.cpp | 2 | ||||
-rw-r--r-- | tests/lookup/test_phrase_lookup.cpp | 2 | ||||
-rw-r--r-- | tests/lookup/test_simple_lookup.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_flexible_ngram.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_ngram.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_phrase_index.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_phrase_index_logger.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_phrase_table.cpp | 2 | ||||
-rw-r--r-- | tests/storage/test_pinyin_index.cpp | 2 | ||||
-rw-r--r-- | tests/test_phrase.cpp | 1 | ||||
-rw-r--r-- | tests/test_pinyin.cpp | 1 |
11 files changed, 11 insertions, 9 deletions
diff --git a/tests/include/test_memory_chunk.cpp b/tests/include/test_memory_chunk.cpp index be83247..4920424 100644 --- a/tests/include/test_memory_chunk.cpp +++ b/tests/include/test_memory_chunk.cpp @@ -1,5 +1,5 @@ #include <stdio.h> -#include "pinyin.h" +#include "pinyin_internal.h" //Test Memory Chunk Functionality int main(int argc, char * argv[]){ diff --git a/tests/lookup/test_phrase_lookup.cpp b/tests/lookup/test_phrase_lookup.cpp index dd8bf80..24e6982 100644 --- a/tests/lookup/test_phrase_lookup.cpp +++ b/tests/lookup/test_phrase_lookup.cpp @@ -22,7 +22,7 @@ #include <stdio.h> #include <locale.h> -#include "pinyin.h" +#include "pinyin_internal.h" void print_help(){ printf("Usage: test_phrase_lookup\n"); diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp index b58f248..8114a12 100644 --- a/tests/lookup/test_simple_lookup.cpp +++ b/tests/lookup/test_simple_lookup.cpp @@ -2,7 +2,7 @@ #include <stdio.h> #include <sys/time.h> #include <glib.h> -#include "pinyin.h" +#include "pinyin_internal.h" size_t bench_times = 1000; diff --git a/tests/storage/test_flexible_ngram.cpp b/tests/storage/test_flexible_ngram.cpp index 85a36ac..2f96906 100644 --- a/tests/storage/test_flexible_ngram.cpp +++ b/tests/storage/test_flexible_ngram.cpp @@ -1,4 +1,4 @@ -#include "pinyin.h" +#include "pinyin_internal.h" int main(int argc, char * argv[]) { FlexibleSingleGram<guint32, guint32> single_gram; diff --git a/tests/storage/test_ngram.cpp b/tests/storage/test_ngram.cpp index 9577167..b3c6b67 100644 --- a/tests/storage/test_ngram.cpp +++ b/tests/storage/test_ngram.cpp @@ -1,5 +1,5 @@ #include <stdio.h> -#include "pinyin.h" +#include "pinyin_internal.h" int main(int argc, char * argv[]){ diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp index f4b4a7e..8f22a7d 100644 --- a/tests/storage/test_phrase_index.cpp +++ b/tests/storage/test_phrase_index.cpp @@ -2,7 +2,7 @@ #include <sys/time.h> #include <errno.h> #include <glib.h> -#include "pinyin.h" +#include "pinyin_internal.h" size_t bench_times = 100000; diff --git a/tests/storage/test_phrase_index_logger.cpp b/tests/storage/test_phrase_index_logger.cpp index ec5cc79..e0434c0 100644 --- a/tests/storage/test_phrase_index_logger.cpp +++ b/tests/storage/test_phrase_index_logger.cpp @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "pinyin.h" +#include "pinyin_internal.h" /* TODO: check whether gb_char.bin and gb_char2.bin should be the same. */ diff --git a/tests/storage/test_phrase_table.cpp b/tests/storage/test_phrase_table.cpp index c81b472..1bab4cf 100644 --- a/tests/storage/test_phrase_table.cpp +++ b/tests/storage/test_phrase_table.cpp @@ -1,7 +1,7 @@ #include <string.h> #include <stdio.h> #include <sys/time.h> -#include "pinyin.h" +#include "pinyin_internal.h" size_t bench_times = 1000; diff --git a/tests/storage/test_pinyin_index.cpp b/tests/storage/test_pinyin_index.cpp index 9f5669b..2a945f4 100644 --- a/tests/storage/test_pinyin_index.cpp +++ b/tests/storage/test_pinyin_index.cpp @@ -1,7 +1,7 @@ #include <string.h> #include <stdio.h> #include <sys/time.h> -#include "pinyin.h" +#include "pinyin_internal.h" size_t bench_times = 1000; diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp index dfd5595..73aa2de 100644 --- a/tests/test_phrase.cpp +++ b/tests/test_phrase.cpp @@ -20,6 +20,7 @@ */ +#include <stdlib.h> #include "pinyin.h" int main(int argc, char * argv[]){ diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index d335f77..fe37ba5 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -20,6 +20,7 @@ */ +#include <stdlib.h> #include "pinyin.h" int main(int argc, char * argv[]){ |