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,15 +1,11 @@
#include "fixtures/D3D12TestFixture.h"
TEST_F(D3D12TestFixture, CommandList_Placeholder) {
ASSERT_NE(GetCommandList(), nullptr);
}
TEST_F(D3D12TestFixture, CommandList_Close) {
TEST_F(D3D12TestFixture, CommandList_Close_Basic) {
HRESULT hr = GetCommandList()->Close();
ASSERT_HRESULT_SUCCEEDED(hr);
}
TEST_F(D3D12TestFixture, CommandList_GetDesc) {
TEST_F(D3D12TestFixture, CommandList_Get_Desc) {
D3D12_COMMAND_LIST_TYPE type = GetCommandList()->GetType();
EXPECT_EQ(type, D3D12_COMMAND_LIST_TYPE_DIRECT);
}