浏览代码

Updating navigation test mock shapes

Signed-off-by: gadams3 <[email protected]>
gadams3 2 年之前
父节点
当前提交
acd8774630
共有 1 个文件被更改,包括 4 次插入4 次删除
  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);
         }
 
-        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