Added test for JSON dump with custom pools and their names
diff --git a/docs/html/index.html b/docs/html/index.html
index 7577405..a07b79e 100644
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -65,7 +65,7 @@
<div class="headertitle"><div class="title">D3D12 Memory Allocator </div></div>
</div><!--header-->
<div class="contents">
-<div class="textblock"><p ><b>Version 2.0.0</b> (2022-03-25)</p>
+<div class="textblock"><p ><b>Version 2.0.1-development</b> (2022-03-29)</p>
<p >Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. <br />
License: MIT</p>
<p >Documentation of all members: <a class="el" href="_d3_d12_mem_alloc_8h.html">D3D12MemAlloc.h</a></p>
diff --git a/include/D3D12MemAlloc.h b/include/D3D12MemAlloc.h
index 7640a11..dde7171 100644
--- a/include/D3D12MemAlloc.h
+++ b/include/D3D12MemAlloc.h
@@ -24,7 +24,7 @@
/** \mainpage D3D12 Memory Allocator
-<b>Version 2.0.0</b> (2022-03-25)
+<b>Version 2.0.1-development</b> (2022-03-29)
Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. \n
License: MIT
diff --git a/src/Tests.cpp b/src/Tests.cpp
index ab8394c..31804bb 100644
--- a/src/Tests.cpp
+++ b/src/Tests.cpp
@@ -1033,6 +1033,11 @@
D3D12_RESOURCE_STATE_GENERIC_READ,
NULL, // pOptimizedClearValue
IID_PPV_ARGS(&res)) );
+
+ // JSON dump
+ wchar_t* json = nullptr;
+ ctx.allocator->BuildStatsString(&json, TRUE);
+ ctx.allocator->FreeStatsString(json);
}
static void TestPoolsAndAllocationParameters(const TestContext& ctx)