Home
last modified time | relevance | path

Searched refs:spy (Results 1 – 25 of 2982) sorted by relevance

12345678910>>...120

/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qscriptengineagent/
H A Dtst_qscriptengineagent.cpp413 QCOMPARE(spy->at(1).scriptId, spy->at(0).scriptId); in scriptLoadAndUnload_statement()
434 QCOMPARE(spy->at(1).scriptId, spy->at(0).scriptId); in scriptLoadAndUnload_statement()
472 QCOMPARE(spy->at(2).scriptId, spy->at(1).scriptId); in scriptLoadAndUnload()
475 QCOMPARE(spy->at(3).scriptId, spy->at(0).scriptId); in scriptLoadAndUnload()
2171 QCOMPARE(spy->at(i).scriptId, spy->at(2).scriptId); in recursiveObserve()
2178 QCOMPARE(spy->at(i).scriptId, spy->at(2).scriptId); in recursiveObserve()
2182 QCOMPARE(spy->at(i).scriptId, spy->at(0).scriptId); in recursiveObserve()
2189 QCOMPARE(spy->at(i).scriptId, spy->at(0).scriptId); in recursiveObserve()
2462 QCOMPARE(spy->at(1).scriptId, spy->at(0).scriptId); in QTBUG6108()
2466 QCOMPARE(spy->at(2).scriptId, spy->at(0).scriptId); in QTBUG6108()
[all …]
/dports/net-im/prosody/prosody-0.11.13/spec/
H A Dutil_promise_spec.lua14 local cb = spy.new(function (v)
18 assert.spy(cb).was_called(1);
25 local cb = spy.new(function (v)
29 assert.spy(cb).was_called(0);
31 assert.spy(cb).was_called(1);
48 assert.spy(cb1).was_called(0);
49 assert.spy(cb2).was_called(0);
51 assert.spy(cb1).was_called(1);
52 assert.spy(cb2).was_called(1);
89 assert.spy(cb).was_called(0);
[all …]
H A Dutil_events_spec.lua21 h = spy.new(function () end);
27 assert.spy(h).was_called();
33 assert.spy(h).was_not_called();
81 assert.spy(h).was_called(1);
137 assert.spy(w).was_called(1);
138 assert.spy(h).was_called(1);
147 assert.spy(w).was_called(1);
148 assert.spy(h).was_called(2);
161 assert.spy(w).was_called(1);
163 assert.spy(h).was_called(2);
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/python/
H A Dtest_qgsgeometryvalidator.py76 self.assertEqual(len(spy), 3)
94 self.assertEqual(len(spy), 0)
103 self.assertEqual(len(spy), 2)
118 self.assertEqual(len(spy), 0)
126 self.assertEqual(len(spy), 1)
136 self.assertEqual(len(spy), 1)
148 self.assertEqual(len(spy), 0)
156 self.assertEqual(len(spy), 1)
166 self.assertEqual(len(spy), 1)
176 self.assertEqual(len(spy), 1)
[all …]
H A Dtest_qgsrangeslider.py55 self.assertEqual(len(spy), 1)
58 self.assertEqual(len(spy), 1)
63 self.assertEqual(len(spy), 2)
66 self.assertEqual(len(spy), 2)
71 self.assertEqual(len(spy), 2)
75 self.assertEqual(len(spy), 3)
80 self.assertEqual(len(spy), 4)
85 self.assertEqual(len(spy), 5)
92 self.assertEqual(len(spy), 6)
96 self.assertEqual(len(spy), 7)
[all …]
H A Dtest_qgslayoutnortharrowhandler.py48 self.assertEqual(len(spy), 0)
53 self.assertEqual(len(spy), 1)
57 self.assertEqual(len(spy), 2)
63 self.assertEqual(len(spy), 3)
68 self.assertEqual(len(spy), 4)
86 self.assertEqual(len(spy), 1)
90 self.assertEqual(len(spy), 2)
107 self.assertEqual(len(spy), 0)
112 self.assertEqual(len(spy), 1)
118 self.assertEqual(len(spy), 2)
[all …]
H A Dtest_qgsdatabasetablecombobox.py79 self.assertEqual(len(spy), 1)
80 self.assertFalse(spy[-1][0])
85 self.assertEqual(len(spy), 1)
86 self.assertFalse(spy[-1][0])
88 self.assertEqual(len(spy), 2)
108 self.assertEqual(len(spy), 3)
119 self.assertEqual(len(spy), 4)
127 self.assertEqual(len(spy), 4)
138 self.assertFalse(spy[-1][0])
162 self.assertFalse(spy[-1][0])
[all …]
H A Dtest_qgssvgsourcelineedit.py29 spy = QSignalSpy(w.sourceChanged)
33 self.assertEqual(len(spy), 1)
39 self.assertEqual(len(spy), 1)
43 self.assertEqual(len(spy), 2)
53 self.assertEqual(len(spy), 1)
59 self.assertEqual(len(spy), 2)
60 self.assertEqual(spy[1][0], b64)
64 self.assertEqual(len(spy), 3)
69 self.assertEqual(len(spy), 4)
74 self.assertEqual(len(spy), 5)
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/python/
H A Dtest_qgsgeometryvalidator.py76 self.assertEqual(len(spy), 3)
94 self.assertEqual(len(spy), 0)
103 self.assertEqual(len(spy), 2)
118 self.assertEqual(len(spy), 0)
126 self.assertEqual(len(spy), 1)
136 self.assertEqual(len(spy), 1)
148 self.assertEqual(len(spy), 0)
156 self.assertEqual(len(spy), 1)
166 self.assertEqual(len(spy), 1)
176 self.assertEqual(len(spy), 1)
[all …]
H A Dtest_qgslayoutnortharrowhandler.py48 self.assertEqual(len(spy), 0)
53 self.assertEqual(len(spy), 1)
57 self.assertEqual(len(spy), 2)
63 self.assertEqual(len(spy), 3)
68 self.assertEqual(len(spy), 4)
86 self.assertEqual(len(spy), 1)
90 self.assertEqual(len(spy), 2)
107 self.assertEqual(len(spy), 0)
112 self.assertEqual(len(spy), 1)
118 self.assertEqual(len(spy), 2)
[all …]
H A Dtest_qgsdatabasetablecombobox.py79 self.assertEqual(len(spy), 1)
80 self.assertFalse(spy[-1][0])
85 self.assertEqual(len(spy), 1)
86 self.assertFalse(spy[-1][0])
88 self.assertEqual(len(spy), 2)
108 self.assertEqual(len(spy), 3)
119 self.assertEqual(len(spy), 4)
127 self.assertEqual(len(spy), 4)
138 self.assertFalse(spy[-1][0])
162 self.assertFalse(spy[-1][0])
[all …]
/dports/x11-fm/dolphin/dolphin-21.12.3/src/tests/
H A Dkitemlistkeyboardsearchmanagertest.cpp44 QVERIFY(spy.isValid()); in testBasicKeyboardSearch()
47 QCOMPARE(spy.count(), 1); in testBasicKeyboardSearch()
51 QCOMPARE(spy.count(), 1); in testBasicKeyboardSearch()
55 QCOMPARE(spy.count(), 1); in testBasicKeyboardSearch()
59 QCOMPARE(spy.count(), 1); in testBasicKeyboardSearch()
70 QVERIFY(spy.isValid()); in testAbortedKeyboardSearch()
73 QCOMPARE(spy.count(), 1); in testAbortedKeyboardSearch()
77 QCOMPARE(spy.count(), 1); in testAbortedKeyboardSearch()
85 QCOMPARE(spy.count(), 1); in testAbortedKeyboardSearch()
109 QVERIFY(spy.isValid()); in testRepeatedKeyPress()
[all …]
/dports/games/untahris/untahris/
H A Dplayer.cpp45 new OSnakeHead(index, spx, spy, dirAt(spx, spy), true); in spawn()
51 new OSnakeHead(index, spx, spy, dirAt(spx, spy), false); in spawn()
61 if(spy < 2 || spy > g.sizeY - 2) return; in spawn()
88 if(spy < 4 || spy > g.sizeY - 4) return; in spawn()
95 new OXunux(index, spx, spy, dirAt(spx, spy)); in spawn()
114 if(mapFreeAt(spx, spy)) g.mapSet(spx, spy, cBreakWall, index); in spawn()
119 if(mapFreeAt(spx, spy)) g.mapSet(spx, spy, cPermaWall, index); in spawn()
124 if(mapFreeAt(spx, spy)) g.mapSet(spx, spy, cFree, index); in spawn()
129 if(mapFreeBigAt(spx, spy)) placeBig(spx, spy, cCannonF, index); in spawn()
188 if(pk == keyUp && spy > 1) spy--; in repKey()
[all …]
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/items/helper/
H A DKeyInputHelperTest.cpp32 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitRemoveSignal_When_KeyIsBackspace()
46 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitRemoveSignal_When_KeyIsDelete()
59 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitInsertSignalWithNewLine_When_KeyIsReturnAndModifierShift()
72 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitInsertSignalWithNewLine_When_KeyIsEnterAndModifierShift()
85 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitEscape_When_KeyIsReturnAndNoModifier()
96 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitEscape_When_KeyIsEnterAndNoModifier()
107 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitEscapeSignal_When_KeyIsEscape()
119 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitMoveSignal_When_KeyIsHome()
133 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitMoveSignal_When_KeyIsEnd()
147 QCOMPARE(spy.count(), 1); in TestHandleKeyPress_Should_EmitMoveSignal_When_KeyIsArrowLeft()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qdockwidget/
H A Dtst_qdockwidget.cpp253 spy.clear(); in features()
256 spy.clear(); in features()
266 spy.clear(); in features()
269 spy.clear(); in features()
279 spy.clear(); in features()
282 spy.clear(); in features()
292 spy.clear(); in features()
295 spy.clear(); in features()
305 spy.clear(); in features()
308 spy.clear(); in features()
[all …]
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/gui/annotator/tabs/
H A DAnnotationTabCloserTest.cpp30 QCOMPARE(spy.count(), 1); in TestCloseTabTriggered_Should_CallMethodForRequestingTabCloseWithProvidedIndex_When_ProvidedIndexValid()
31 auto arguments = spy.takeFirst(); in TestCloseTabTriggered_Should_CallMethodForRequestingTabCloseWithProvidedIndex_When_ProvidedIndexValid()
43 QCOMPARE(spy.count(), 1); in TestCloseTabTriggered_Should_CallMethodForRequestingTabCloseWithCurrentIndex_When_ProvidedIndexInvalid()
44 auto arguments = spy.takeFirst(); in TestCloseTabTriggered_Should_CallMethodForRequestingTabCloseWithCurrentIndex_When_ProvidedIndexInvalid()
56 QCOMPARE(spy.count(), 4); in TestCloseOtherTabsTriggered_Should_CallMethodForRequestingTabCloseForAllButProvidedIndex()
57 QCOMPARE(spy[0].at(0).toInt(), 4); in TestCloseOtherTabsTriggered_Should_CallMethodForRequestingTabCloseForAllButProvidedIndex()
58 QCOMPARE(spy[1].at(0).toInt(), 3); in TestCloseOtherTabsTriggered_Should_CallMethodForRequestingTabCloseForAllButProvidedIndex()
59 QCOMPARE(spy[2].at(0).toInt(), 1); in TestCloseOtherTabsTriggered_Should_CallMethodForRequestingTabCloseForAllButProvidedIndex()
71 QCOMPARE(spy.count(), 5); in TestCloseAllTabsTriggered_Should_CallMethodForRequestingTabCloseForAllIndex()
87 QCOMPARE(spy.count(), 2); in TestCloseAllTabsToLeftTriggered_Should_CallMethodForRequestingTabCloseForAllSmallerIndex()
[all …]
/dports/math/py-spectral/spectral-0.22.4/spectral/tests/
H A Denvi.py15 import spectral as spy namespace
50 img = spy.open_image(fname)
78 spy.envi.save_image(fname, src)
79 img = spy.open_image(fname)
101 img = spy.open_image(fname)
124 img = spy.open_image(fname)
153 spy.envi.save_image(fname, img)
158 img2 = spy.envi.open(fname)
168 spy.envi.save_image(fname, img)
173 img2 = spy.envi.open(fname)
[all …]
/dports/graphics/krita/krita-4.4.8/libs/flake/tests/
H A DTestResourceManager.cpp138 spy.clear(); in testDerivedChanged()
239 spy.clear(); in testComplexResource()
257 spy.clear(); in testComplexResource()
271 spy.clear(); in testComplexResource()
285 spy.clear(); in testComplexResource()
303 spy.clear(); in testComplexResource()
316 spy.clear(); in testComplexResource()
334 spy.clear(); in testComplexResource()
349 spy.clear(); in testComplexResource()
362 spy.clear(); in testComplexResource()
[all …]
/dports/deskutils/zanshin/zanshin-21.12.3/tests/units/domain/
H A Dtasktest.cpp45 QCOMPARE(spy.count(), 1); in shouldNotifyTextChanges()
55 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalTextChanges()
63 QCOMPARE(spy.count(), 1); in shouldNotifyTitleChanges()
73 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalTitleChanges()
156 QCOMPARE(spy.count(), 1); in shouldNotifyStatusChanges()
166 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalStatusChanges()
174 QCOMPARE(spy.count(), 1); in shouldNotifyStartDateChanges()
184 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalStartDateChanges()
192 QCOMPARE(spy.count(), 1); in shouldNotifyDueDateChanges()
202 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalDueDateChanges()
[all …]
H A Ddatasourcetest.cpp36 QSignalSpy spy(&ds, &DataSource::nameChanged); in shouldNotifyNameChanges() local
38 QCOMPARE(spy.count(), 1); in shouldNotifyNameChanges()
46 QSignalSpy spy(&ds, &DataSource::nameChanged); in shouldNotNotifyIdenticalNameChanges() local
48 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalNameChanges()
56 QCOMPARE(spy.count(), 1); in shouldNotifyIconNameChanges()
66 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalIconNameChanges()
74 QCOMPARE(spy.count(), 1); in shouldNotifyContentTypesChanges()
85 QCOMPARE(spy.count(), 0); in shouldNotNotifyIdenticalContentTypesChanges()
93 QCOMPARE(spy.count(), 1); in shouldNotifySelectedChanges()
94 QVERIFY(spy.first().first().toBool()); in shouldNotifySelectedChanges()
[all …]
/dports/deskutils/maliit-framework/framework-2.1.1/tests/ut_mkeyoverride/
H A Dut_mkeyoverride.cpp39 QVERIFY(spy.isValid()); in testSetProperty()
42 QCOMPARE(spy.count(), 1); in testSetProperty()
43 QCOMPARE(spy.first().count(), 2); in testSetProperty()
48 spy.clear(); in testSetProperty()
51 QCOMPARE(spy.count(), 1); in testSetProperty()
52 QCOMPARE(spy.first().count(), 2); in testSetProperty()
57 spy.clear(); in testSetProperty()
60 QCOMPARE(spy.count(), 1); in testSetProperty()
66 spy.clear(); in testSetProperty()
69 QCOMPARE(spy.count(), 1); in testSetProperty()
[all …]
/dports/devel/py-orange-widget-base/orange-widget-base-4.13.0/orangewidget/utils/tests/
H A Dtest_concurrent.py77 spy = spies(w)
78 self.assertTrue(spy.done.wait())
88 spy = spies(w)
90 self.assertTrue(spy.done.wait())
107 spy = spies(w)
109 self.assertTrue(spy.done.wait())
135 spy = spies(w)
155 spy = spies(w)
179 spy = spies(w)
195 spy = spies(watcher)
[all …]
/dports/x11/kf5-kwindowsystem/kwindowsystem-5.89.0/autotests/
H A Dkwindowsystemx11test.cpp53 QVERIFY(spy.wait()); in testActiveWindowChanged()
69 for (auto it = spy.constBegin(); it != spy.constEnd(); ++it) { in testWindowAdded()
94 spy.wait(1000); in testWindowRemoved()
113 QVERIFY(spy.wait()); in testDesktopChanged()
117 spy.clear(); in testDesktopChanged()
146 spy.clear(); in testNumberOfDesktopsChanged()
171 spy.clear(); in testDesktopNamesChanged()
196 spy.clear(); in testShowingDesktopChanged()
221 spy.clear(); in testSetShowingDesktop()
228 spy.clear(); in testSetShowingDesktop()
[all …]
/dports/sysutils/kf5-baloo/baloo-5.89.0/autotests/unit/file/
H A Dkinotifytest.cpp70 QVERIFY(spy.wait()); in testDeleteFile()
92 QVERIFY(spy.wait()); in testDeleteFolder()
156 QVERIFY(spy.wait()); in testRenameFile()
167 QVERIFY(spy.wait()); in testRenameFile()
193 QVERIFY(spy.wait()); in testRenameDeleteFile()
232 QVERIFY(spy.wait()); in testMoveFile()
243 QVERIFY(spy.wait()); in testMoveFile()
269 QVERIFY(spy.wait()); in testRenameFolder()
284 QVERIFY(spy.wait()); in testRenameFolder()
332 QVERIFY(spy.wait()); in testMoveFolder()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qtoolbar/
H A Dtst_qtoolbar.cpp199 spy.clear(); in allowedAreas()
212 spy.clear(); in allowedAreas()
225 spy.clear(); in allowedAreas()
238 spy.clear(); in allowedAreas()
252 spy.clear(); in allowedAreas()
265 spy.clear(); in allowedAreas()
278 spy.clear(); in allowedAreas()
291 spy.clear(); in allowedAreas()
314 spy.clear(); in orientation()
323 spy.clear(); in orientation()
[all …]

12345678910>>...120