#rb Martin.Ridgers
#rnx
- This is a cutdown version of the test that was used to identify the bug from CL 29283139.
- Moved the existing tests for FChunkedArray from "System::Core" to "System::Core::Containers"
[CL 29590591 by paul chipchase in ue5-main branch]
* Add new low-level unit test file for TMap tests, currently with a single unit test called "System::Core::Containers::TMap::TIterator::RemoveCurrent". This test checks that TMap::TIterator::RemoveCurrent removes the pointed-at pair from the map but that subsequent increments of the iterator do not miss any element.
* Update the documentation comment of TMap::TIterator::RemoveCurrent to point out that the method can be called without interrupting subsequent increments.
#jira UE-183373
#rb Steve.Robb
[FYI] brooke.hubert
[CL 29323829 by sebastian arleryd in ue5-main branch]
- Find and FindAndSetFirstZeroBit updated to use FindFromImpl internally, as they perform the same search logic.
- FindAndSetLastZeroBit updated to use FindLast internally, as it performs the same search logic.
- Unit tests added for TestFindLast, TestFindAndSetFirstZeroBit and TestFindAndSetLastZeroBit
#rb Steve.Robb
[CL 26343861 by nick edwards in ue5-main branch]
could be 'bool FRingBufferTest::Counter::operator ==(const FRingBufferTest::Counter &) const' [rewritten expression '!(x == y)']
or 'built-in C++ operator!=(uint32, uint32)'
#preflight 641840ec5d3e25354ff1393d
#rb none
#jira none
[CL 24716675 by nick edwards in ue5-main branch]
Additional small quality of life fixes
#rb Jerome.Delattre, Rob.Huyett
#preflight 64120656bd6894c435c1f7c4
[CL 24660566 by chris constantinescu in ue5-main branch]
This was not possible on C++14 and is possible now due to guaranteed copy elision in C++17.
This will break backward compatibility when WriteToString was used as a type or in a context where it would be copied.
#preflight 640a0460af3fc3529234c216
#rb Matt.Peters
[CL 24583299 by devin doucette in ue5-main branch]
#rb elias.lozadabenavent, steve.robb
#preflight 6405d349c13b7130d2ca260b, 6408a106aa00423335ab51ec, 6408a727827cf9251b20e1c0
[CL 24562507 by nick edwards in ue5-main branch]
* Fixed TPagedArray::Emplace to properly construct the element in the first available page.
* Updated API to match TArray's:
** Added Emplace_GetRef
** Added Add_GetRef
** Emplace now returns the insertion index.
** Add now returns the insertion index.
** Added a Reset overload with a parameter capacity.
** Added an Empty overload with a parameter capacity.
** Updated code to use UE_NODISCARD
* Updated unit tests
** Added Reserve Emplace multiple pages
** Added Emplace variants
** Added Empty with target capacity
** Added Empty vs Reset with target capacity
#tests passed unit tests
#rb steve.robb
#preflight 64072ae5c13b7130d24177d2
[CL 24541998 by elias lozadabenavent in ue5-main branch]
[FYI] nick.edwards
Original CL Desc
-----------------------------------------------------------------
Cherrypicked CL 23921097: Consistency: TEST_CASE_NAMED for Deque and PagedArray tests
#preflight 63d8608b31334253e538e9e1
#rnx
[FYI] elias.lozadabenavent
#ushell-cherrypick of 23921097 by chris.constantinescu
[CL 24537934 by nick edwards in ue5-main branch]
Translated Core\Tests\Containers\StringViewTest.cpp
Translated all files under Core\Tests\Templates
Translated Core\Tests\Compression\CompressedBufferTest.cpp
Translated two files under Core\Tests\Serialization
Translate all files under Core\Tests\Memory
#jira UE-176646
#rb adam.miezianko, chris.constantinescu, oleg.krasnov, mikalai.sukhikh
#preflight 63fc53a3dd78dd50f65f6c68, 63fc53b32b1a2765f9511939
[CL 24496245 by Mikita Hauruk in ue5-main branch]