diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
| commit | ec3e81b7a7be77836ac52dc6168aa5ac4c498217 (patch) | |
| tree | 6feacc63f6f2cfa51463831a1ea7399f8de9be81 /Tests/TestApp/include/TestTextureCreation.h | |
| parent | Fixed few compiler warnings (diff) | |
| download | DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip | |
Added test result reporting
Diffstat (limited to 'Tests/TestApp/include/TestTextureCreation.h')
| -rw-r--r-- | Tests/TestApp/include/TestTextureCreation.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; }; |
