Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
raster_thread_merger_unittests.cc File Reference
#include "flutter/fml/raster_thread_merger.h"
#include <thread>
#include "flutter/fml/memory/ref_ptr.h"
#include "flutter/fml/message_loop.h"
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/fml/task_runner.h"
#include "flutter/fml/thread.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

struct  fml::testing::TaskQueueWrapper
 A mock task queue NOT calling MessageLoop->Run() in thread. More...
 

Namespaces

namespace  fml
 
namespace  fml::testing
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

 fml::testing::TEST (RasterThreadMerger, RemainMergedTillLeaseExpires)
 
 fml::testing::TEST (RasterThreadMerger, IsNotOnRasterizingThread)
 
 fml::testing::TEST (RasterThreadMerger, LeaseExtension)
 
 fml::testing::TEST (RasterThreadMerger, WaitUntilMerged)
 
 fml::testing::TEST (RasterThreadMerger, HandleTaskQueuesAreTheSame)
 
 fml::testing::TEST (RasterThreadMerger, Enable)
 
 fml::testing::TEST (RasterThreadMerger, Disable)
 
 fml::testing::TEST (RasterThreadMerger, IsEnabled)
 
 fml::testing::TEST (RasterThreadMerger, TwoMergersWithSameThreadPairShareEnabledState)
 
 fml::testing::TEST (RasterThreadMerger, RunExpiredTasksWhileFirstTaskMergesThreads)
 
 fml::testing::TEST (RasterThreadMerger, RunExpiredTasksWhileFirstTaskUnMergesThreads)
 
 fml::testing::TEST (RasterThreadMerger, SetMergeUnmergeCallback)
 
 fml::testing::TEST (RasterThreadMerger, MultipleMergersCanMergeSameThreadPair)
 
 fml::testing::TEST (RasterThreadMerger, TheLastCallerOfMultipleMergersCanUnmergeNow)
 
 fml::testing::TEST (RasterThreadMerger, TheLastMergedCallerOfMultipleMergersCanUnmergeNow)
 
 fml::testing::TEST (RasterThreadMerger, TwoIndependentMergersCanMergeTwoDifferentThreadsIntoSamePlatformThread)
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file raster_thread_merger_unittests.cc.