class EscherEnvironment

Defined at line 34 of file ../../src/ui/lib/escher/test/common/gtest_escher.h

Googletest Environment containing Vulkan instance, Vulkan device and Escher instance.

This class will be created before RUN_ALL_TESTS() and be recycled automatically after all test

cases finish running.

Public Methods

Escher * GetEscher ()

Defined at line 44 of file ../../src/ui/lib/escher/test/common/gtest_escher.h

VulkanDeviceQueuesPtr GetVulkanDevice ()

Defined at line 48 of file ../../src/ui/lib/escher/test/common/gtest_escher.h

VulkanInstancePtr GetVulkanInstance ()

Defined at line 52 of file ../../src/ui/lib/escher/test/common/gtest_escher.h

HackFilesystemPtr GetFilesystem ()

Defined at line 56 of file ../../src/ui/lib/escher/test/common/gtest_escher.h

void RegisterGlobalTestEnvironment ()

Register EscherEnvironment as a Googletest global test environment. The

environment will be managed by Googletest after being registered.

Defined at line 147 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc

EscherEnvironment * GetGlobalTestEnvironment ()

Defined at line 153 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc

void SetUp ()

Defined at line 158 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc

void TearDown ()

Defined at line 174 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc