2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2020 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2020-09-16 13:44:43 +02:00
|
|
|
|
|
|
|
|
#include "sqlitewritestatementmock.h"
|
|
|
|
|
|
|
|
|
|
#include "sqlitedatabasemock.h"
|
|
|
|
|
|
2021-12-07 17:28:38 +01:00
|
|
|
SqliteWriteStatementMockBase::SqliteWriteStatementMockBase(Utils::SmallStringView sqlStatement,
|
|
|
|
|
SqliteDatabaseMock &database)
|
2020-09-16 13:44:43 +02:00
|
|
|
: sqlStatement(sqlStatement)
|
|
|
|
|
{
|
|
|
|
|
database.prepare(sqlStatement);
|
|
|
|
|
}
|