organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/src/unittest_noteseditorplugin.cpp
--- a/organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/src/unittest_noteseditorplugin.cpp Mon Jul 12 02:32:28 2010 +0530
+++ b/organizer_plat/notes_editor_api/tsrc/unittest_noteseditorplugin/src/unittest_noteseditorplugin.cpp Mon Jul 26 13:54:38 2010 +0530
@@ -233,7 +233,7 @@
entry.setDescription(
QString("Test Editing of Note by providing entry local Id"));
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
interface->edit(id);
@@ -301,7 +301,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
AgendaEntry storedEntry = agendaUtil->fetchById(id);
@@ -365,7 +365,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
AgendaEntry storedEntry = agendaUtil->fetchById(id);
// Call edit on agenda entry
@@ -589,7 +589,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
AgendaEntry storedEntry = agendaUtil->fetchById(id);
// Call edit on agenda entry
@@ -651,7 +651,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
AgendaEntry storedEntry = agendaUtil->fetchById(id);
// Call edit on agenda entry
@@ -756,7 +756,7 @@
entry.setDescription(
QString("Test Editing of Note by providing entry local Id"));
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
// Edits to-do entry by providing entry id and agendautil.
interface->edit(id, agendaUtil);