Remove unused files from SceneCore
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include <AzTest/AzTest.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/GraphData/IMeshVertexColorData.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
namespace SceneAPI
|
||||
{
|
||||
namespace DataTypes
|
||||
{
|
||||
class MockIMeshVertexColorData
|
||||
: public IMeshVertexColorData
|
||||
{
|
||||
public:
|
||||
AZ_RTTI(MockIMeshVertexColorData, "{15AD4D4A-BFCC-41C3-B9BB-F7EFBA0AE0CC}", IMeshVertexColorData)
|
||||
|
||||
virtual ~MockIMeshVertexColorData() = default;
|
||||
|
||||
MOCK_CONST_METHOD0(GetCustomName,
|
||||
const AZ::Name& ());
|
||||
|
||||
MOCK_CONST_METHOD0(GetCount,
|
||||
size_t());
|
||||
MOCK_CONST_METHOD1(GetColor,
|
||||
const Color&(size_t index));
|
||||
};
|
||||
} // namespace DataTypes
|
||||
} //namespace SceneAPI
|
||||
} // namespace AZ
|
||||
@@ -1,39 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/GraphData/IMeshVertexUVData.h>
|
||||
#include <AzCore/Name/Name.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
namespace SceneAPI
|
||||
{
|
||||
namespace DataTypes
|
||||
{
|
||||
class MockIMeshVertexUVData
|
||||
: public IMeshVertexUVData
|
||||
{
|
||||
public:
|
||||
AZ_RTTI(MockIMeshVertexUVData, "{34528E85-2EE0-4999-B838-113BEDB1A258}", IMeshVertexUVData);
|
||||
|
||||
~MockIMeshVertexUVData() override = default;
|
||||
|
||||
MOCK_CONST_METHOD0(GetCustomName,
|
||||
const AZ::Name& ());
|
||||
|
||||
MOCK_CONST_METHOD0(GetCount,
|
||||
size_t());
|
||||
MOCK_CONST_METHOD1(GetUV,
|
||||
const AZ::Vector2&(size_t index));
|
||||
};
|
||||
} // DataTypes
|
||||
} // SceneAPI
|
||||
} // AZ
|
||||
@@ -1,36 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include <AzCore/RTTI/RTTI.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/GraphData/ITransform.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
class Transform;
|
||||
namespace SceneAPI
|
||||
{
|
||||
namespace DataTypes
|
||||
{
|
||||
class MockITransform
|
||||
: public ITransform
|
||||
{
|
||||
public:
|
||||
AZ_RTTI(MockITransform, "{1D4A832F-823C-4A80-97E1-A95D1B2BF18F}", ITransform);
|
||||
|
||||
virtual ~MockITransform() override = default;
|
||||
|
||||
MOCK_METHOD0(GetMatrix,
|
||||
AZ::SceneAPI::DataTypes::MatrixType&());
|
||||
MOCK_CONST_METHOD0(GetMatrix,
|
||||
const AZ::SceneAPI::DataTypes::MatrixType&());
|
||||
};
|
||||
} // DataTypes
|
||||
} // SceneAPI
|
||||
} // AZ
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AzTest/AzTest.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/Groups/IMeshGroup.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/ManifestBase/ISceneNodeSelectionList.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
namespace SceneAPI
|
||||
{
|
||||
namespace DataTypes
|
||||
{
|
||||
class MockIMeshGroup
|
||||
: public IMeshGroup
|
||||
{
|
||||
public:
|
||||
AZ_RTTI(MockIMeshGroup, "{AB119B84-E6D8-4CF3-9456-E44B23EDCDFE}", IMeshGroup);
|
||||
|
||||
// IMeshGroup
|
||||
MOCK_METHOD0(GetSceneNodeSelectionList,
|
||||
ISceneNodeSelectionList&());
|
||||
MOCK_CONST_METHOD0(GetSceneNodeSelectionList,
|
||||
const ISceneNodeSelectionList&());
|
||||
MOCK_CONST_METHOD0(GetId,
|
||||
const Uuid&());
|
||||
MOCK_METHOD1(SetName,
|
||||
void(AZStd::string&&));
|
||||
MOCK_METHOD1(OverrideId,
|
||||
void(const Uuid&));
|
||||
|
||||
// IGroup
|
||||
MOCK_CONST_METHOD0(GetName,
|
||||
const AZStd::string&());
|
||||
|
||||
MOCK_METHOD0(GetRuleContainer, Containers::RuleContainer&());
|
||||
MOCK_CONST_METHOD0(GetRuleContainerConst, const Containers::RuleContainer&());
|
||||
};
|
||||
} // namespace DataTypes
|
||||
} // namespace SceneAPI
|
||||
} // namespace AZ
|
||||
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include <SceneAPI/SceneCore/DataTypes/Rules/IBlendShapeRule.h>
|
||||
|
||||
namespace AZ::SceneAPI::DataTypes { class IMockSceneNodeSelectionList; }
|
||||
|
||||
namespace AZ::SceneAPI::DataTypes
|
||||
{
|
||||
class MockIBlendShapeRule
|
||||
: public IBlendShapeRule
|
||||
{
|
||||
public:
|
||||
ISceneNodeSelectionList& GetSceneNodeSelectionList() override
|
||||
{
|
||||
return const_cast<ISceneNodeSelectionList&>(static_cast<const MockIBlendShapeRule*>(this)->GetSceneNodeSelectionList());
|
||||
}
|
||||
|
||||
MOCK_CONST_METHOD0(GetSceneNodeSelectionList, const ISceneNodeSelectionList&());
|
||||
};
|
||||
} // namespace AZ::SceneAPI::DataTypes
|
||||
@@ -1,48 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include <AzCore/std/string/string.h>
|
||||
#include <AzCore/RTTI/RTTI.h>
|
||||
#include <SceneAPI/SceneCore/DataTypes/Rules/IMeshAdvancedRule.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
namespace SceneAPI
|
||||
{
|
||||
namespace DataTypes
|
||||
{
|
||||
class MockIMeshAdvancedRule
|
||||
: public IMeshAdvancedRule
|
||||
{
|
||||
public:
|
||||
AZ_RTTI(MockIMeshAdvancedRule, "{6F67873D-778C-4D11-8818-B1906E60B67D}", IMeshAdvancedRule);
|
||||
|
||||
virtual ~MockIMeshAdvancedRule() override = default;
|
||||
|
||||
MOCK_CONST_METHOD0(Use32bitVertices,
|
||||
bool());
|
||||
MOCK_CONST_METHOD0(MergeMeshes,
|
||||
bool());
|
||||
MOCK_CONST_METHOD0(GetVertexColorStreamName,
|
||||
const AZStd::string&());
|
||||
MOCK_CONST_METHOD0(IsVertexColorStreamDisabled,
|
||||
bool());
|
||||
MOCK_CONST_METHOD1(GetUVStreamName,
|
||||
AZStd::string&(size_t index));
|
||||
MOCK_CONST_METHOD1(IsUVStreamDisabled,
|
||||
bool(size_t index));
|
||||
MOCK_CONST_METHOD0(GetUVStreamCount,
|
||||
size_t());
|
||||
MOCK_CONST_METHOD0(UseCustomNormals,
|
||||
bool());
|
||||
};
|
||||
} // DataTypes
|
||||
} // SceneAPI
|
||||
} // AZ
|
||||
@@ -11,7 +11,6 @@ set(FILES
|
||||
Mocks/DataTypes/GraphData/MockIMeshData.h
|
||||
Mocks/DataTypes/MockIGraphObject.h
|
||||
Mocks/DataTypes/Groups/MockIGroup.h
|
||||
Mocks/DataTypes/Groups/MockIMeshGroup.h
|
||||
Mocks/DataTypes/ManifestBase/MockISceneNodeSelectionList.h
|
||||
Mocks/Events/MockAssetImportRequest.h
|
||||
Tests/TestsMain.cpp
|
||||
|
||||
Reference in New Issue
Block a user