2026-03-17 02:51:34 +08:00
|
|
|
#include "fixtures/D3D12TestFixture.h"
|
|
|
|
|
|
2026-03-17 03:29:39 +08:00
|
|
|
TEST_F(D3D12TestFixture, CommandList_Placeholder) {
|
2026-03-17 03:47:51 +08:00
|
|
|
ASSERT_NE(GetCommandList(), nullptr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, CommandList_Close) {
|
|
|
|
|
HRESULT hr = GetCommandList()->Close();
|
|
|
|
|
ASSERT_HRESULT_SUCCEEDED(hr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(D3D12TestFixture, CommandList_GetDesc) {
|
|
|
|
|
D3D12_COMMAND_LIST_TYPE type = GetCommandList()->GetType();
|
|
|
|
|
EXPECT_EQ(type, D3D12_COMMAND_LIST_TYPE_DIRECT);
|
2026-03-17 02:51:34 +08:00
|
|
|
}
|