LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
flattofoldersproxymodeltest.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <QObject>
12
13namespace LC::Util
14{
15 class FlatToFoldersProxyModelTest : public QObject
16 {
17 Q_OBJECT
18 private slots:
19 void initTestCase ();
20 void initTestCase_data ();
21
22 void testInitialTree ();
23 void testInsertCreatesFoldersOnDemand ();
24 void testRetagKeepsTheSurvivingLeaf ();
25 void testRemovingTheLastLeafRemovesTheFolder ();
26 void testRemovalFollowsOwnBookkeeping ();
27 void testSourceSortLeavesTheTreeAlone ();
28 void testSourceResetIsOneReset ();
29 void testAttachAndDetach ();
30 void testDragAndDropMapThroughFolders ();
31 void testReleasesUpstreamIndexes ();
32 void testRandomWalk ();
33 };
34}