/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/UnitTests/jni/main.cpp
21 строка
635 B
Vladimir Byko-Ianko
Fixing unit and integration test for Android.
02 окт 2015, 09:10
02 окт 2015, 09:10
76887ab
Код
Авторство
О чём код?
// @todo(vbykoianko) this file should be generated with a script based on tests_list.sh #include "mock.hpp" #include "routing/routing_integration_tests/jni/test.hpp" #include "indexer/indexer_tests/jni/test.hpp" #include <android_native_app_glue.h> void android_main(struct android_app * state) { // Make sure glue isn't stripped. app_dummy(); routing_integration_tests::test(state); indexer_tests::test(state); // @todo(vbykoianko) Take care of correctly leaving the activity after all tests have // finished. It's nice to show the result of the test on Android screen. Message box or // something like that. }