Changeset View
Changeset View
Standalone View
Standalone View
autotests/src/testutils.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 74 | public: | |||
---|---|---|---|---|---|
113 | Q_INVOKABLE void shiftTop(int cnt = 1); | 113 | Q_INVOKABLE void shiftTop(int cnt = 1); | ||
114 | Q_INVOKABLE void bottom(int cnt = 1); | 114 | Q_INVOKABLE void bottom(int cnt = 1); | ||
115 | Q_INVOKABLE void shiftBottom(int cnt = 1); | 115 | Q_INVOKABLE void shiftBottom(int cnt = 1); | ||
116 | Q_INVOKABLE void toMatchingBracket(int cnt = 1); | 116 | Q_INVOKABLE void toMatchingBracket(int cnt = 1); | ||
117 | Q_INVOKABLE void shiftToMatchingBracket(int cnt = 1); | 117 | Q_INVOKABLE void shiftToMatchingBracket(int cnt = 1); | ||
118 | 118 | | |||
119 | Q_INVOKABLE bool type(const QString &str); | 119 | Q_INVOKABLE bool type(const QString &str); | ||
120 | 120 | | |||
121 | /** | ||||
122 | * Toggle auto brackets. If you make use of it, make sure to | ||||
123 | * disable them again at the end of your test, otherwise any following tests may fail. | ||||
124 | */ | ||||
125 | Q_INVOKABLE void setAutoBrackets(bool enable = true); | ||||
126 | | ||||
121 | // Aliases | 127 | // Aliases | ||
122 | Q_INVOKABLE void enter(int cnt = 1); // KeyReturn | 128 | Q_INVOKABLE void enter(int cnt = 1); // KeyReturn | ||
123 | Q_INVOKABLE void cursorPrev(int cnt = 1); // CursorLeft | 129 | Q_INVOKABLE void cursorPrev(int cnt = 1); // CursorLeft | ||
124 | Q_INVOKABLE void left(int cnt = 1); // CursorLeft | 130 | Q_INVOKABLE void left(int cnt = 1); // CursorLeft | ||
125 | Q_INVOKABLE void prev(int cnt = 1); // CursorLeft | 131 | Q_INVOKABLE void prev(int cnt = 1); // CursorLeft | ||
126 | Q_INVOKABLE void shiftCursorPrev(int cnt = 1); // ShiftCursorLeft | 132 | Q_INVOKABLE void shiftCursorPrev(int cnt = 1); // ShiftCursorLeft | ||
127 | Q_INVOKABLE void shiftLeft(int cnt = 1); // ShiftCursorLeft | 133 | Q_INVOKABLE void shiftLeft(int cnt = 1); // ShiftCursorLeft | ||
128 | Q_INVOKABLE void shiftPrev(int cnt = 1); // ShiftCursorLeft | 134 | Q_INVOKABLE void shiftPrev(int cnt = 1); // ShiftCursorLeft | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |