Changeset View
Changeset View
Standalone View
Standalone View
tests/testlib/akonadistoragetestbase.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 44 | private slots: | |||
---|---|---|---|---|---|
52 | void shouldListTags(); | 52 | void shouldListTags(); | ||
53 | void shouldListItemsAssociatedWithTag(); | 53 | void shouldListItemsAssociatedWithTag(); | ||
54 | void shouldNotifyCollectionAdded(); | 54 | void shouldNotifyCollectionAdded(); | ||
55 | void shouldNotifyCollectionRemoved(); | 55 | void shouldNotifyCollectionRemoved(); | ||
56 | void shouldNotifyCollectionChanged(); | 56 | void shouldNotifyCollectionChanged(); | ||
57 | void shouldNotifyItemAdded(); | 57 | void shouldNotifyItemAdded(); | ||
58 | void shouldNotifyItemRemoved(); | 58 | void shouldNotifyItemRemoved(); | ||
59 | void shouldNotifyItemChanged(); | 59 | void shouldNotifyItemChanged(); | ||
60 | void shouldNotifyItemTagAdded(); | | |||
61 | void shouldNotifyItemTagRemoved(); | | |||
62 | void shouldNotifyTagAdded(); | | |||
63 | void shouldNotifyTagRemoved(); | | |||
64 | void shouldNotifyTagChanged(); | | |||
65 | void shouldReadDefaultCollectionFromSettings(); | 60 | void shouldReadDefaultCollectionFromSettings(); | ||
66 | 61 | | |||
67 | // This test must be run before shouldCreateItem because createItem | 62 | // This test must be run before shouldCreateItem because createItem | ||
68 | // sometimes notifies an itemChanged with a delay. So this test might | 63 | // sometimes notifies an itemChanged with a delay. So this test might | ||
69 | // receive this notification in addition to the itemChanged generated by updateItem. | 64 | // receive this notification in addition to the itemChanged generated by updateItem. | ||
70 | void shouldUpdateItem(); | 65 | void shouldUpdateItem(); | ||
71 | 66 | | |||
72 | // This test must be run before shouldCreateItem because createItem | 67 | // This test must be run before shouldCreateItem because createItem | ||
73 | // sometimes notifies an itemChanged with a delay. So this test might | 68 | // sometimes notifies an itemChanged with a delay. So this test might | ||
74 | // receive this notification in addition to the itemChanged generated by updateItem. | 69 | // receive this notification in addition to the itemChanged generated by updateItem. | ||
75 | void shouldUseTransaction(); | 70 | void shouldUseTransaction(); | ||
76 | 71 | | |||
77 | void shouldCreateItem(); | 72 | void shouldCreateItem(); | ||
78 | void shouldRetrieveItem(); | 73 | void shouldRetrieveItem(); | ||
79 | void shouldMoveItem(); | 74 | void shouldMoveItem(); | ||
80 | void shouldMoveItems(); | 75 | void shouldMoveItems(); | ||
81 | void shouldDeleteItem(); | 76 | void shouldDeleteItem(); | ||
82 | void shouldDeleteItems(); | 77 | void shouldDeleteItems(); | ||
83 | void shouldCreateTag(); | | |||
84 | void shouldRemoveTag(); | | |||
85 | void shouldUpdateTag(); | | |||
86 | void shouldUpdateCollection(); | 78 | void shouldUpdateCollection(); | ||
87 | void shouldNotifyCollectionTimestampChanges(); | 79 | void shouldNotifyCollectionTimestampChanges(); | ||
88 | void shouldNotifyCollectionSelectionChanges(); | 80 | void shouldNotifyCollectionSelectionChanges(); | ||
89 | 81 | | |||
90 | private: | 82 | private: | ||
91 | Akonadi::Item fetchItemByRID(const QString &remoteId, const Akonadi::Collection &collection); | 83 | Akonadi::Item fetchItemByRID(const QString &remoteId, const Akonadi::Collection &collection); | ||
92 | Akonadi::Collection fetchCollectionByRID(const QString &remoteId); | 84 | Akonadi::Collection fetchCollectionByRID(const QString &remoteId); | ||
93 | Akonadi::Tag fetchTagByGID(const QString &gid); | 85 | Akonadi::Tag fetchTagByGID(const QString &gid); | ||
Show All 9 Lines |