summaryrefslogtreecommitdiffstats
path: root/tests/mailthreadtest.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-06-19 11:00:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-06-19 12:27:01 +0200
commit49b83e87e4da54cdd18ec04b10fdb4624389bd80 (patch)
treed87a11bcb14e6ef3811df53c06aeb1726616a26c /tests/mailthreadtest.h
parentb940489ed6afe413339a1c602d05f3b4f3133463 (diff)
downloadsink-49b83e87e4da54cdd18ec04b10fdb4624389bd80.tar.gz
sink-49b83e87e4da54cdd18ec04b10fdb4624389bd80.zip
Fixed the thread index.
* Modifications could result in index changes because we lost the threadId due to remove + add. A modify was necessary (although we can ignore it for the email case). * The ThreadIndexer would try to lookup and potentially index threads for empty parent ids, which is clearly wrong.
Diffstat (limited to 'tests/mailthreadtest.h')
-rw-r--r--tests/mailthreadtest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mailthreadtest.h b/tests/mailthreadtest.h
index 6b64d4e..9ae1b4c 100644
--- a/tests/mailthreadtest.h
+++ b/tests/mailthreadtest.h
@@ -54,6 +54,7 @@ private slots:
54 void testListThreadLeader(); 54 void testListThreadLeader();
55 void testIndexInMixedOrder(); 55 void testIndexInMixedOrder();
56 void testRealWorldThread(); 56 void testRealWorldThread();
57 void testNoParentsWithModifications();
57}; 58};
58 59
59} 60}