Welcome to mirror list, hosted at ThFree Co, Russian Federation.

main.cpp « jni « UnitTests « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aec938c744fb57153d26151eec9c7590eb9d7694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// @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.
}