Fix typos.
Change-Id: Ic97b7a3ff980aa402a7259ebeccda96e2e35a397 Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
This commit is contained in:
parent
fc02d57f65
commit
c5d4fa93f9
|
@ -336,7 +336,7 @@ TEST_F(MemoryAllocatorTest, GivenPointerAndSizeWhenAskedToCreateGrahicsAllocatio
|
||||||
EXPECT_NE(&allocation->fragmentsStorage, &handleStorage);
|
EXPECT_NE(&allocation->fragmentsStorage, &handleStorage);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(MemoryAllocatorTest, givenMemoryManagerWhensetForce32BitAllocationsIsCalledWithTrueMutlipleTimesThenAllocatorIsReused) {
|
TEST_F(MemoryAllocatorTest, givenMemoryManagerWhensetForce32BitAllocationsIsCalledWithTrueMultipleTimesThenAllocatorIsReused) {
|
||||||
memoryManager->setForce32BitAllocations(true);
|
memoryManager->setForce32BitAllocations(true);
|
||||||
EXPECT_NE(nullptr, memoryManager->allocator32Bit.get());
|
EXPECT_NE(nullptr, memoryManager->allocator32Bit.get());
|
||||||
auto currentAllocator = memoryManager->allocator32Bit.get();
|
auto currentAllocator = memoryManager->allocator32Bit.get();
|
||||||
|
|
|
@ -744,7 +744,7 @@ TEST_F(DrmMemoryManagerTest, givenMemoryManagerWhenAskedFor32BitAllocationWhenLi
|
||||||
memoryManager->freeGraphicsMemory(allocation);
|
memoryManager->freeGraphicsMemory(allocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(DrmMemoryManagerTest, givenMemoryManagerWhensetForce32BitAllocationsIsCalledWithTrueMutlipleTimesThenAllocatorIsReused) {
|
TEST_F(DrmMemoryManagerTest, givenMemoryManagerWhensetForce32BitAllocationsIsCalledWithTrueMultipleTimesThenAllocatorIsReused) {
|
||||||
// allocator32Bit is created unconditionally when limitedRangeAllocation is enabled.
|
// allocator32Bit is created unconditionally when limitedRangeAllocation is enabled.
|
||||||
if (!memoryManager->limitedGpuAddressRangeAllocator.get()) {
|
if (!memoryManager->limitedGpuAddressRangeAllocator.get()) {
|
||||||
EXPECT_EQ(nullptr, memoryManager->allocator32Bit.get());
|
EXPECT_EQ(nullptr, memoryManager->allocator32Bit.get());
|
||||||
|
|
Loading…
Reference in New Issue