Gittyup/test/sanity.cpp
Martin Marmsoler 9bd742233e format code
2022-05-01 09:51:34 +02:00

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"