@@ -53,39 +53,39 @@ struct WddmMemoryOperationsHandlerTest : public WddmTest {
5353 StackVec<GraphicsAllocation *, 2 > allocationData;
5454};
5555
56- TEST_F (WddmMemoryOperationsHandlerTest, givenRegularAllocatioWhenMakingResidentAllocaionExpectMakeResidentCalled ) {
56+ TEST_F (WddmMemoryOperationsHandlerTest, givenRegularAllocationWhenMakingResidentAllocationThenMakeResidentCalled ) {
5757 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 )), MemoryOperationsStatus::SUCCESS);
5858 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmAllocation), MemoryOperationsStatus::SUCCESS);
5959}
6060
61- TEST_F (WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenMakingResidentAllocaionExpectMakeResidentCalled ) {
61+ TEST_F (WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenMakingResidentAllocationThenMakeResidentCalled ) {
6262 allocationPtr = &wddmFragmentedAllocation;
6363
6464 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 )), MemoryOperationsStatus::SUCCESS);
6565 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmFragmentedAllocation), MemoryOperationsStatus::SUCCESS);
6666}
6767
68- TEST_F (WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenMakingResidentAllocaionExpectMakeResidentCalled ) {
68+ TEST_F (WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenMakingResidentAllocationThenMakeResidentCalled ) {
6969 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData)), MemoryOperationsStatus::SUCCESS);
7070 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmAllocation), MemoryOperationsStatus::SUCCESS);
7171 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmFragmentedAllocation), MemoryOperationsStatus::SUCCESS);
7272}
7373
74- TEST_F (WddmMemoryOperationsHandlerTest, givenRegularAllocatioWhenEvictingResidentAllocationExpectEvictCalled ) {
74+ TEST_F (WddmMemoryOperationsHandlerTest, givenRegularAllocationWhenEvictingResidentAllocationThenEvictCalled ) {
7575 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 )), MemoryOperationsStatus::SUCCESS);
7676 EXPECT_EQ (wddmMemoryOperationsHandler->evict (nullptr , wddmAllocation), MemoryOperationsStatus::SUCCESS);
7777 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmAllocation), MemoryOperationsStatus::MEMORY_NOT_FOUND);
7878}
7979
80- TEST_F (WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenEvictingResidentAllocationExpectEvictCalled ) {
80+ TEST_F (WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenEvictingResidentAllocationThenEvictCalled ) {
8181 allocationPtr = &wddmFragmentedAllocation;
8282
8383 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 )), MemoryOperationsStatus::SUCCESS);
8484 EXPECT_EQ (wddmMemoryOperationsHandler->evict (nullptr , wddmFragmentedAllocation), MemoryOperationsStatus::SUCCESS);
8585 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmFragmentedAllocation), MemoryOperationsStatus::MEMORY_NOT_FOUND);
8686}
8787
88- TEST_F (WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenEvictingResidentAllocationExpectEvictCalled ) {
88+ TEST_F (WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenEvictingResidentAllocationThenEvictCalled ) {
8989 EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData)), MemoryOperationsStatus::SUCCESS);
9090 EXPECT_EQ (wddmMemoryOperationsHandler->evict (nullptr , wddmAllocation), MemoryOperationsStatus::SUCCESS);
9191 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , wddmAllocation), MemoryOperationsStatus::MEMORY_NOT_FOUND);
0 commit comments