| 16 | using namespace KDevelop; |
| 17 | |
| 18 | TestProject::TestProject(const Path& path, QObject* parent) |
| 19 | : IProject(parent) |
| 20 | , m_projectConfiguration(KSharedConfig::openConfig()) |
| 21 | { |
| 22 | m_path = path.isValid() ? path : Path(QDir::tempPath() + QLatin1String("/kdev-testproject/")); |
| 23 | m_root = new ProjectFolderItem(this, m_path); |
| 24 | ICore::self()->projectController()->projectModel()->appendRow(m_root); |
| 25 | } |
| 26 | |
| 27 | void TestProject::setPath(const Path& path) |
| 28 | { |
nothing calls this directly
no test coverage detected