| 34 | } |
| 35 | |
| 36 | void 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 | |
| 49 | void TestProjectModel::init() |
| 50 | { |
nothing calls this directly
no test coverage detected