logsui/logsengine/tsrc/ut_logsengine/inc/ut_logsduplicatelookup.h
changeset 15 76d2cf7a585e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logsui/logsengine/tsrc/ut_logsengine/inc/ut_logsduplicatelookup.h	Mon Aug 23 18:14:51 2010 +0300
@@ -0,0 +1,53 @@
+/*
+* 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:
+*
+*/
+#ifndef UT_LOGSDUPLICATELOOKUP_H  
+#define UT_LOGSDUPLICATELOOKUP_H  
+
+#include <QObject>
+
+class LogsDuplicateLookup;
+
+
+class UT_LogsDuplicateLookup  : public QObject
+{
+Q_OBJECT
+
+private slots:
+	void initTestCase();
+	void cleanupTestCase();
+    void init();
+    void cleanup();
+	  
+private slots: //test methods    
+
+	void testConstructor();
+	void testInvalidate();
+	void testCleanup();
+	void testAddLookupEntry();
+	void testFindDuplicate();
+	
+private:
+	
+	void createTestData();
+	
+private:
+	
+    LogsDuplicateLookup* mLookup;
+  
+};
+
+#endif //UT_LOGSDUPLICATELOOKUP_H