struct env

Defined at line 33 of file ../../src/graphics/lib/compute/spinel/platforms/vk/tests/spinel_vk_tests/env.h

NOTE(allanmac): These environments were intended to be registered in

a custom main() but the Fuchsia-integrated gtest main() is currently

highly customized.

// register with gtest

::testing::AddGlobalTestEnvironment(env::instance);

::testing::AddGlobalTestEnvironment(env::target);

::testing::AddGlobalTestEnvironment(env::device);

Public Members

unique_ptr instance
unique_ptr target
unique_ptr device

Public Methods

void env ()

This is a mild attempt at mimicking how global test environments are

set up and torn down.

Defined at line 18 of file ../../src/graphics/lib/compute/spinel/platforms/vk/tests/spinel_vk_tests/env.cc

void GlobalSetUp ()

Defined at line 29 of file ../../src/graphics/lib/compute/spinel/platforms/vk/tests/spinel_vk_tests/env.cc

void GlobalTearDown ()

Defined at line 42 of file ../../src/graphics/lib/compute/spinel/platforms/vk/tests/spinel_vk_tests/env.cc