forked from qt-creator/qt-creator
ClangPchManager: Introduce PchTasksMerger
So far no merging is happening but we will add it after the rest of the pipeline is in shape. Task-number: QTCREATORBUG-21381 Change-Id: I610c243eabcb305843ad6339fdc636b0c3966fc1 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#include <sqlitewritestatement.h>
|
||||
#include <utf8string.h>
|
||||
|
||||
#include <utils/temporarydirectory.h>
|
||||
|
||||
#include <QSignalSpy>
|
||||
#include <QTemporaryFile>
|
||||
#include <QVariant>
|
||||
@@ -127,7 +129,8 @@ TEST_F(SqliteDatabase, DatabaseIsInitializedIfDatabasePathExistsAtOpening)
|
||||
|
||||
TEST_F(SqliteDatabase, DatabaseIsNotInitializedIfDatabasePathDoesNotExistAtOpening)
|
||||
{
|
||||
Sqlite::Database database{Utils::PathString{QDir::tempPath() + "/database_does_not_exist.db"}};
|
||||
Sqlite::Database database{Utils::PathString{Utils::TemporaryDirectory::masterDirectoryPath()
|
||||
+ "/database_does_not_exist.db"}};
|
||||
|
||||
ASSERT_FALSE(database.isInitialized());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user