#include "flutter/fml/build_config.h"#include "flutter/fml/thread.h"#include <algorithm>#include <memory>#include "gtest/gtest.h"Go to the source code of this file.
Macros | |
| #define | FLUTTER_PTHREAD_SUPPORTED 0 |
Functions | |
| TEST (Thread, CanStartAndEnd) | |
| TEST (Thread, CanStartAndEndWithExplicitJoin) | |
| TEST (Thread, HasARunningMessageLoop) | |
| TEST (Thread, HasExpectedStackSize) | |
| #define FLUTTER_PTHREAD_SUPPORTED 0 |
Definition at line 11 of file thread_unittests.cc.
| TEST | ( | Thread | , |
| CanStartAndEnd | |||
| ) |
Definition at line 27 of file thread_unittests.cc.
References fml::Thread::GetTaskRunner().
| TEST | ( | Thread | , |
| CanStartAndEndWithExplicitJoin | |||
| ) |
Definition at line 32 of file thread_unittests.cc.
References fml::Thread::GetTaskRunner(), and fml::Thread::Join().
| TEST | ( | Thread | , |
| HasARunningMessageLoop | |||
| ) |
Definition at line 38 of file thread_unittests.cc.
References fml::Thread::GetTaskRunner(), fml::Thread::Join(), and fml::TaskRunner::PostTask().
| TEST | ( | Thread | , |
| HasExpectedStackSize | |||
| ) |
Definition at line 46 of file thread_unittests.cc.
References fml::Thread::GetDefaultStackSize(), fml::Thread::GetTaskRunner(), fml::Thread::Join(), and fml::TaskRunner::PostTask().