mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-10-26 02:29:36 +03:00
29 lines
595 B
C++
29 lines
595 B
C++
//
|
|
// Copyright (c) 2016, Scientific Toolworks, Inc.
|
|
//
|
|
// This software is licensed under the MIT License. The LICENSE.md file
|
|
// describes the conditions under which this software may be distributed.
|
|
//
|
|
// Author: Jason Haslam
|
|
//
|
|
|
|
#include "Test.h"
|
|
|
|
using namespace QTest;
|
|
|
|
class TestSanity : public QObject {
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
void sanity();
|
|
};
|
|
|
|
void TestSanity::sanity() {
|
|
QCOMPARE(QCoreApplication::applicationName(), QString(GITTYUP_NAME));
|
|
QCOMPARE(QCoreApplication::applicationVersion(), QString(GITTYUP_VERSION));
|
|
}
|
|
|
|
TEST_MAIN(TestSanity)
|
|
|
|
#include "sanity.moc"
|