Commit Graph

103 Commits

Author SHA1 Message Date
sean sweeney
40656279aa FunctionalTest tagging and filtering
Exposes a "Test Tags" field to the Editor UI for Actor objects implementing FunctionalTest, such as BlueprintFunctionalTest and ScreenshotFunctionalTest. This persists user-defined tag data via the asset cache, and supports hot-editing.

#jira UE-213249
#rb jerome.delattre, rob.huyett, sebastian.lewicki

[CL 35829246 by sean sweeney in ue5-main branch]
2024-08-27 12:52:26 -04:00
sean sweeney
e995cbd272 [Backout] CL 35802356
Resolves breaking change on Mac which needs investigation

#jira UE-213249

[CL 35803184 by sean sweeney in ue5-main branch]
2024-08-26 13:18:36 -04:00
sean sweeney
4219762f70 FunctionalTest tagging and filtering
Exposes a "Test Tags" field to the Editor UI for Actor objects implementing FunctionalTest, such as BlueprintFunctionalTest and ScreenshotFunctionalTest. This persists user-defined tag data via the asset cache, and supports hot-editing.

#jira UE-213249
#rb jerome.delattre, rob.huyett, sebastian.lewicki

[CL 35802364 by sean sweeney in ue5-main branch]
2024-08-26 12:46:27 -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
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
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
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
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
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
DuncanRare
0b2cf01d8a Adding flag to toggle whether or not garbage collection should be delayed, by default they are. Added property to show in the Editor Details panel for the Functional Test in the Advanced section.
PR # 10898
#commit 10898
#jira UE-195842

[CL 28294665 by DuncanRare in ue5-main branch]
2023-09-27 17:26:59 -04:00
mikalai sukhikh
f6ea3b88d9 Add CVar setting node in AFunctionalTest class
#jira UE-171493
#rb adam.miezianko, chris.constantinescu, jerome.delattre
#preflight 64524cb90722d4f6a2dd4351
#preflight 64524cf20722d4f6a2dd4728

[CL 25370907 by mikalai sukhikh in ue5-main branch]
2023-05-08 10:57:51 -04:00
Mikita Hauruk
a3a65dc94f Added check GIsAutomationTesting to avoid [Owner] and [Description] log in PIE
#jira UE-178872
#rb adam.miezianko, jerome.delattre, oleg.krasnov, mikalai.sukhikh
#preflight 64009836df66ed5fc16523c9

[CL 24495775 by Mikita Hauruk in ue5-main branch]
2023-03-03 01:32:33 -05:00
Jerome Delattre
ba5b3a87b5 Output Functional Tests metadata in test info during execution in the log
Use Automation.LogBPTestMetadata CVar to enable the behavior

#jira UE-175266
#preflight 63e15f061020773a3f113f5b
#rb Chris.Constantinescu

[CL 24177156 by Jerome Delattre in ue5-main branch]
2023-02-13 11:33:49 -05:00
Jerome Delattre
edbf2e2482 Use TestLabel instead of GetName() when logging through Functional Test actor
#jira UE-169721
#rnx
#preflight 636d35594a0097651fff3120
#rb Chris.Constantinescu

[CL 23087025 by Jerome Delattre in ue5-main branch]
2022-11-10 15:48:48 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
bryan sefcik
0beee50b45 Updated ../Engine/Source/Developer/... to inline gen.cpp files
Before:
Total CPU Time: 53783.640625 s
Total time in Parallel executor: 558.66 seconds
After:
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

#jira

[CL 22173145 by bryan sefcik in ue5-main branch]
2022-09-24 13:31:25 -04:00
zak middleton
cab8a68724 #ue5 - Fix truncation warnings in modules: DeviceProfileServices, FieldSystemEngine, FontEditor, FunctionalTesting. Includes some related engine fixes as well.
#jira UE-160832
#rb Andrew.Davidson, Dave.Jones2
#preflight 632cbdc17b582f58ab6315ad

[CL 22164453 by zak middleton in ue5-main branch]
2022-09-23 20:23:56 -04:00
dave jones2
0f77ef0224 Added missing tests for various core types. Also cleaned up const usage in the function declarations.
This is a resubmit of 20675159, which changed the inputs to const ref. However, that can break BP nodes that rely on using default values. Instead, we just drop the superfluous 'const' instead.

#rb justin.hare
#preflight 62bf1669ed35ee71a76e4b18
#jira none

[CL 20917189 by dave jones2 in ue5-main branch]
2022-07-01 13:50:07 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
dave jones2
9b1a83861a [Backout] - CL20675159
#fyi dave.jones2
Original CL Desc
-----------------------------------------------------------------
Added missing tests for various core types. Also cleaned up const and reference usage in the function declarations.

#rb justin.hare
#preflight 62a93a76054bb5c04e1b0020
#jira none

[CL 20678517 by dave jones2 in ue5-main branch]
2022-06-15 18:56:38 -04:00
dave jones2
ef9dbb4e52 Added missing tests for various core types. Also cleaned up const and reference usage in the function declarations.
#rb justin.hare
#preflight 62a93a76054bb5c04e1b0020
#jira none

[CL 20675159 by dave jones2 in ue5-main branch]
2022-06-15 15:10:02 -04:00
maxime mercier
0562a84f2e Fixed 2 problems when hitting stop test button,
* the test aren't stop correctly. So the second time you run it, it give you the error that the test is already running.
*  it does not stop PIE even if it started it. But the automation controller manager finishes all the test, then it stops correctly PIE.


#ROBOMERGE-AUTHOR: maxime.mercier
#ROBOMERGE-SOURCE: CL 20519358 via CL 20519368 via CL 20519373
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20521157 by maxime mercier in ue5-main branch]
2022-06-06 11:39:00 -04:00
JeanFrancois Dube
51ad294492 OFPA support for functional tests.
Maps and functional test actors needs to be resaved.

#jira UE-151432, UE-145986
#rb richard.malo
#preflight 628f7234f622d972b5d7d752

[CL 20378197 by JeanFrancois Dube in ue5-main branch]
2022-05-26 08:42:23 -04:00
Michael Galetzka
76cee75854 Removed useless stack walks for test info messages; added some test stats
#jira none
#rb simon.tovey
#preflight 6283f65c486700b561a1dc26

[CL 20249713 by Michael Galetzka in ue5-main branch]
2022-05-17 15:47:34 -04:00