test: rename unit tests to Component_Category_SubBehavior format, remove Placeholder tests
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#include "fixtures/D3D12TestFixture.h"
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_Placeholder) {
|
||||
ASSERT_NE(GetDevice(), nullptr);
|
||||
}
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_CreateBuffer_DefaultHeap) {
|
||||
TEST_F(D3D12TestFixture, Buffer_Create_DefaultHeap) {
|
||||
const uint64_t bufferSize = 1024;
|
||||
|
||||
D3D12_HEAP_PROPERTIES heapProps = {};
|
||||
@@ -41,7 +37,7 @@ TEST_F(D3D12TestFixture, Buffer_CreateBuffer_DefaultHeap) {
|
||||
EXPECT_EQ(desc.Width, bufferSize);
|
||||
}
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_CreateBuffer_UploadHeap) {
|
||||
TEST_F(D3D12TestFixture, Buffer_Create_UploadHeap) {
|
||||
const uint64_t bufferSize = 2048;
|
||||
|
||||
D3D12_HEAP_PROPERTIES heapProps = {};
|
||||
@@ -72,7 +68,7 @@ TEST_F(D3D12TestFixture, Buffer_CreateBuffer_UploadHeap) {
|
||||
ASSERT_NE(buffer.Get(), nullptr);
|
||||
}
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_GetGPUVirtualAddress) {
|
||||
TEST_F(D3D12TestFixture, Buffer_Get_GPUVirtualAddress) {
|
||||
const uint64_t bufferSize = 512;
|
||||
|
||||
D3D12_HEAP_PROPERTIES heapProps = {};
|
||||
@@ -103,7 +99,7 @@ TEST_F(D3D12TestFixture, Buffer_GetGPUVirtualAddress) {
|
||||
EXPECT_NE(gpuAddress, 0);
|
||||
}
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_MapUnmap) {
|
||||
TEST_F(D3D12TestFixture, Buffer_Map_Unmap) {
|
||||
const uint64_t bufferSize = 256;
|
||||
|
||||
D3D12_HEAP_PROPERTIES heapProps = {};
|
||||
@@ -140,7 +136,7 @@ TEST_F(D3D12TestFixture, Buffer_MapUnmap) {
|
||||
buffer->Unmap(0, nullptr);
|
||||
}
|
||||
|
||||
TEST_F(D3D12TestFixture, Buffer_AlignmentRequirements) {
|
||||
TEST_F(D3D12TestFixture, Buffer_Get_AlignmentRequirements) {
|
||||
D3D12_CONSTANT_BUFFER_VIEW_DESC cbvDesc = {};
|
||||
cbvDesc.BufferLocation = 256;
|
||||
cbvDesc.SizeInBytes = 256;
|
||||
|
||||
Reference in New Issue
Block a user