Commit Graph

346 Commits

Author SHA1 Message Date
brooke hubert
1245dca4a0 Allow Game View to be toggled in ortho viewports
#jira UE-211474
#rb sebastian.arleryd

[CL 32828661 by brooke hubert in ue5-main branch]
2024-04-09 12:08:41 -04:00
sebastian lewicki
e76b014cc7 Promoting functionality to be able to set and reset console variables across various automation tests as to not be limited for Functional Blueprint tests.
#jira UE-210704
#rnx
#rb chris.constantinescu, Jerome.Delattre, rob.huyett, sean.sweeney

[CL 32733842 by sebastian lewicki in ue5-main branch]
2024-04-04 13:10:10 -04:00
zack neyland
355af361ca FuncTest: Fix up visilbity issue.
[CL 32189806 by zack neyland in ue5-main branch]
2024-03-12 16:04:01 -04:00
luke thatcher
01203093c6 Deprecate:
- FRHITexture2D
 - FRHITexture2DArray
 - FRHITexture3D
 - FRHITextureCube
 - FTexture2DRHIRef
 - FTexture2DArrayRHIRef
 - FTexture3DRHIRef
 - FTextureCubeRHIRef

Replaced with FRHITexture and FTextureRHIRef

These types were unified in UE 5.1 and have been defined via "using" statements to the same underlying texture type for several engine releases.

#rb christopher.waters

[CL 31724002 by luke thatcher in ue5-main branch]
2024-02-22 11:38:35 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
richard malo
14620f45a3 External Data Layer V1
- Allows for plugins to inject/remove content (actors) in a partitioned world
- Serves as a replacement for the experimental 'Content Bundle' feature
- Added new External Data Layer (EDL) Asset
- Added new Game Feature Action 'AddWorldPartitionContent' to control activation of an EDL asset
- Supports Data Layers inside a plugin (child of an EDL)
- Added builder to convert content bundles to EDL (UGameFeatureActionConvertContentBundleWorldPartitionBuilder)
- Feature is temporarily disabled by default and can be turned on using Editor Experimental Settings 'Enable World Partition External Data Layers' flag
#jira UE-204248
#rb JeanFrancois.Dube, Patrick.Enfedaque, Sebastien.Lussier
#tests QAGame PIE/-game/cooked, Regression test PIE/cook of latest game map, Tested PIE/cook of latest game map converted to EDL

[CL 31015614 by richard malo in ue5-main branch]
2024-01-30 14:18:27 -05:00
jerome delattre
16c8e184ed Fix screenshot timing out if FinishTest is triggered when not ready.
#jira UE-204873
#rnx
#rb sean.sweeney

[CL 30908342 by jerome delattre in ue5-main branch]
2024-01-25 19:24:52 -05:00
jerome delattre
0f4365c1d7 Fix screenshot comparison slipping to the next test
Add a condition to FinishTest to make sure it gets trigger only if the screenshot was taken and compared.
+ move functional test metadata log to when the test is about to run

#jira UE-204671
#rnx
#rb christopher.fiala, rob.huyett, sebastian.lewicki

[CL 30856076 by jerome delattre in ue5-main branch]
2024-01-24 14:18:50 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
sergei svetlov
c739c0cb35 Clean up screenshot comparison report pipeline
#rb Jerome.Delattre
#jira UE-200919
#rnx

[CL 30687983 by sergei svetlov in ue5-main branch]
2024-01-18 12:22:38 -05:00
aris theophanidis
1b845cc9c3 Improvements in navigation includes
Removing Actor.h from NavigationTypes.h
Removing NavigationQueryFilter.h when unnecessary in headers
And additional non-unity build fixes
#rb Maxime.Mercier

[CL 30621909 by aris theophanidis in ue5-main branch]
2024-01-15 13:31:49 -05:00
christopher fiala
d1fd4e1e08 [Reintegration] - CL30342517
[FYI] christopher.fiala
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL30314361
[FYI] christopher.fiala
Original CL Desc
-----------------------------------------------------------------
Overhaul stereo variants to support an arbitrary number of variants and correctly implement per-variant frame delays and test preparation, significantly reducing false failures.
Fixes compatibility with TSR sequence screenshot functional test blueprints.

#jira UE-194361
#rb sean.sweeney

[CL 30352401 by christopher fiala in ue5-main branch]
2023-12-15 12:41:53 -05:00
christopher fiala
9c052993ed [Backout] - CL30314361
[FYI] christopher.fiala
Original CL Desc
-----------------------------------------------------------------
Overhaul stereo variants to support an arbitrary number of variants and correctly implement per-variant frame delays and test preparation, significantly reducing false failures.
Fixes compatibility with TSR sequence screenshot functional test blueprints.

#jira UE-194361
#rb sean.sweeney

[CL 30342529 by christopher fiala in ue5-main branch]
2023-12-14 22:03:05 -05:00
sebastian lewicki
b0217d4b01 Fixing crash when trying to restore a CVar to a previous value, when the previous value was empty.
#jira UE-202497
#rnx
#rb Jerome.Delattre, rob.huyett

[CL 30320078 by sebastian lewicki in ue5-main branch]
2023-12-14 10:10:02 -05:00
christopher fiala
7196554c9e Overhaul stereo variants to support an arbitrary number of variants and correctly implement per-variant frame delays and test preparation, significantly reducing false failures.
Fixes compatibility with TSR sequence screenshot functional test blueprints.

#jira UE-194361
#rb sean.sweeney

[CL 30314369 by christopher fiala in ue5-main branch]
2023-12-14 00:32:29 -05:00
matt peters
64658cf6ae GetAssetRegistryTags deprecation: Make the old GetAssetRegistryTags and related functions deprecated.
Upgrade the overrides and callsites in all of Epic's code.
Every class that can be subclassed by licensees that has its override change needs to keep the old version of the function as deprecated. Otherwise subclasses that call Super::GetAssetRegistryTags will have a compile error instead of a deprecation warning.
Several classes had their own extension method for GetAssetRegistryTags being passed on to user data classes. Updated all of those to take FAssetRegistryTagsContext just like GetAssetRegistryTags does.
#rnx
#rb Francis.Hurteau

[CL 30224166 by matt peters in ue5-main branch]
2023-12-08 21:45:21 -05:00
oleg krasnov
99d23a4344 FunctionalTesting - Make screenshot test actor details more intuitive while working with DisableNoisyRenderingFeatures/EyeAdaptation options.
#jira UE-117952
#rb Jerome.Delattre
#rnx

[CL 30175002 by oleg krasnov in ue5-main branch]
2023-12-07 02:32:18 -05:00
christopher fiala
6291d6738b Update LightweightStereoTestVariants mode to run ONLY stereo test variants, no baseline, since they've been moved into their own category. Remove support for specifically exempting tests from running stereo variants. Save screenshots even for passed variants for the time being, since it's now possible to have a variant be the only test running.
Now `Automation.EnableStereoTestVariants=1` (off by default) enables ViewRectOffset, and adding `Automation.LightweightStereoTestVariants=1` causes us to ONLY run ViewRectOffset (on by default).

#jira UE-194361
#rb Jerome.Delattre

[CL 30174576 by christopher fiala in ue5-main branch]
2023-12-06 23:16:08 -05:00
urias rooney
f62f510394 Fix linker issues when declaring types outside of "FunctionalTesting" that inherit from "FFunctionalTestBase"
#rb dylan.fansler, Eric.Knapik, garrett.conti

[CL 30098023 by urias rooney in ue5-main branch]
2023-12-04 17:33:28 -05:00
kiaran ritchie
4e92dad5ee Fixes IK Rig rotation engine test. Issues caused by floating point discrepency in Rotator/Quat conversion between Linux/Windows platforms.
#JIRA UE-198900
#rb halfdan.ingvarsson



#virtualized

[CL 29989343 by kiaran ritchie in ue5-main branch]
2023-11-29 11:07:09 -05:00
christopher fiala
d5ec52b3cc Add a new CVar, Automation.LightweightStereoTestVariants, which stops variants from running if we've already encounted an error, and skips saving/attaching screenshots for successful variants to save space. Enabled by default. Also moves the "Supports Stereo Test Variants" checkbox to the "Screenshot" section.
#jira UE-194361
#rb jerome.delattre, chris.constantinescu

[CL 29718813 by christopher fiala in ue5-main branch]
2023-11-14 13:31:30 -05:00
christopher fiala
a0d65ab7f0 Move the global stereo test variants CVar out of ScreenshotFunctionalTest.cpp and into AutomationTest.cpp as "Automation.EnableStereoTestVariants", where it can now be controlled via the automation commandline
(e.g. "Automation Runtest Anisotropy;EnableStereoTests;Quit;").

#jira UE-194361
#rb jeff.fisher

[CL 29529430 by christopher fiala in ue5-main branch]
2023-11-07 14:57:30 -05:00
sergei svetlov
dc071d7436 Support the capability to add info, warning and error directly from Python test
#jira UE-198836
#rb jerome.delattre, sebastian.lewicki-qa-sdets

[CL 29359650 by sergei svetlov in ue5-main branch]
2023-11-02 06:07:56 -04:00
christopher fiala
9942c169c2 Add the ViewRectOffset "test variant" to all screenshot functional tests. When a test variant is enabled, the test will take two screenshots, one in the base configuration, and one in the variant configuration, and fail if both are not similar to the ground truth. The ViewRectOffset variant will be enabled if "Support Stereo Test Variants" is checked on the functional test actor (TRUE by default) and the CVar r.EnableStereoScreenshotTestVariants is set to 1. The CVar is 0 by default for the time being, so there should be no changes to ET unless it is manually set to true.
#jira UE-194361
#rb david.harvey

[CL 29341539 by christopher fiala in ue5-main branch]
2023-11-01 20:00:13 -04:00
BenVlodgi
528da2d693 PR #10982: Disable and hide HLOD category for Functional Test Actor
Reduce options bloat from new feature(HLOD).

#rb sebastian.lewicki

[CL 28884914 by BenVlodgi in ue5-main branch]
2023-10-18 14:33:56 -04:00