Logo
Explore Help
Register Sign In
mawei/dragonpilot
1
0
Fork 0
You've already forked dragonpilot
mirror of https://github.com/dragonpilot/dragonpilot.git synced 2026-02-20 17:13:54 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
fc7d152dcafe3274aeb35d9c2f7599300ec8489e
dragonpilot/selfdrive/ui/tests/test_runner.cc

11 lines
268 B
C++
Raw Normal View History

soundd: misc cleanup + tests (#22796) * pass AudibleAlert to setAlert * apply reviews * remove trailing underscore * add current_alert_type * common function get_alert * same freq as ui * small cleanup * setvolumne on change * static Alert::get * test_sounds * remove old test files * loop twice * assert loopsRemaining * assert stop * init to min_volumne * Revert "remove old test files" This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17. * move to ui/soundd * move test to tests/test_sound.cc * remove old tests * cleanup * lower volume * Revert "remove old tests" This reverts commit e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b. * return Alert * cleanup * remove #include <optional> * cleanup .gitignore * revert to std::optional * Revert "revert to std::optional" This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b. * cleanup * remove volume check Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-10 06:18:29 +08:00
#define CATCH_CONFIG_RUNNER
#include "catch2/catch.hpp"
#include <QCoreApplication>
int main(int argc, char **argv) {
// unit tests for Qt
QCoreApplication app(argc, argv);
const int res = Catch::Session().run(argc, argv);
return (res < 0xff ? res : 0xff);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API