diff options
Diffstat (limited to 'SQLiteStudio3/Tests/TestUtils/functionmanagermock.cpp')
| -rw-r--r-- | SQLiteStudio3/Tests/TestUtils/functionmanagermock.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/SQLiteStudio3/Tests/TestUtils/functionmanagermock.cpp b/SQLiteStudio3/Tests/TestUtils/functionmanagermock.cpp new file mode 100644 index 0000000..8657f42 --- /dev/null +++ b/SQLiteStudio3/Tests/TestUtils/functionmanagermock.cpp @@ -0,0 +1,38 @@ +#include "functionmanagermock.h" + +void FunctionManagerMock::setScriptFunctions(const QList<ScriptFunction *> &) +{ +} + +QList<FunctionManager::ScriptFunction *> FunctionManagerMock::getAllScriptFunctions() const +{ + return QList<FunctionManager::ScriptFunction*>(); +} + +QList<FunctionManager::ScriptFunction *> FunctionManagerMock::getScriptFunctionsForDatabase(const QString&) const +{ + return QList<FunctionManager::ScriptFunction*>(); +} + +QList<FunctionManager::NativeFunction *> FunctionManagerMock::getAllNativeFunctions() const +{ + return QList<FunctionManager::NativeFunction*>(); +} + +QVariant FunctionManagerMock::evaluateScalar(const QString&, int, const QList<QVariant>&, Db*, bool&) +{ + return QVariant(); +} + +void FunctionManagerMock::evaluateAggregateInitial(const QString&, int, Db*, QHash<QString, QVariant>&) +{ +} + +void FunctionManagerMock::evaluateAggregateStep(const QString&, int, const QList<QVariant>&, Db*, QHash<QString, QVariant>&) +{ +} + +QVariant FunctionManagerMock::evaluateAggregateFinal(const QString&, int, Db*, bool&, QHash<QString, QVariant>&) +{ + return QVariant(); +} |
