phonebookengines/contactsmodel/tsrc/cntplsql/src/dllmain.cpp
changeset 24 0ba2181d7c28
child 46 efe85016a067
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookengines/contactsmodel/tsrc/cntplsql/src/dllmain.cpp	Fri Mar 19 09:27:18 2010 +0200
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2009 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:
+*
+*/
+
+//  EXTERNAL INCLUDES
+#include <digia/eunit/ceunittestsuite.h>
+//  INTERNAL INCLUDES
+#include "t_cpcskeymap.h"
+#include "t_cpplpredictivesearchtable.h"
+
+/**
+ * Test suite factory function.
+ */
+EXPORT_C MEUnitTest* CreateTestSuiteL()
+    {
+    CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC(_L("cntplsql unit tests"));
+
+    rootSuite->AddL( UT_CPcsKeyMap::NewLC() );
+    CleanupStack::Pop(); // UT_CPcsKeyMap instance
+ 
+    rootSuite->AddL( UT_CPplPredictiveSearchTable::NewLC() );
+    CleanupStack::Pop(); // UT_CPplPredictiveSearchTable instance
+    
+    CleanupStack::Pop( rootSuite );
+    return rootSuite;
+    }