test: rename unit tests to Component_Category_SubBehavior format, remove Placeholder tests

This commit is contained in:
2026-03-20 03:18:30 +08:00
parent 9c5bd3c33f
commit 9ad699cd6f
12 changed files with 44 additions and 84 deletions

View File

@@ -1,10 +1,6 @@
#include "fixtures/D3D12TestFixture.h"
TEST_F(D3D12TestFixture, CommandAllocator_Placeholder) {
ASSERT_NE(GetCommandAllocator(), nullptr);
}
TEST_F(D3D12TestFixture, CommandAllocator_Reset) {
TEST_F(D3D12TestFixture, CommandAllocator_Reset_Basic) {
ComPtr<ID3D12CommandAllocator> allocator;
HRESULT hr = GetDevice()->CreateCommandAllocator(
D3D12_COMMAND_LIST_TYPE_DIRECT,
@@ -16,7 +12,7 @@ TEST_F(D3D12TestFixture, CommandAllocator_Reset) {
ASSERT_HRESULT_SUCCEEDED(hr);
}
TEST_F(D3D12TestFixture, CommandAllocator_MultipleReset) {
TEST_F(D3D12TestFixture, CommandAllocator_Reset_Multiple) {
ComPtr<ID3D12CommandAllocator> allocator;
HRESULT hr = GetDevice()->CreateCommandAllocator(
D3D12_COMMAND_LIST_TYPE_DIRECT,
@@ -30,7 +26,7 @@ TEST_F(D3D12TestFixture, CommandAllocator_MultipleReset) {
}
}
TEST_F(D3D12TestFixture, CommandAllocator_DifferentTypes) {
TEST_F(D3D12TestFixture, CommandAllocator_Create_DifferentTypes) {
D3D12_COMMAND_LIST_TYPE types[] = {
D3D12_COMMAND_LIST_TYPE_DIRECT,
D3D12_COMMAND_LIST_TYPE_COMPUTE,