-
Notifications
You must be signed in to change notification settings - Fork 2
/
qtconceptmapcommandselectnode_test.h
46 lines (31 loc) · 1.12 KB
/
qtconceptmapcommandselectnode_test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef QTCONCEPTMAP_COMMANDSELECTNODE_TEST_H
#define QTCONCEPTMAP_COMMANDSELECTNODE_TEST_H
#include <QtTest/QtTest>
namespace ribi {
namespace cmap {
class QtCommandSelectNodeTest : public QObject
{
Q_OBJECT //!OCLINT
private slots:
void SelectAbsentItemFails() const noexcept;
void SelectOneOfTwoQtNodesByName() const noexcept;
void SelectOneOfTwoQtNodesByNameAndUndo() const noexcept;
///Selecting a QtNode on a QtEdge fails
///(one should select the QtEdge)
void SelectQtNodeOnQtEdgeFails() const noexcept;
///Selecting a QtNode that is already selected fails
void SelectSelectedQtNodeFails() const noexcept;
///Select two QtNodes by name
void SelectTwoQtNodesByName() const noexcept;
///Select two QtNodes by name and undo
void SelectTwoQtNodesByNameAndUndo() const noexcept;
///Select a center QtNode by name
void SelectQtCenterNodeByName() const noexcept;
///Parse from a string
void Parse() const noexcept;
///Parsing a nonsense string should fails
void ParseNonsenseFails() const noexcept;
};
} //~namespace cmap
} //~namespace ribi
#endif // QTCONCEPTMAP_COMMANDSELECTNODE_TEST_H