5#ifndef FLUTTER_TESTING_THREAD_TEST_H_
6#define FLUTTER_TESTING_THREAD_TEST_H_
11#include "flutter/fml/macros.h"
12#include "flutter/fml/message_loop.h"
13#include "flutter/fml/task_runner.h"
14#include "flutter/fml/thread.h"
15#include "gtest/gtest.h"
63 std::vector<std::unique_ptr<fml::Thread>> extra_threads_;
A fixture that creates threads with running message loops that are terminated when the test is done (...
fml::RefPtr< fml::TaskRunner > GetCurrentTaskRunner()
Get the task runner for the thread that the current unit-test is running on. This creates a message l...
fml::RefPtr< fml::TaskRunner > CreateNewThread(const std::string &name="")
Creates a new thread, initializes a message loop on it, and, returns its task runner to the unit-test...
DEF_SWITCHES_START aot vmservice shared library name