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/TestVPAndSR.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestVPAndSR.cpp') diff --git a/Tests/TestApp/src/TestVPAndSR.cpp b/Tests/TestApp/src/TestVPAndSR.cpp index 0f60bda..c3b8b74 100644 --- a/Tests/TestApp/src/TestVPAndSR.cpp +++ b/Tests/TestApp/src/TestVPAndSR.cpp @@ -31,7 +31,8 @@ using namespace Diligent; -TestVPAndSR::TestVPAndSR(IRenderDevice *pDevice, IDeviceContext *pContext ) +TestVPAndSR::TestVPAndSR(IRenderDevice *pDevice, IDeviceContext *pContext ) : + UnitTestBase("Viewport and scissor rect test") { m_pRenderDevice = pDevice; m_pDeviceContext = pContext; @@ -46,4 +47,6 @@ TestVPAndSR::TestVPAndSR(IRenderDevice *pDevice, IDeviceContext *pContext ) m_pRenderScript->Run( m_pDeviceContext, "SetViewports" ); m_pRenderScript->Run( m_pDeviceContext, "SetScissorRects" ); + + SetStatus(TestResult::Succeeded); } -- cgit v1.2.3