searchengine/cpix/tsrc/cpixunittest/inc/config.h
changeset 0 671dee74050a
child 8 6547bf8ca13a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/searchengine/cpix/tsrc/cpixunittest/inc/config.h	Mon Apr 19 14:40:16 2010 +0300
@@ -0,0 +1,54 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*
+*/
+
+#ifndef CONFIG_H_
+#define CONFIG_H_
+
+#include <indevicecfg.h>
+
+//
+// Corpus locations
+//
+
+#ifdef __WINS__ 
+#define CORPUS_PATH 				"c:\\data\\cpixunittestcorpus"
+#else // __ARMv5__, assume memory card
+#define CORPUS_PATH 				"e:\\data\\cpixunittestcorpus"
+#endif
+
+#define SMS_TEST_CORPUS_PATH 		CORPUS_PATH "\\sms\\SMS_corpus.txt"
+#define STEM_TEST_CORPUS_PATH  		CORPUS_PATH "\\stem"
+#define JPG_TEST_CORPUS_PATH  		CORPUS_PATH "\\jpgs"
+#define MAPS_TEST_CORPUS_PATH  		CORPUS_PATH "\\maps"
+#define MEDIA_TEST_CORPUS_PATH  	CORPUS_PATH "\\media"
+
+// TODO: Obsolete these
+#define FILE_TEST_CORPUS_PATH  		STEM_TEST_CORPUS_PATH
+#define DEFAULT_TEST_CORPUS_PATH 	SMS_TEST_CORPUS_PATH
+
+//
+// Indexing constants
+//
+
+#define CPIX_FILE_IDXDB      "\\root\\file"
+
+/**
+ * Zero terminated array of file names
+ */
+extern const char* Mp3TestCorpus[];
+
+#endif /*CONFIG_H_*/