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/TestDepthStencilState.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestDepthStencilState.cpp') diff --git a/Tests/TestApp/src/TestDepthStencilState.cpp b/Tests/TestApp/src/TestDepthStencilState.cpp index 8ddb00c..94c6198 100644 --- a/Tests/TestApp/src/TestDepthStencilState.cpp +++ b/Tests/TestApp/src/TestDepthStencilState.cpp @@ -46,7 +46,7 @@ void TestDepthStencilState::CreateTestDSS( DepthStencilStateDesc &DSSDesc ) } TestDepthStencilState::TestDepthStencilState( IRenderDevice *pDevice, IDeviceContext *pContext ) : - TestPipelineStateBase(pDevice), + TestPipelineStateBase(pDevice, "Depth-stencil state initialization test"), m_pDeviceContext(pContext) { DepthStencilStateDesc &DSSDesc = m_PSODesc.GraphicsPipeline.DepthStencilDesc; @@ -158,4 +158,6 @@ TestDepthStencilState::TestDepthStencilState( IRenderDevice *pDevice, IDeviceCon m_pDevice->CreatePipelineState( m_PSODesc, &pPSO ); pScript->Run( m_pDeviceContext, "TestDSSDesc", pPSO ); } + + SetStatus(TestResult::Succeeded); } -- cgit v1.2.3