LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
tagseditoraddontest.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 TagsEditorAddonTest : public QObject
16 {
17 Q_OBJECT
18 public:
19 static void initMain ();
20 private slots:
21 void testSelectorChoiceIsReported ();
22 void testSelectorFollowsNonCanonicalText ();
23 void testSelectorChoiceKeepsUnknownTokens ();
24 void testSetTagsSyncsTheSelectorWithBlockedSignals ();
25 void testNestedSetTagsWins ();
26 void testUnchangedTagsAreNotReported ();
27 void testSetTagsIsNeverReported ();
28 void testHandEditIsReportedOnce ();
29 void testUpdateTagsKeepsAnEditInProgress ();
30 void testCompletionReplacesTheTokenUnderCursor_data ();
31 void testCompletionReplacesTheTokenUnderCursor ();
32 void testEnterAcceptsTheCompletion ();
33 void testCursorMoveRefreshesCompletion ();
34 void testCompletionIgnoresCase ();
35 void testInnerWhitespaceIsKept ();
36 void testSelectorFollowsTheTagsModel ();
37 void testSelectorButtonBindsAPopup ();
38 void testOneLiveSelectorAtATime ();
39 void testContextMenuOffersTheSelector ();
40 void testContextMenuIsStandardWithoutAPopup ();
41 void testAltDownOpensTheSelector ();
42 };
43}