Browse Source

Updating navigation test mock shapes

Signed-off-by: gadams3 <[email protected]>
gadams3 2 years ago
parent
commit
acd8774630
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Gems/RecastNavigation/Code/Tests/MockInterfaces.h

+ 4 - 4
Gems/RecastNavigation/Code/Tests/MockInterfaces.h

@@ -50,10 +50,10 @@ namespace RecastNavigationTests
             return AZ::Aabb::CreateCenterHalfExtents(AZ::Vector3::CreateZero(), AZ::Vector3::CreateOne() * 10);
             return AZ::Aabb::CreateCenterHalfExtents(AZ::Vector3::CreateZero(), AZ::Vector3::CreateOne() * 10);
         }
         }
 
 
-        MOCK_METHOD0(GetShapeType, AZ::Crc32());
-        MOCK_METHOD2(GetTransformAndLocalBounds, void(AZ::Transform&, AZ::Aabb&));
-        MOCK_METHOD1(IsPointInside, bool(const AZ::Vector3&));
-        MOCK_METHOD1(DistanceSquaredFromPoint, float(const AZ::Vector3&));
+        MOCK_CONST_METHOD0(GetShapeType, AZ::Crc32());
+        MOCK_CONST_METHOD2(GetTransformAndLocalBounds, void(AZ::Transform&, AZ::Aabb&));
+        MOCK_CONST_METHOD1(IsPointInside, bool(const AZ::Vector3&));
+        MOCK_CONST_METHOD1(DistanceSquaredFromPoint, float(const AZ::Vector3&));
     };    
     };    
 
 
     class MockDebug : public AzFramework::DebugDisplayRequestBus::Handler
     class MockDebug : public AzFramework::DebugDisplayRequestBus::Handler