You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.9 KiB
Python
54 lines
2.9 KiB
Python
"""
|
|
All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
|
its licensors.
|
|
|
|
For complete copyright and license terms please see the LICENSE at the root of this
|
|
distribution (the "License"). All use of this software is governed by the License,
|
|
or, if provided, by the license below or the license accompanying this file. Do not
|
|
remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
"""
|
|
|
|
# This suite consists of all test cases that are passing and have been verified.
|
|
|
|
import pytest
|
|
import os
|
|
import sys
|
|
|
|
from ly_test_tools import LAUNCHERS
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/../automatedtesting_shared')
|
|
|
|
from base import TestAutomationBase
|
|
|
|
@pytest.mark.SUITE_periodic
|
|
@pytest.mark.parametrize("launcher_platform", ['windows_editor'])
|
|
@pytest.mark.parametrize("project", ["AutomatedTesting"])
|
|
class TestAutomation(TestAutomationBase):
|
|
def test_ActorSplitsAfterCollision(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterCollision as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterRadialDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterRadialDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterCapsuleDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterCapsuleDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterImpactSpreadDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterImpactSpreadDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterShearDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterShearDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterTriangleDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterTriangleDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"])
|
|
|
|
def test_ActorSplitsAfterStressDamage(self, request, workspace, editor, launcher_platform):
|
|
from . import ActorSplitsAfterStressDamage as test_module
|
|
self._run_test(request, workspace, editor, test_module, expected_lines=[], unexpected_lines=["Assert"]) |