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/TestGroup.cpp
parent108e4efc8ad280142653d2f6ce3a7e3a630ee2f2 (diff)
Rename TestClock to MockClock and move it to the mock directory
Diffstat (limited to 'tests/TestGroup.cpp')
-rw-r--r--tests/TestGroup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/TestGroup.cpp b/tests/TestGroup.cpp
index e97f7ac25..9ee9389c0 100644
--- a/tests/TestGroup.cpp
+++ b/tests/TestGroup.cpp
@@ -18,7 +18,7 @@
#include "TestGroup.h"
#include "TestGlobal.h"
-#include "stub/TestClock.h"
+#include "mock/MockClock.h"
#include <QSignalSpy>
@@ -29,7 +29,7 @@ QTEST_GUILESS_MAIN(TestGroup)
namespace
{
- TestClock* m_clock = nullptr;
+ MockClock* m_clock = nullptr;
}
void TestGroup::initTestCase()
@@ -42,13 +42,13 @@ void TestGroup::initTestCase()
void TestGroup::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 TestGroup::cleanup()
{
- TestClock::teardown();
+ MockClock::teardown();
m_clock = nullptr;
}