From ec3e81b7a7be77836ac52dc6168aa5ac4c498217 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 17 Feb 2018 12:58:17 -0800 Subject: Added test result reporting --- Tests/TestApp/include/TestTextureCreation.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/include/TestTextureCreation.h') diff --git a/Tests/TestApp/include/TestTextureCreation.h b/Tests/TestApp/include/TestTextureCreation.h index 20b44c3..a3b2907 100644 --- a/Tests/TestApp/include/TestTextureCreation.h +++ b/Tests/TestApp/include/TestTextureCreation.h @@ -23,9 +23,11 @@ #pragma once +#include "UnitTestBase.h" + const bool bIsGL43 = false; -class TestTextureCreation +class TestTextureCreation : public UnitTestBase { public: TestTextureCreation(Diligent::IRenderDevice *pDevice, Diligent::IDeviceContext *pContext); @@ -35,4 +37,6 @@ private: void CheckFormatSize( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::Uint32 RefSize ); void CheckNumComponents( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::Uint32 RefComponents ); void CheckComponentType( Diligent::TEXTURE_FORMAT *begin, Diligent::TEXTURE_FORMAT *end, Diligent::COMPONENT_TYPE RefType ); + + int m_NumFormatsTested = 0; }; -- cgit v1.2.3