diff --git a/sea_transport_project.pro b/sea_transport_project.pro index 18ba504..16d97ce 100644 --- a/sea_transport_project.pro +++ b/sea_transport_project.pro @@ -1,4 +1,5 @@ TEMPLATE = subdirs SUBDIRS += \ - sea_transport + sea_transport \ + st_test diff --git a/st_test/st_test.pro b/st_test/st_test.pro new file mode 100644 index 0000000..186a856 --- /dev/null +++ b/st_test/st_test.pro @@ -0,0 +1,9 @@ +QT += testlib +QT -= gui + +CONFIG += qt console warn_on depend_includepath testcase +CONFIG -= app_bundle + +TEMPLATE = app + +SOURCES += tst_st_test.cpp diff --git a/st_test/tst_st_test.cpp b/st_test/tst_st_test.cpp new file mode 100644 index 0000000..0cdb637 --- /dev/null +++ b/st_test/tst_st_test.cpp @@ -0,0 +1,47 @@ +#include + +// add necessary includes here + +class st_test : public QObject +{ + Q_OBJECT + +public: + st_test(); + ~st_test(); + +private slots: + void initTestCase(); + void cleanupTestCase(); + void test_case1(); + +}; + +st_test::st_test() +{ + +} + +st_test::~st_test() +{ + +} + +void st_test::initTestCase() +{ + +} + +void st_test::cleanupTestCase() +{ + +} + +void st_test::test_case1() +{ + +} + +QTEST_APPLESS_MAIN(st_test) + +#include "tst_st_test.moc"