MCPcopy Create free account
hub / github.com/KDE/kdevelop / initTestCase

Method initTestCase

kdevplatform/project/tests/test_projectmodel.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void TestProjectModel::initTestCase()
37{
38 AutoTestShell::init();
39 TestCore::initialize(Core::NoUi);
40
41 qRegisterMetaType<QModelIndex>("QModelIndex");
42 model = ICore::self()->projectController()->projectModel();
43 new QAbstractItemModelTester( model, this );
44 proxy = new ProjectProxyModel( model );
45 new QAbstractItemModelTester(proxy, proxy);
46 proxy->setSourceModel(model);
47}
48
49void TestProjectModel::init()
50{

Callers

nothing calls this directly

Calls 5

initializeFunction · 0.85
projectControllerMethod · 0.80
setSourceModelMethod · 0.80
initFunction · 0.50
projectModelMethod · 0.45

Tested by

no test coverage detected