MCPcopy Create free account
hub / github.com/KDAB/GammaRay / BindingInspectorTest

Class BindingInspectorTest

tests/bindinginspectortest.cpp:211–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209};
210
211class BindingInspectorTest : public BaseProbeTest
212{
213 Q_OBJECT
214
215private slots:
216 void initTestCase();
217 void init();
218 void cleanup();
219 void testMockProvider();
220 static void testQmlBindingProvider_data();
221 static void testQmlBindingProvider();
222 static void testQtQuickProvider_data();
223 static void testQtQuickProvider();
224 void testModel();
225 void testModelDataChanged();
226 void testModelAdditions();
227 void testModelInsertions();
228 void testModelRemovalAtEnd();
229 void testModelRemovalInside();
230 void testIntegration();
231
232private:
233 MockBindingProvider *provider;
234 BindingExtension *bindingExtension;
235 std::unique_ptr<QAbstractItemModelTester> modelTest;
236 QAbstractItemModel *bindingModel;
237};
238
239void BindingInspectorTest::initTestCase()
240{

Callers

nothing calls this directly

Calls 1

initTestCaseFunction · 0.70

Tested by

no test coverage detected