organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/inc/unittest_noteseditorplugin.h
changeset 45 b6db4fd4947b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/inc/unittest_noteseditorplugin.h	Mon Jun 28 15:22:02 2010 +0530
@@ -0,0 +1,58 @@
+/*
+* 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: Declaration of the class TestNotesEditorPlugin.
+*
+*/
+
+#ifndef UNITTEST_NOTESEDITORPLUGIN_H
+#define UNITTEST_NOTESEDITORPLUGIN_H
+
+// System includes
+#include <QObject>
+
+class TestNotesEditorPlugin : public QObject
+{
+	Q_OBJECT
+
+public:
+	TestNotesEditorPlugin();
+	virtual ~TestNotesEditorPlugin();
+
+private slots:
+	// Test case setup.
+	void init();
+	void cleanup();
+
+	// Test cases go here.
+	void testPluginLoadUnLoad();
+	void testEditingNoteWithText();
+	void testEditingNoteWithFileHandle();
+	void testEditingNoteWithAgendaEntry();
+	void testEditingNoteWithId();
+	void testEditingTodoWithFileHandle();
+	void testEditingTodoWithAgendaEntry();
+	void testEditingTodoWithId();
+	void testCreationOfNote();
+	void testCreationofTodo();
+	void testClosingOfNotesEditorWithSave();
+	void testClosingOfNotesEditorWithoutSave();
+	void testClosingOfTodoEditorWithSave();
+	void testClosingOfTodoEditorWithoutSave();
+	void testAgendaUtilEditingNoteWithText();
+	void testAgendaUtilEditingTodoWithId();
+};
+
+#endif // UNITTEST_NOTESEDITORPLUGIN_H
+
+// End of file	--Don't remove this.