diff -r 000000000000 -r 671dee74050a searchengine/cpix/tsrc/cpixunittest/src/clq/uxqry.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/searchengine/cpix/tsrc/cpixunittest/src/clq/uxqry.cpp Mon Apr 19 14:40:16 2010 +0300 @@ -0,0 +1,70 @@ +/* +* 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: +* +*/ + +#include +#include + +#include +#include + +#include "cpixfstools.h" + +#include "itk.h" + +#include "cpixidxdb.h" + +#include "config.h" +#include "suggestion.h" +#include "testutils.h" +#include "testcorpus.h" +#include "setupsentry.h" + + +/***************************************************************** + * + * These tests are for the kinds of searches that a client (UX) is + * likely to submit. + */ + + +Itk::TesterBase * CreateUxQryTests() +{ + using namespace Itk; + + /* TODO + UxQryContext + * context = new UxQryContext; + + ContextTester + * contextTester = new ContextTester("ux", + context); + +#define TEST "foobar" + contextTester->add(TEST, + context, + &UxQryContext::testFooBar, + TEST); +#undef TEST + + // TODO ADD MORE TESTS ... + + return context; + */ + + return NULL; +} +