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/src/TestShaderResArrays.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestShaderResArrays.cpp') diff --git a/Tests/TestApp/src/TestShaderResArrays.cpp b/Tests/TestApp/src/TestShaderResArrays.cpp index 9b2b422..dc65b9a 100644 --- a/Tests/TestApp/src/TestShaderResArrays.cpp +++ b/Tests/TestApp/src/TestShaderResArrays.cpp @@ -32,7 +32,8 @@ using namespace Diligent; -TestShaderResArrays::TestShaderResArrays(IRenderDevice *pDevice, IDeviceContext *pDeviceContext, bool bUseOpenGL, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent) +TestShaderResArrays::TestShaderResArrays(IRenderDevice *pDevice, IDeviceContext *pDeviceContext, bool bUseOpenGL, float fMinXCoord, float fMinYCoord, float fXExtent, float fYExtent) : + UnitTestBase("Shader resource array test") { m_pRenderDevice = pDevice; m_pDeviceContext = pDeviceContext; @@ -187,4 +188,6 @@ void TestShaderResArrays::Draw() DrawAttrs.Topology = Diligent::PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; DrawAttrs.NumVertices = 4; // Draw quad m_pDeviceContext->Draw( DrawAttrs ); + + SetStatus(TestResult::Succeeded); } -- cgit v1.2.3