| 297 | } |
| 298 | |
| 299 | static void PreRunHttpPort(dmEngine::HEngine engine, void* ctx) |
| 300 | { |
| 301 | HttpTestContext* http_ctx = (HttpTestContext*) ctx; |
| 302 | if (http_ctx->m_PreCount == 0) |
| 303 | { |
| 304 | // Only for first callback in order to avoid loops when testing reboot |
| 305 | http_ctx->m_Port = dmEngine::GetHttpPort(engine); |
| 306 | http_ctx->m_Thread = dmThread::New(HttpPostThread, 0x8000, http_ctx, "post"); |
| 307 | } |
| 308 | http_ctx->m_PreCount++; |
| 309 | } |
| 310 | |
| 311 | // VENDOR: Until we can reboot properly within the unit test |
| 312 | // ANDROID: Until we can the http tests are fixed |
nothing calls this directly
no test coverage detected