Commit Graph

11 Commits

Author SHA1 Message Date
Devin Doucette
36c07f5ca7 LowLevelTests: Changed TTuple string conversion back to Catch::StringMaker
#preflight 622a14c6d51810f7ad3a3b91
#rb Chris.Constantinescu
#rnx

[CL 19336454 by Devin Doucette in ue5-main branch]
2022-03-10 10:44:46 -05:00
Devin Doucette
aaa2b7e0c8 LowLevelTests: Changed string conversions to use std::ostream
#preflight 62284f8e8842e17a67d8b0dc
#preflight 6228b09b31133a23da807108
#rb Zousar.Shaker
#rnx

[CL 19320231 by Devin Doucette in ue5-main branch]
2022-03-09 10:27:41 -05:00
Devin Doucette
f70b0f5085 LowLevelTests: Minimized code included by TestHarness.h
- Replaced CoreMinimal.h and StringConv.h with CoreTypes.h and forward declaration headers.
- Added push/pop for disabled warnings.
- Added FStringView string conversion.

#preflight 62261cfda71867308f1d58d8
#preflight 62264964e83598518fcee4f1
#rb Chris.Constantinescu, Zousar.Shaker
#rnx

[CL 19288993 by Devin Doucette in ue5-main branch]
2022-03-07 14:06:48 -05:00
chris constantinescu
598b3a8924 Removed global setup, created common core utilities for non-special cases.
Editor, Engine, CoreUObject etc will have their own separate utility headers for tests that rely on respective special modules.

Replace platform names in catch2 code.

LLT all tests run preflight: 621e3c91f1206ae3ea5b0a66

#preflight 621e3c8bf1206ae3ea5b0872
#rb Jerome.Delattre

[CL 19202751 by chris constantinescu in ue5-main branch]
2022-03-01 13:44:27 -05:00
stephen ma
8af4582071 Add ability to LowLevelTestsRunner --global-base-moulde to Pre-load and unload modules outside of catch runs.
- This should avoid the startup.cpp and teardown.cpp pattern and more predictiablly tear-down and setup tests during GlobalSetup/Teardown.

#jira OI-3788
#review @chris.constantinescu
#rb @chris.constantinescu
#preflight 6217e996785f20248baf285d

[CL 19124450 by stephen ma in ue5-main branch]
2022-02-24 15:45:40 -05:00
chris constantinescu
c8cb8f0b04 Module-level setup/teardown with the help of source file build order overrides.
- optional alter of source file build order: towards beginning or end
- test build: correctly handle inclusion of special dependencies such as Engine, Editor, CoreUObject and ApplicationCore
- existing tests: add setup and teardown tests that initialize test modules. This causes setup and teardown to be local to module instead of global, which was not the correct way to run tests across multiple modules.

#preflight 62151e43dc0170cfb3649ee8
#rb Jermoe.Delattre

[CL 19076600 by chris constantinescu in ue5-main branch]
2022-02-22 13:52:35 -05:00
chris constantinescu
a067ec8344 Modularized setup and teardown for LLTs + global setup preliminary.
Nightly LLTs preflight 6205328b4c6c33118fa85c3d
#rb Jerome.Delattre,Mark.Lintott
#preflight 62053298a155a4cddabf933f

[CL 18938635 by chris constantinescu in ue5-main branch]
2022-02-10 12:33:20 -05:00
JeanMichel Dignard
570fa3a6b6 In preparation for the editor and enterprise low level tests:
- Added a CommonEngineInit file to share engine init code accross low level tests programs.
- Made the preprocessor definitions setup overridable per low level tests target.
#preflight 61f17d11f8088a3d298ce242

[CL 18739254 by JeanMichel Dignard in ue5-main branch]
2022-01-26 13:31:44 -05:00
chris constantinescu
410d45be21 Low level tests - platform fixes and presubmit default compilation to prevent breaking
- Addressed remaining NDA platform code that was present in public facing folders
- Compile LowLevelTests target by default on presubmits and incremental builds for Main and 5.0
- Add dummy test on LowLevelTetsts and run it on consoles daily - this test is called "Self" and it's a sanity check run for Catch2
- Fixed Switch indefinite hang - Self test run successfully on this console
- Added IRunningStateOptions to control app run state: startup and check running state options
- AudioUnitTests run successfully on XboxOneGDK and XSX
- XSX Self and AudioUnitTests run successfully but XSX reports VideoEscape errors - JIRA UE-131334

#jira UEENGQA-52681, UE-127449
#rb Jerome.Delattre
#robomerge 5.0

[CL 17830364 by chris constantinescu in ue5-main branch]
2021-10-15 12:15:53 -04:00
David Harvey
ac0fbfd8f4 make sure the Gamethread Id is stored before configuring tests.
- fix for async loading thread assert on platforms that require cooked data.

#jira UE-127389
#robomerge 5.0
#rb Eric.McDaniel, Chris.Constantinescu
#rnx

[CL 17746872 by David Harvey in ue5-main branch]
2021-10-07 04:06:58 -04:00
chris constantinescu
cd6530efad Low Level Tests: code tests built on Catch2 with multi-platform support.
Intended for writing unit, integration, functional and all types of tests.

#jira UEENGQA-49764
#rb Jerome.Delattre

[CL 17666358 by chris constantinescu in ue5-main branch]
2021-09-29 15:50:07 -04:00