GraphicsDeviceContainerTest.cpp 482 B

123456789101112131415161718192021
  1. #include "pch.h"
  2. #include "GraphicsDeviceContainer.h"
  3. namespace unity
  4. {
  5. namespace webrtc
  6. {
  7. class GraphicsDeviceContainerTest : public testing::TestWithParam<UnityGfxRenderer>
  8. {
  9. };
  10. TEST_P(GraphicsDeviceContainerTest, Instantiate)
  11. {
  12. auto container = CreateGraphicsDeviceContainer(GetParam());
  13. EXPECT_NE(container, nullptr);
  14. }
  15. INSTANTIATE_TEST_SUITE_P(GfxDevice, GraphicsDeviceContainerTest, testing::ValuesIn(supportedGfxDevices));
  16. }
  17. }