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/AllocatorTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Tests/TestApp/src/AllocatorTest.cpp') diff --git a/Tests/TestApp/src/AllocatorTest.cpp b/Tests/TestApp/src/AllocatorTest.cpp index 098317c..89ef347 100644 --- a/Tests/TestApp/src/AllocatorTest.cpp +++ b/Tests/TestApp/src/AllocatorTest.cpp @@ -34,7 +34,8 @@ using namespace Diligent; AllocatorTest TheTest; -AllocatorTest::AllocatorTest() +AllocatorTest::AllocatorTest() : + UnitTestBase("Allocator test") { const Uint32 AllocSize = 32; const Uint32 NumAllocationsPerPage = 16; @@ -78,4 +79,5 @@ AllocatorTest::AllocatorTest() // Double free //TestAllocator.Free( Allocations[0][0] ); + SetStatus(TestResult::Succeeded); } -- cgit v1.2.3