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

Method init

tests/quickinspectortest2.cpp:44–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void init() override
45 {
46 BaseQuickTest::init();
47
48 itemModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.QuickItemModel"));
49 QVERIFY(itemModel);
50 new QAbstractItemModelTester(itemModel, view());
51
52 sgModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.QuickSceneGraphModel"));
53 QVERIFY(sgModel);
54 new QAbstractItemModelTester(sgModel, view());
55
56 inspector = ObjectBroker::object<QuickInspectorInterface *>();
57 QVERIFY(inspector);
58 inspector->setServerSideDecorationsEnabled(false);
59 inspector->selectWindow(0);
60 QTest::qWait(1);
61 }
62
63 static void testPreviewFetchingThrottler_data()
64 {

Callers

nothing calls this directly

Calls 3

initFunction · 0.70
selectWindowMethod · 0.45

Tested by

no test coverage detected