Description

If a user relies on the automation unit testing, they can get a incorrect result when using TMap because Contains( ) doesn't always return the correct result.

Steps to Reproduce
  1. Download attached project and extract
  2. Right-click FailTest.uproject and generate Visual Studio project files.
  3. Open project Visual Studio file.
  4. Run project as Development Editor
  5. In editor, select Window->Developer Tools->Sessions Frontend
  6. Select "Editor" from the left side panel.
  7. Select Automation from the tabs in Sessions Frontend window.
  8. Check the box for FailTest from the Automation lists
  9. Click, "Start Tests"

Result:

Second Contains( ) returns false even though TMap has element it is looking for.

Expected:

TMap Contains( ) function finds existing element in TMap

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Non-Issue
ComponentUE - Automation Test
Affects Versions4.12.5
CreatedJul 27, 2016
ResolvedJul 9, 2018
UpdatedJul 14, 2021