Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2018-10-19 21:22:28 +0300
committerJanek Bevendorff <janek@jbev.net>2018-10-19 22:49:55 +0300
commitbea31f9bcc42010f6bbb72449292fb95f171cad7 (patch)
treeb782a04b69acde7ec5ce66da420d74bee45c0436 /tests/TestModified.cpp
parent108e4efc8ad280142653d2f6ce3a7e3a630ee2f2 (diff)
Rename TestClock to MockClock and move it to the mock directory
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r--tests/TestModified.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp
index b1ad09443..63013fd5e 100644
--- a/tests/TestModified.cpp
+++ b/tests/TestModified.cpp
@@ -16,7 +16,7 @@
*/
#include "TestModified.h"
-#include "stub/TestClock.h"
+#include "mock/MockClock.h"
#include <QSignalSpy>
#include <QTest>
@@ -31,7 +31,7 @@ QTEST_GUILESS_MAIN(TestModified)
namespace
{
- TestClock* m_clock = nullptr;
+ MockClock* m_clock = nullptr;
}
void TestModified::initTestCase()
@@ -42,13 +42,13 @@ void TestModified::initTestCase()
void TestModified::init()
{
Q_ASSERT(m_clock == nullptr);
- m_clock = new TestClock(2010, 5, 5, 10, 30, 10);
- TestClock::setup(m_clock);
+ m_clock = new MockClock(2010, 5, 5, 10, 30, 10);
+ MockClock::setup(m_clock);
}
void TestModified::cleanup()
{
- TestClock::teardown();
+ MockClock::teardown();
m_clock = nullptr;
}