Commit Graph

832 Commits (647982ea3913040e8c8e1583cfd6cd102d0258bf)

Author SHA1 Message Date
jckand-amzn f8734d7d06 Finalizing update of Editor tests to utilize prefab system
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
AMZN-Igarri 042ed3b877
AssetBrowser SearchFilteringTest: Added delay when inserting a string to the search file. (#6036)
* Added delay when inserting a string to the search file.

Signed-off-by: AMZN-Igarri <82394219+AMZN-Igarri@users.noreply.github.com>

* Added explanatory comment

Signed-off-by: AMZN-Igarri <82394219+AMZN-Igarri@users.noreply.github.com>
4 years ago
Scott Murray 2492c0a4f4 enum must be dereferenced with .value also added get_outcome.GetError() to pull more information from any get_container_item failures
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jckand-amzn 9123ef7c50 Merge branch 'development' of https://github.com/o3de/o3de into jckand/EditorPrefabTests
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 7b172667cf Adding info lines for debugging File Menu tests and waits during drag and drop operations in Docking test
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Allen Jackson 353d4bb2bb
{lyn8938} looks into the asset database to detect products (#6709)
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
4 years ago
jckand-amzn 60b8292abf Adding Docking and EditMenu tests to Periodic suite for Jenkins testing
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Scott Murray 5f9a4a5eed docstring clarification and addressing review comments
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jckand-amzn 6ae8c63431 Re-enabling Periodic suite for testing on Jenkins
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Allen Jackson 6c3d5c434e
{lyn8865} Adding DataTypes::ScriptProcessorFallbackLogic (#6396)
* {lyn8865} Adding DataTypes::ScriptProcessorFallbackLogic

- Give the user an option how to handle fallback logic for script rules

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* the new code found an error in a Python script... it seems to work!

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* fixing up the regression test

Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>

* dump version number

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
4 years ago
jckand-amzn 9c85cd19a7 Skipping Docking test due to unknown Jenkins failure
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 2296cf228c Removing custom teardown for closing O3DE applications, and adding to list of LY_PROCESSES to close with test
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 90320f8857 Merge branch 'development' of https://github.com/o3de/o3de into jckand/EditorPrefabTests
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Scott Murray d343caa3f2 add optional force_get to get_property_tree
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Chris Galvan 3194422a33
Merge pull request #6426 from aws-lumberyard-dev/PrefabAutoTests
Make 'test_WindowsMacPlatforms_MoveCorruptedSliceFile_MoveSuccess' to use prefab instead
4 years ago
jckand-amzn 4426d15d32 Adding explicit wait to avoid teardown issues with external tools
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 3bc42143e2 Merge branch 'development' of https://github.com/o3de/o3de into jckand/EditorPrefabTests
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Scott Murray a7d173db3d changes from review and switching to assert model instead of return bool
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
jckand-amzn 955a6db374 Converting Editor automated tests to utilize prefab system
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Gene Walters b391d7a86f
Merge pull request #6309 from aws-lumberyard-dev/LYN-6769_TestingRPCs
Multiplayer AR Testing RPCs
4 years ago
Gene Walters 26a5128576 Renaming py util methods for reporting log lines based on feedback
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 0b78c377f8 Minor: py method comment added
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Sean Sweeney 1f31f14e9b
Merge pull request #6534 from aws-lumberyard-dev/remove_failing_test
removing outdated remote console test
4 years ago
evanchia 09c041559c removing outdated remote console test
Signed-off-by: evanchia <evanchia@amazon.com>
4 years ago
Junbo Liang 44744d95b0
Fix the cmake issue for AWSI automation tests (#6531)
Signed-off-by: Junbo Liang <68558268+junbo75@users.noreply.github.com>
4 years ago
Junbo Liang 9ee60e6eba
AWSI automation tests support on Linux (#6278)
* AWSI automation tests support on Linux

Signed-off-by: Junbo Liang <68558268+junbo75@users.noreply.github.com>
4 years ago
Gene Walters 8b041f5280 merging latest dev
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 874bbbfca3 Better magic number naming based on review feedback
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters fd078e3c29 Small py var name change based on review feedback. Updating script graphs from previous commit to use new RPC name
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters d508d5c4c2 Updating pytest code comments and RPC name based on review feedback
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Scott Murray 1ba23247b4 sandboxing DisplayMapper P0 test for investigation
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
chiyenteng b2c9c01622 Remove incorrect comment
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
4 years ago
Scott Murray 291e172f9e fixing some docstrings
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Scott Murray 9b5dcf82b5 updates extend editor_entity_utils.py functionality
Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
Tom Hulton-Harrop d065eb9498
Initial improvements to fix viewport icon selection and draw order (#6284)
* wip fixes for entity viewport icons displaying in the correct order and handling selection correctly

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* add additional comment about z value

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* move manual sorting and some small tidy-up

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update comment

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* updates following initial round of PR feedback

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* additional changes to support tests for entity icon intersection

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* add support to enable/disable icons separately from helpers

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* final tests added and small tidy-up to display EntityId correctly

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update some manipulator test framework calls after utility functions were moved

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* fix for implicit cast

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* move icon scale values to AZ_CVARS

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* fix failing tests caught in AR and update some naming conventions for tests

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update naming convention for members of ProjectedViewportRay

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update other references to ProjectedViewportRay

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update more references to ProjectedViewportRay change

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* update menus for python tests

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>
4 years ago
chiyenteng 069eb6710d Make python automated test 'test_WindowsMacPlatforms_MoveCorruptedSliceFile_MoveSuccess' to use prefab instead
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
4 years ago
chiyenteng ca49eedc5f
Convert prefab to temp spawnable assets (#6179)
* Convert prefab to temp in-memory spawnable assets

Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com>
4 years ago
Gene Walters 0a7e9388ad Cleanup: Adding wait_for_critical_expected_line as a public method to utils.py and updated the RPC test to use it.
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 8b044e23ce Merge branch 'upstream/development' into LYN-6769_TestingRPCs 4 years ago
Gene Walters 4b3d1452fd
Merge pull request #6066 from aws-lumberyard-dev/LYN-8514_AutomatedReviewServerLogChecks
Updating Multiplayer PyTests To Check Server Logs
4 years ago
moraaar 045eea03e6
Converted NvCloth automated tests to prefabs (#6253)
* Deleted cloth slice assets and AutomatedTesting levels based on slices

Signed-off-by: moraaar <moraaar@amazon.com>

* Recreated nvcloth AutomatedTesting levels for prefabs

Signed-off-by: moraaar <moraaar@amazon.com>

* Run nvcloth automated tests with prefabs enabled (which is the default)

Signed-off-by: moraaar <moraaar@amazon.com>
4 years ago
John Jones-Steele 9e7d5fe52b
Test the Terrain World configuration changes when parameters are chan… (#6063)
* Test the Terrain World configuration changes when parameters are changed in the component

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Before merge

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Before merge 2

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge 2

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge 3

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change after merge to fix conflicts

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fix merge conflict

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fix merge conflict

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* CHanges from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
4 years ago
Gene Walters 80a216e079 Adding RPC test. Update editor-servers to flush stdout
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
jromnoa 1be7845cd2
Merge pull request #6085 from aws-lumberyard-dev/Atom/jromnoa/add-remaining-gpu-tests-to-optimized-classes
Enable optimized GPU tests and make them the main GPU tests.
4 years ago
sphrose f06230f614 fix merge conflict
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
sphrose 2316ddac65
Merge pull request #5784 from aws-lumberyard-dev/terrain/sphrose/vegetation_tests
Terrain/sphrose/vegetation tests
4 years ago
jromnoa 9038cdfcf9 fix merge conflict between constants in atom_constants.py
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 523691497d call AtomComponentProperties.light(), AtomComponentProperties.directional_light(), etc. as is for its component name, rather than make a component name variable
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 9d6dc1ac63 add ATTENUATION_RADIUS_MODE constant with its 2 available options of automatic or explicit
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa ad3148ece5 add new enter_exit_game_mode_take_screenshot() shared function
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
Gene Walters 390bd6ece3 Merge branch 'upstream/development' into LYN-6769_TestingRPCs 4 years ago
Gene Walters 9ae3da7acd Merge branch 'upstream/development' into LYN-8514_AutomatedReviewServerLogChecks 4 years ago
jckand-amzn 02fbf31311 Merge branch 'development' of https://github.com/o3de/o3de into jckand/PrefabTestOptimization
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
smurly e3306f948f
Atom Level component test support in editor_entity_utils.py and tests for level components (#6082)
* Level component helper and test cases for Atom Level components which currently crash

Signed-off-by: Scott Murray <scottmur@amazon.com>

* moved a close paren to end of previous line to match existing style

Signed-off-by: Scott Murray <scottmur@amazon.com>

* adding a forgotten import

Signed-off-by: Scott Murray <scottmur@amazon.com>

* minor refactor and prep for adding back the Display Mapper Game component test

Signed-off-by: Scott Murray <scottmur@amazon.com>

* putting Game compoenent Display Mapper test back with addition of setting property Enabled to true

Signed-off-by: Scott Murray <scottmur@amazon.com>

* typo in line fixed Test. bocomes Tests.

Signed-off-by: Scott Murray <scottmur@amazon.com>
4 years ago
sphrose e5a3f21e29 fix merge conflict
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
jckand-amzn 7cabe3e6af Merge branch 'development' of https://github.com/o3de/o3de into jckand/LinuxCrashTest
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
amzn-sean 09c9548ba4
Automated testing create_backup and restore_backup respects file flags. (#6062)
* Automated testing create_backup and restore_backup respects file flags.

Example:
If the file that is to be backed-up is readonly, when restored that file will be readonly.
If the file that is to be backed-up is not readonly, when restored that file will be not readonly.

Fixes an issue that would mark physics setreg files to readonly after running AutomatedTesting when restoring from the backup.

* update LyTestTools tests that use create/restore backup to expect copy2 instead of copy

Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
jckand-amzn 658877a9a1 Merge branch 'development' of https://github.com/o3de/o3de into jckand/LinuxCrashTest
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 7657caf6d2 Added helpers to resource locators for finding the platform specific crash logs
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Gene Walters fb330b2af9 Merge branch 'upstream/development' into LYN-6769_TestingRPCs 4 years ago
LesaelR 2324e1b569
Added a test to verify Asset Processor Batch leaves joblogs for failed jobs. (#6069)
Signed-off-by: Rosario Cox <lesaelr@amazon.com>
4 years ago
sphrose 4e5b62ee25 conflict fix
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
jckand-amzn 1f51e186fb Removing intentional crash used for testing from CreatePrefab_WithSingleEntity.py
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn e6fb876682 Updating error log handling for Linux
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jromnoa 97cd722ac1 remove shadowmap size calls to fix test, clean up some property value assignments for component tests
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
LesaelR 0498e4a9c3
Added an assert to verify AP and AP Batch close on teardown. (#5891)
* Added an assert to verify AP and AP Batch close on teardown.

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Removed ".exe" from assert to ensure it works on any platform
Fixed missing set of parenthesis in the assert
Added "AssetBuilder" to the assert to ensure assetbuilders have closed correctly

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Moving the helper function from asset_processor_fixture to asset_processor_utils.
Changed individual process_utils calls into a single call with a list.

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Added the missing references.

Signed-off-by: Rosario Cox <lesaelr@amazon.com>
4 years ago
jckand-amzn 9b0df63505 Testing crash log retrieval on Linux
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jromnoa d158d36ce4 add the test steps to the docstring for the AtomGPU_LightComponent_SpotLightScreenshotsMatchGoldenImages() function
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jckand-amzn ab76f8cb62 Combined tests under NoAutoTestMode test class. Updated prefab name in test due to conflict running in parallel.
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 444fb8cfa0 Merge branch 'development' of https://github.com/o3de/o3de into jckand/PrefabTestOptimization
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
sphrose 0e5c9c3867
Merge pull request #5908 from aws-lumberyard-dev/terrain/sphrose/reference_shape
LYN-7693 Rename and move vegetation reference shape.
4 years ago
jromnoa cc76ee58a7 update light component constant, fixed the return value for find_editor_entity(), removed old GPU test scripts, added new GPU test scripts
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jckand-amzn b1c0d1e12b Enabling optimized test runner for Prefab tests
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jckand-amzn 68bf7c85ed
Adding setup step to remove temporary level that fails to cleanup (#6056)
* Adding setup step to remove temporary level that fails to cleanup with test teardown

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>

* Adding new create_level to TestHelper class with additional error logging

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>

* Cleaning up custom setup/teardown

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jromnoa 4664cf5aec
Merge pull request #5914 from aws-lumberyard-dev/Atom/jromnoa/add-display-mapper-component-property-check
Expand the Display Mapper component p0 test so that it modifies at least 1 property before passing.
4 years ago
Gene Walters c8b631054f Misc edit to keep an AZLOG_INFO instead of AZPrint. No real difference, but good as an example for pytest
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
sphrose 1026c598b2 merge conflict fixes
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
Gene Walters d2ee1b92f3 Merge branch 'upstream/development' into LYN-8514_AutomatedReviewServerLogChecks 4 years ago
sphrose 786a72cf63 LYN-7376 test_TerrainHeightGradientList_AddRemoveGradients
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
jckand-amzn 2809661794
Xfailing 2 DynVeg tests that fail to create levels in AR (#6051)
* Xfailing 2 DynVeg tests that fail to create levels in AR

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>

* Adding xfail to one more test, and updating reason

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
jromnoa c8a5f1b3eb add Asset.id value to the Display Mapper docstring for LDR color grading LUT property
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 79ac840246 add docstring info for the LDR color grading LUT property option for Display Mapper components
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 2d379e32ae Merge branch 'development' into Atom/jromnoa/add-display-mapper-component-property-check 4 years ago
Gene Walters 4b079b7608 Merge branch 'upstream/development' into LYN-8514_AutomatedReviewServerLogChecks 4 years ago
AMZN-stankowi b63064f604
Automated test for bundle mode that creates and mounts a bundle with a level.pak file in it, and verifies that occurs. (#5805)
This is a regression test for bundle mode causing the editor to crash if you mount a bundle containing a level.pak file.

Signed-off-by: AMZN-stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
4 years ago
jckand-amzn f05b63bcba
Enabling only optimized test runners for Editor/DynVeg/GradSignal (#5873)
Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
4 years ago
Esteban Papp 7c30adb66c
Removes _vs2019 from jenkins jobs and documentation (#5855)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
srikappa-amzn 4dd9e94bc3
Add tests for deleting an entity from the level and from another prefab (#5839)
* Added tests for deleting entity under level and other prefabs

Signed-off-by: srikappa-amzn <82230713+srikappa-amzn@users.noreply.github.com>

* Added class comments and improved variable names

Signed-off-by: srikappa-amzn <82230713+srikappa-amzn@users.noreply.github.com>

* Called the reflect function of PrefabFocusHandler from PrefabSystemComponent

Signed-off-by: srikappa-amzn <82230713+srikappa-amzn@users.noreply.github.com>

* Added function comments and made an if statement to be one line

Signed-off-by: srikappa-amzn <82230713+srikappa-amzn@users.noreply.github.com>
4 years ago
sphrose 7a0c866586 Merge branch 'development' into terrain/sphrose/reference_shape 4 years ago
sphrose 502a9e9e19 missed file
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
sphrose af2e0a117d LYN-6357 Terrain Macro Material tests
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
Gene Walters f4e762d9bd Adding warning if server fails to load the sv_defaultPlayerSpawnAsset when a client joins the server. Updating Multiplayer PyTest to watch out for this warning.
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters 75e8ef8089 Misc cleanup. Making sure ServerLauncher closes if tests fail
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Artur K 56904d1799
Cry Legacy: the Lessening (#5961)
* Generic Cleanup

Removals:

* Unused cvars,member variables and defines
* Windows media center edition support routines
* CSystem - removed debug_GetCallStackRaw/GetRootWindowMessageHandler/
UnloadDLL/ShutdownModuleLibraries

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix CryMessageBox return values in Windows build

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove named selection group and a few smaller unused functionalities

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager export functionality + 2 deprecated functions

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove object legacy freeze/hide support from ObjectManager

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager duplicate name dection, as well as object renaming

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager serialization and selection callbacks

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - remove MoveObjects/HitTestObject/EndEditParams and related members/functions

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove a bunch of unused clone related functionality + misc

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - misc removals

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - more removals

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused object selection/retrieval in ObjectManager and LoadObjects in ObjectLoader

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove unused material layers mask support

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More CBaseObject cleanups.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove SubObj functions and IMouseCreateCallback

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused procedural floor management, helper scale and tags.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove more unused methods.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Removals in multiple places.

CBaseObject - unused `OBJTYPE_DUMMY` flag removed, member `IsSameClass`
CObjectArchive removed unused methods/members
CObjectManager removed unused `Update` method

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More removals

IDisplayViewport - HitTestLine/GetGridStep/setHitcontext/
GetConstructionPlane
Unused Cry_Matrix44 template specializations.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* O3DE.exe Project-Centric "Open Editor" fix (#5852)

* The O3DE.exe Open Editor button now attempts to open the Editor in the
build directory of the project being opened.

If their is no Editor within the build directory of the Project, it uses
the Editor.exe in the current O3DE.exe executable directory if it exists

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Engine .gitignore now ignores the build directory if placed in the
AutomatedTesting project

Previously it was just ignoring a `[Bb]uild` directory if it was
directly within the engine root.
This change matches the behavior of the project templates.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Renamed the ProjectUtils GetEditorDirectory function to
GetEditorExecutablePath

Added a platform specific implementation for retrieving the path to the
Editor executable in the GetEditorExectuablePath function.

It first attempts to locate the Editor via checking the project build
directory for an Editor executable before falling back to checking the
binary directory of the currently running O3DE executable.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Correct the MacOS GetEditorExecutablePath to return the Editor path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Adding missing C++20 std::erase implementations (#5735)

There were already implementations for std::erase_if.
This adds the counterpart AZStd::erase versions

resolves #5734

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More removals and refactors

`ShowMessage` and `CryMessageBox` return void now
Simplify code in `CSystem::WarningV`
Remove unused `CryGetTicksPerSec`
Remove unused WinBase functionality
Replace `nanosleep` call in WinBase with `std::this_thread::sleep_for`
Remove unused Win32Wrapper routines
Remove unused IFunctorBase.h and IEntityObjectListener.h
Fix VectorAndArray.cpp compilation
Use QMessageBox instead of CryMessageBox in the editor.
Remove empty ArchiveVars platform specific files

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix test code.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove an unused  function

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject and undo description removals.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* A bunch of removals

* Remove IRenderNode
* Remove editor's KDTree
* Remove StatObjBus, InstanceStatObjEventBus::ReleaseData is redundant (
same functionality in the only available handler is triggered by
`OnCryEditorCloseScene`)
* Remove CExportManager::AddStatObj/AddMeshes/AddMesh,
IExportManager::ExportSingleStatObj
* Remove CIconManager/IIconManager::GetObject
* Remove CBaseObject::IntersectRayMesh
* Remove IIndexedMesh and related structs.
* Unused IUndoObject::GetDescription and all derived implementations.
* Unused CUndoBaseLibrary/CUndoBaseLibraryManager
* Unused Matrix34_tpl typedefs
* Legacy Xml classes cleanup

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused `Vec3ToVector3D` helper

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix - remove unused static variable

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
AMZN-stankowi a3835d8545
updated missing dependency tests to use assets that aren't deprecated (#5916)
* Updated missing dependency test to use assets that will have their builders change less often: other missing dependency test assets.

Signed-off-by: AMZN-stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Updated missing dependency tests to use assets that aren't deprecated or removed.

Signed-off-by: AMZN-stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
4 years ago
sphrose bad38f5ed0 Missed python tests
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
jromnoa ddd8dc6568 remove the optimized GPU test file and replace the existing GPU test file with the optimized tests, update atom_constants.py for the new Light component properties, add area light test script, still need to add spot light test script to fully finish this task
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
jromnoa 91060efd46 add a LDR color Grading LUT property set step as part of the p0 test for the Display Mapper component
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
4 years ago
sphrose e2dc1ed17b review changes
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
Gene Walters 97b27513e9 Editor is now listening to editor-server stdout so adding newlines to lines we care about. (Editor is separating out the log lines based on newline)
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago