File indexing completed on 2024-04-28 17:08:17
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 */ 0004 0005 #include <QTest> 0006 #include <memory> 0007 0008 #include "rsitimer_test.h" 0009 #include "rsitimercounter_test.h" 0010 0011 int main(int argc, char *argv[]) 0012 { 0013 std::unique_ptr<QApplication> app{new QApplication(argc, argv)}; 0014 0015 std::vector<std::unique_ptr<QObject>> tests; 0016 tests.emplace_back(new RSITimerCounterTest()); 0017 tests.emplace_back(new RSITimerTest()); 0018 0019 int status = 0; 0020 for (auto &test : tests) { 0021 status |= QTest::qExec(test.get(), argc, argv); 0022 } 0023 0024 return status; 0025 }