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 145 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc

EscherEnvironment * GetGlobalTestEnvironment ()

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

void SetUp ()

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

void TearDown ()

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