ladybird/Tests/AK
Jonne Ransijn d7596a0a61 AK: Don't implicitly convert Optional<T&> to Optional<T>
C++ will jovially select the implicit conversion operator, even if it's
complete bogus, such as for unknown-size types or non-destructible
types. Therefore, all such conversions (which incur a copy) must
(unfortunately) be explicit so that non-copyable types continue to work.

NOTE: We make an exception for trivially copyable types, since they
are, well, trivially copyable.

Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2024-12-04 01:58:22 +01:00
..
CMakeLists.txt AK: Remove unused floating point conversion code 2024-10-08 19:02:51 +02:00
TestAKBindings.swift AK: Skip test for StringView's CxxSequence conformance for now 2024-11-15 10:51:45 -07:00
TestAllOf.cpp
TestAnyOf.cpp
TestArray.cpp AK: Conform SimpleIterator to the random access iterator requirements 2024-08-17 17:44:37 -06:00
TestAtomic.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBadge.cpp
TestBase64.cpp AK: Add a Base64 decoder to decode into an existing buffer 2024-09-03 17:43:03 +02:00
TestBinaryHeap.cpp
TestBinarySearch.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBitCast.cpp
TestBitmap.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestBitStream.cpp
TestBuiltinWrappers.cpp
TestByteBuffer.cpp
TestByteString.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestCharacterTypes.cpp AK: Add CharacterTypes::is_ascii_base36_digit() 2024-01-13 19:01:35 -07:00
TestChecked.cpp Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
TestCircularBuffer.cpp
TestCircularQueue.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestDisjointChunks.cpp
TestDistinctNumeric.cpp
TestDoublyLinkedList.cpp
TestDuration.cpp AK: Stop exporting AK::Duration into the global namespace 2024-07-18 09:43:38 +01:00
TestEndian.cpp
TestEnumBits.cpp
TestEnumerate.cpp AK: Introduce AK::enumerate 2024-03-23 09:02:58 -04:00
TestFind.cpp
TestFixedArray.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestFixedPoint.cpp AK: Stop exporting AK::FixedPoint into the global namespace 2024-07-18 09:43:38 +01:00
TestFloatingPointParsing.cpp Tests: Remove duplicated test for FloatingPointParsing 2024-11-06 09:22:44 +00:00
TestFlyString.cpp
TestFormat.cpp
TestGenericLexer.cpp AK: Remove ByteString from GenericLexer 2024-01-12 17:03:53 -07:00
TestHashFunctions.cpp
TestHashMap.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestHashTable.cpp Meta: Update my email address everywhere 2024-11-01 12:14:53 +01:00
TestHex.cpp
TestIndexSequence.cpp AK: Make IndexSequence use size_t 2024-02-11 18:53:00 +01:00
TestInsertionSort.cpp
TestIntegerMath.cpp AK: Prevent overflow of the min when clamping unsigned values to signed 2024-06-24 12:41:32 -06:00
TestIntrusiveList.cpp
TestIntrusiveRedBlackTree.cpp
TestIPv4Address.cpp Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
TestIPv6Address.cpp
TestJSON.cpp AK: Make String::number() infallible 2024-10-14 20:47:35 +02:00
TestLEB128.cpp
TestLexicalPath.cpp AK: Make LexicalPath::relative_path() fallible 2024-11-09 12:42:27 -07:00
TestMemory.cpp
TestMemoryStream.cpp AK: Add methods to BufferedStream to resize the user supplied buffer 2024-04-21 11:46:55 +02:00
TestNeverDestroyed.cpp Tests: Stop invoking UB in AK::NeverDestroyed's tests 2024-06-05 17:19:14 -06:00
TestNonnullOwnPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestNonnullRefPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestNumberFormat.cpp
TestOptional.cpp AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
TestOptionParser.cpp AK: Update OptionParser::m_arg_index by substracting skipped args 2024-02-06 00:08:30 +01:00
TestOwnPtr.cpp
TestPrint.cpp
TestQueue.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestQuickSelect.cpp
TestQuickSort.cpp
TestRedBlackTree.cpp
TestRefPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestSegmentedVector.cpp
TestSIMD.cpp Meta: Update my email address everywhere 2024-11-01 12:14:53 +01:00
TestSinglyLinkedList.cpp
TestSourceGenerator.cpp
TestSourceLocation.cpp
TestSpan.cpp AK: Conform SimpleIterator to the random access iterator requirements 2024-08-17 17:44:37 -06:00
TestStack.cpp
TestStatistics.cpp
TestStdLibExtras.cpp AK: Make ceil_div() handle one argument being negative correctly 2024-04-27 07:09:08 +02:00
TestString.cpp AK+LibUnicode: Add a method to trim non-ASCII whitespace from a String 2024-11-03 20:42:46 -05:00
TestStringFloatingPointConversions.cpp AK: Define FloatingPointExponentialForm comparator in the AK namespace 2024-08-13 14:11:05 +02:00
TestStringUtils.cpp
TestStringView.cpp AK: Ensure empty StringViews all compare as equal 2024-11-15 23:18:29 +01:00
TestTrie.cpp
TestTuple.cpp
TestTypedTransfer.cpp
TestTypeTraits.cpp
TestUFixedBigInt.cpp AK: Make BigIntBase more agnostic to non native word sizes 2024-03-25 14:26:29 -06:00
TestUtf8.cpp AK: Add Utf8View::for_each_split_view() method 2024-11-15 23:18:29 +01:00
TestUtf16.cpp AK: Add a method to compute UTF-16 length from a UTF-8 string 2024-07-31 05:55:34 -04:00
TestVariant.cpp Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
TestVector.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TestWeakPtr.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00