mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 02:50:26 +00:00
f88acedc8f
Currently I don't expect this code to be ever used in Ladybird.
101 lines
2.4 KiB
CMake
101 lines
2.4 KiB
CMake
set(AK_TEST_SOURCES
|
|
TestAllOf.cpp
|
|
TestAnyOf.cpp
|
|
TestArray.cpp
|
|
TestAtomic.cpp
|
|
TestBadge.cpp
|
|
TestBase64.cpp
|
|
TestBinaryHeap.cpp
|
|
TestBinarySearch.cpp
|
|
TestBitCast.cpp
|
|
TestBitmap.cpp
|
|
TestBitStream.cpp
|
|
TestBuiltinWrappers.cpp
|
|
TestByteBuffer.cpp
|
|
TestByteString.cpp
|
|
TestCharacterTypes.cpp
|
|
TestChecked.cpp
|
|
TestCircularBuffer.cpp
|
|
TestCircularQueue.cpp
|
|
TestDisjointChunks.cpp
|
|
TestDistinctNumeric.cpp
|
|
TestDoublyLinkedList.cpp
|
|
TestEndian.cpp
|
|
TestEnumBits.cpp
|
|
TestEnumerate.cpp
|
|
TestFind.cpp
|
|
TestFixedArray.cpp
|
|
TestFixedPoint.cpp
|
|
TestFloatingPointParsing.cpp
|
|
TestFlyString.cpp
|
|
TestFormat.cpp
|
|
TestGenericLexer.cpp
|
|
TestHashFunctions.cpp
|
|
TestHashMap.cpp
|
|
TestHashTable.cpp
|
|
TestHex.cpp
|
|
TestIPv4Address.cpp
|
|
TestIPv6Address.cpp
|
|
TestIndexSequence.cpp
|
|
TestInsertionSort.cpp
|
|
TestIntegerMath.cpp
|
|
TestIntrusiveList.cpp
|
|
TestIntrusiveRedBlackTree.cpp
|
|
TestJSON.cpp
|
|
TestLEB128.cpp
|
|
TestLexicalPath.cpp
|
|
TestMemory.cpp
|
|
TestMemoryStream.cpp
|
|
TestNeverDestroyed.cpp
|
|
TestNonnullOwnPtr.cpp
|
|
TestNonnullRefPtr.cpp
|
|
TestNumberFormat.cpp
|
|
TestOptional.cpp
|
|
TestOptionParser.cpp
|
|
TestOwnPtr.cpp
|
|
TestPrint.cpp
|
|
TestQueue.cpp
|
|
TestQuickSelect.cpp
|
|
TestQuickSort.cpp
|
|
TestRedBlackTree.cpp
|
|
TestRefPtr.cpp
|
|
TestSegmentedVector.cpp
|
|
TestSIMD.cpp
|
|
TestSinglyLinkedList.cpp
|
|
TestSourceGenerator.cpp
|
|
TestSourceLocation.cpp
|
|
TestSpan.cpp
|
|
TestStack.cpp
|
|
TestStatistics.cpp
|
|
TestStdLibExtras.cpp
|
|
TestString.cpp
|
|
TestStringFloatingPointConversions.cpp
|
|
TestStringUtils.cpp
|
|
TestStringView.cpp
|
|
TestDuration.cpp
|
|
TestTrie.cpp
|
|
TestTuple.cpp
|
|
TestTypeTraits.cpp
|
|
TestTypedTransfer.cpp
|
|
TestUFixedBigInt.cpp
|
|
TestUtf16.cpp
|
|
TestUtf8.cpp
|
|
TestVariant.cpp
|
|
TestVector.cpp
|
|
TestWeakPtr.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS AK_TEST_SOURCES)
|
|
serenity_test("${source}" AK)
|
|
endforeach()
|
|
|
|
target_link_libraries(TestString PRIVATE LibUnicode)
|
|
|
|
if (ENABLE_SWIFT)
|
|
|
|
# FIXME: Convert to use swift-testing after resolving https://github.com/LadybirdBrowser/ladybird/issues/1201
|
|
add_executable(TestAKBindings TestAKBindings.swift)
|
|
target_link_libraries(TestAKBindings PRIVATE AK)
|
|
target_compile_options(TestAKBindings PRIVATE -parse-as-library)
|
|
add_test(NAME TestAKBindings COMMAND TestAKBindings)
|
|
endif()
|