-rw-r--r-- | libopie/pim/test/oevent_test.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libopie/pim/test/oevent_test.cpp b/libopie/pim/test/oevent_test.cpp index 6f04995..247b83b 100644 --- a/libopie/pim/test/oevent_test.cpp +++ b/libopie/pim/test/oevent_test.cpp | |||
@@ -7,8 +7,8 @@ int main(int argc, char* argv ) { | |||
7 | OEvent ev; | 7 | OEvent ev; |
8 | ev.setUid( 20 ); | 8 | // ev.setUid( 20 ); |
9 | 9 | ||
10 | ev.setDescription( "Foo" ); | 10 | ev.setDescription( "Foo Descsfewrf" ); |
11 | 11 | ||
12 | OEvent ev2 = ev; | 12 | OEvent ev2 = ev; |
13 | ev2.setDescription("Foo2"); | 13 | ev2.setDescription("Foo3"); |
14 | qWarning("%s", ev2.description().latin1() ); | 14 | qWarning("%s", ev2.description().latin1() ); |
@@ -22,2 +22,3 @@ int main(int argc, char* argv ) { | |||
22 | qWarning("%s", ev2.startDateTimeInZone().toString().latin1() ); | 22 | qWarning("%s", ev2.startDateTimeInZone().toString().latin1() ); |
23 | qWarning("%d %d", ev.isAllDay(), ev2.isAllDay() ); | ||
23 | 24 | ||
@@ -47,2 +48,5 @@ int main(int argc, char* argv ) { | |||
47 | } | 48 | } |
49 | ev.setUid( 1 ); | ||
50 | acc.add( ev ); | ||
51 | acc.save(); | ||
48 | 52 | ||