| 42 | { |
| 43 | public: |
| 44 | LottieViewTest(EvasApp *app, Strategy st, double timeout) { |
| 45 | mStartTime = std::chrono::high_resolution_clock::now(); |
| 46 | mStrategy = st; |
| 47 | mApp = app; |
| 48 | |
| 49 | if (timeout > 0) { |
| 50 | ecore_timer_add(timeout, onTestDone, mApp); |
| 51 | } |
| 52 | // work around for 60fps |
| 53 | ecore_animator_frametime_set(1.0f/120.0f); |
| 54 | } |
| 55 | |
| 56 | void show(int numberOfImage) { |
| 57 | auto resource = EvasApp::jsonFiles(std::string(DEMO_DIR)); |
nothing calls this directly
no outgoing calls
no test coverage detected