organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/inc/unittest_noteseditorplugin.h
changeset 45 b6db4fd4947b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Declaration of the class TestNotesEditorPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UNITTEST_NOTESEDITORPLUGIN_H
       
    19 #define UNITTEST_NOTESEDITORPLUGIN_H
       
    20 
       
    21 // System includes
       
    22 #include <QObject>
       
    23 
       
    24 class TestNotesEditorPlugin : public QObject
       
    25 {
       
    26 	Q_OBJECT
       
    27 
       
    28 public:
       
    29 	TestNotesEditorPlugin();
       
    30 	virtual ~TestNotesEditorPlugin();
       
    31 
       
    32 private slots:
       
    33 	// Test case setup.
       
    34 	void init();
       
    35 	void cleanup();
       
    36 
       
    37 	// Test cases go here.
       
    38 	void testPluginLoadUnLoad();
       
    39 	void testEditingNoteWithText();
       
    40 	void testEditingNoteWithFileHandle();
       
    41 	void testEditingNoteWithAgendaEntry();
       
    42 	void testEditingNoteWithId();
       
    43 	void testEditingTodoWithFileHandle();
       
    44 	void testEditingTodoWithAgendaEntry();
       
    45 	void testEditingTodoWithId();
       
    46 	void testCreationOfNote();
       
    47 	void testCreationofTodo();
       
    48 	void testClosingOfNotesEditorWithSave();
       
    49 	void testClosingOfNotesEditorWithoutSave();
       
    50 	void testClosingOfTodoEditorWithSave();
       
    51 	void testClosingOfTodoEditorWithoutSave();
       
    52 	void testAgendaUtilEditingNoteWithText();
       
    53 	void testAgendaUtilEditingTodoWithId();
       
    54 };
       
    55 
       
    56 #endif // UNITTEST_NOTESEDITORPLUGIN_H
       
    57 
       
    58 // End of file	--Don't remove this.