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/TestSamplerCreation.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestSamplerCreation.cpp') diff --git a/Tests/TestApp/src/TestSamplerCreation.cpp b/Tests/TestApp/src/TestSamplerCreation.cpp index d058e34..e46f7cd 100644 --- a/Tests/TestApp/src/TestSamplerCreation.cpp +++ b/Tests/TestApp/src/TestSamplerCreation.cpp @@ -27,7 +27,8 @@ using namespace Diligent; -TestSamplerCreation::TestSamplerCreation(IRenderDevice *pDevice) : +TestSamplerCreation::TestSamplerCreation(IRenderDevice *pDevice) : + UnitTestBase("Test sampler creation"), m_pDevice(pDevice) { // Test different filters @@ -123,4 +124,6 @@ TestSamplerCreation::TestSamplerCreation(IRenderDevice *pDevice) : m_pDevice->CreateSampler(SamplerDesc, &pSampler2); assert(pSampler1 == pSampler2); } + + SetStatus(TestResult::Succeeded); } -- cgit v1.2.3