diff options
| author | 2014-12-06 17:33:25 -0500 | |
|---|---|---|
| committer | 2014-12-06 17:33:25 -0500 | |
| commit | 7167ce41b61d2ba2cdb526777a4233eb84a3b66a (patch) | |
| tree | a35c14143716e1f2c98f808c81f89426045a946f /SQLiteStudio3/Tests/TestUtils/collationmanagermock.h | |
Imported Upstream version 2.99.6upstream/2.99.6
Diffstat (limited to 'SQLiteStudio3/Tests/TestUtils/collationmanagermock.h')
| -rw-r--r-- | SQLiteStudio3/Tests/TestUtils/collationmanagermock.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/SQLiteStudio3/Tests/TestUtils/collationmanagermock.h b/SQLiteStudio3/Tests/TestUtils/collationmanagermock.h new file mode 100644 index 0000000..eb08b7b --- /dev/null +++ b/SQLiteStudio3/Tests/TestUtils/collationmanagermock.h @@ -0,0 +1,18 @@ +#ifndef COLLATIONMANAGERMOCK_H +#define COLLATIONMANAGERMOCK_H + +#include "services/collationmanager.h" + +class CollationManagerMock : public CollationManager +{ + public: + CollationManagerMock(); + + void setCollations(const QList<CollationPtr>&); + QList<CollationPtr> getAllCollations() const; + QList<CollationPtr> getCollationsForDatabase(const QString&) const; + int evaluate(const QString&, const QString&, const QString&); + int evaluateDefault(const QString&, const QString&); +}; + +#endif // COLLATIONMANAGERMOCK_H |
