summaryrefslogtreecommitdiffstats
path: root/tests/include
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-10-14 14:53:48 +0800
committerPeng Wu <alexepico@gmail.com>2010-10-14 14:53:48 +0800
commitd9268d28d322918e8294dbf81fc41f8e2e12712c (patch)
treeee2d910e85b91cada5fee3a82b73f6e88cd5fb52 /tests/include
parentd51091e95735909b48f025be18238cd2f7b3931f (diff)
downloadlibpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.tar.gz
libpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.tar.xz
libpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.zip
switch to pinyin.h for tests
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/Makefile.am6
-rwxr-xr-xtests/include/test_memory_chunk.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/include/Makefile.am b/tests/include/Makefile.am
index 3ab278a..958e1d8 100644
--- a/tests/include/Makefile.am
+++ b/tests/include/Makefile.am
@@ -15,7 +15,11 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-INCLUDES = -I$(top_srcdir)/src/include
+INCLUDES = -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/include \
+ -I$(top_srcdir)/src/storage \
+ -I$(top_srcdir)/src/lookup \
+ @GLIB2_CPPFLAGS@
noinst_PROGRAMS = test_memory_chunk
diff --git a/tests/include/test_memory_chunk.cpp b/tests/include/test_memory_chunk.cpp
index 1edaecc..3724ecd 100755
--- a/tests/include/test_memory_chunk.cpp
+++ b/tests/include/test_memory_chunk.cpp
@@ -1,5 +1,5 @@
#include <stdio.h>
-#include "memory_chunk.h"
+#include "pinyin.h"
//Test Memory Chunk Functionality
int main(int argc, char * argv[]){