From bf8e579d5da42dc554a6889402a62c19ce02f2bc Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Tue, 4 Dec 2012 08:57:38 +0100 Subject: Updated comments. --- tests/client/cachetest.cpp | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'tests') diff --git a/tests/client/cachetest.cpp b/tests/client/cachetest.cpp index 381761f..9719023 100644 --- a/tests/client/cachetest.cpp +++ b/tests/client/cachetest.cpp @@ -81,9 +81,7 @@ private Q_SLOTS: g_type_init(); } - // - // Test if the link property always returns the same element - // + // Test if the link attribute always returns the same cached menu void testStaticMenuCache() { TestModel menu; @@ -107,10 +105,7 @@ private Q_SLOTS: QVERIFY(data.value() == data2.value()); } - - // - // Test if cache works after add a new item - // + // Test if the cache is correctly updated after inserting a new item void testAddItem() { TestModel menu; @@ -129,10 +124,7 @@ private Q_SLOTS: QVERIFY(data.value() == data2.value()); } - - // - // Test if cache works after remove a item - // + // Test if the cache is correctly updated after removing an item that wasn’t cached void testRemoveItem() { TestModel menu; @@ -151,9 +143,7 @@ private Q_SLOTS: QVERIFY(data.value() == data2.value()); } - // - // Test if cached item is removed after removed from the menu - // + // Test if the cache is correctly updated after removing a cached item void testRemoveCachedItem() { TestModel menu; -- cgit v1.2.3