searchengine/cpix/tsrc/cpixunittest/inc/config.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 19 Apr 2010 14:40:16 +0300
changeset 0 671dee74050a
child 8 6547bf8ca13a
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* 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_*/