mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Rename test files to be unique
This commit is contained in:
parent
3af9168d03
commit
e4bffe5b84
@ -29,16 +29,16 @@ target_link_libraries(sfml-test-main PUBLIC SFML::System doctest::doctest_with_m
|
|||||||
set_target_warnings(sfml-test-main)
|
set_target_warnings(sfml-test-main)
|
||||||
|
|
||||||
set(SYSTEM_SRC
|
set(SYSTEM_SRC
|
||||||
System/Angle.cpp
|
System/Angle.test.cpp
|
||||||
System/Clock.cpp
|
System/Clock.test.cpp
|
||||||
System/Config.cpp
|
System/Config.test.cpp
|
||||||
System/Err.cpp
|
System/Err.test.cpp
|
||||||
System/FileInputStream.cpp
|
System/FileInputStream.test.cpp
|
||||||
System/MemoryInputStream.cpp
|
System/MemoryInputStream.test.cpp
|
||||||
System/String.cpp
|
System/String.test.cpp
|
||||||
System/Time.cpp
|
System/Time.test.cpp
|
||||||
System/Vector2.cpp
|
System/Vector2.test.cpp
|
||||||
System/Vector3.cpp
|
System/Vector3.test.cpp
|
||||||
)
|
)
|
||||||
sfml_add_test(test-sfml-system "${SYSTEM_SRC}" SFML::System)
|
sfml_add_test(test-sfml-system "${SYSTEM_SRC}" SFML::System)
|
||||||
target_compile_definitions(test-sfml-system PRIVATE
|
target_compile_definitions(test-sfml-system PRIVATE
|
||||||
@ -49,69 +49,69 @@ target_compile_definitions(test-sfml-system PRIVATE
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(WINDOW_SRC
|
set(WINDOW_SRC
|
||||||
Window/Context.cpp
|
Window/Context.test.cpp
|
||||||
Window/ContextSettings.cpp
|
Window/ContextSettings.test.cpp
|
||||||
Window/Cursor.cpp
|
Window/Cursor.test.cpp
|
||||||
Window/GlResource.cpp
|
Window/GlResource.test.cpp
|
||||||
Window/VideoMode.cpp
|
Window/VideoMode.test.cpp
|
||||||
Window/Window.cpp
|
Window/Window.test.cpp
|
||||||
Window/WindowBase.cpp
|
Window/WindowBase.test.cpp
|
||||||
)
|
)
|
||||||
sfml_add_test(test-sfml-window "${WINDOW_SRC}" SFML::Window)
|
sfml_add_test(test-sfml-window "${WINDOW_SRC}" SFML::Window)
|
||||||
|
|
||||||
set(GRAPHICS_SRC
|
set(GRAPHICS_SRC
|
||||||
Graphics/BlendMode.cpp
|
Graphics/BlendMode.test.cpp
|
||||||
Graphics/CircleShape.cpp
|
Graphics/CircleShape.test.cpp
|
||||||
Graphics/Color.cpp
|
Graphics/Color.test.cpp
|
||||||
Graphics/ConvexShape.cpp
|
Graphics/ConvexShape.test.cpp
|
||||||
Graphics/Drawable.cpp
|
Graphics/Drawable.test.cpp
|
||||||
Graphics/Font.cpp
|
Graphics/Font.test.cpp
|
||||||
Graphics/Glyph.cpp
|
Graphics/Glyph.test.cpp
|
||||||
Graphics/Image.cpp
|
Graphics/Image.test.cpp
|
||||||
Graphics/Rect.cpp
|
Graphics/Rect.test.cpp
|
||||||
Graphics/RectangleShape.cpp
|
Graphics/RectangleShape.test.cpp
|
||||||
Graphics/RenderStates.cpp
|
Graphics/RenderStates.test.cpp
|
||||||
Graphics/RenderTarget.cpp
|
Graphics/RenderTarget.test.cpp
|
||||||
Graphics/RenderTexture.cpp
|
Graphics/RenderTexture.test.cpp
|
||||||
Graphics/RenderWindow.cpp
|
Graphics/RenderWindow.test.cpp
|
||||||
Graphics/Shader.cpp
|
Graphics/Shader.test.cpp
|
||||||
Graphics/Shape.cpp
|
Graphics/Shape.test.cpp
|
||||||
Graphics/Sprite.cpp
|
Graphics/Sprite.test.cpp
|
||||||
Graphics/Text.cpp
|
Graphics/Text.test.cpp
|
||||||
Graphics/Texture.cpp
|
Graphics/Texture.test.cpp
|
||||||
Graphics/Transform.cpp
|
Graphics/Transform.test.cpp
|
||||||
Graphics/Transformable.cpp
|
Graphics/Transformable.test.cpp
|
||||||
Graphics/Vertex.cpp
|
Graphics/Vertex.test.cpp
|
||||||
Graphics/VertexArray.cpp
|
Graphics/VertexArray.test.cpp
|
||||||
Graphics/VertexBuffer.cpp
|
Graphics/VertexBuffer.test.cpp
|
||||||
Graphics/View.cpp
|
Graphics/View.test.cpp
|
||||||
)
|
)
|
||||||
sfml_add_test(test-sfml-graphics "${GRAPHICS_SRC}" SFML::Graphics)
|
sfml_add_test(test-sfml-graphics "${GRAPHICS_SRC}" SFML::Graphics)
|
||||||
|
|
||||||
set(NETWORK_SRC
|
set(NETWORK_SRC
|
||||||
Network/Ftp.cpp
|
Network/Ftp.test.cpp
|
||||||
Network/Http.cpp
|
Network/Http.test.cpp
|
||||||
Network/IpAddress.cpp
|
Network/IpAddress.test.cpp
|
||||||
Network/Packet.cpp
|
Network/Packet.test.cpp
|
||||||
Network/Socket.cpp
|
Network/Socket.test.cpp
|
||||||
Network/SocketSelector.cpp
|
Network/SocketSelector.test.cpp
|
||||||
Network/TcpListener.cpp
|
Network/TcpListener.test.cpp
|
||||||
Network/TcpSocket.cpp
|
Network/TcpSocket.test.cpp
|
||||||
Network/UdpSocket.cpp
|
Network/UdpSocket.test.cpp
|
||||||
)
|
)
|
||||||
sfml_add_test(test-sfml-network "${NETWORK_SRC}" SFML::Network)
|
sfml_add_test(test-sfml-network "${NETWORK_SRC}" SFML::Network)
|
||||||
|
|
||||||
set(AUDIO_SRC
|
set(AUDIO_SRC
|
||||||
Audio/AlResource.cpp
|
Audio/AlResource.test.cpp
|
||||||
Audio/InputSoundFile.cpp
|
Audio/InputSoundFile.test.cpp
|
||||||
Audio/Music.cpp
|
Audio/Music.test.cpp
|
||||||
Audio/OutputSoundFile.cpp
|
Audio/OutputSoundFile.test.cpp
|
||||||
Audio/Sound.cpp
|
Audio/Sound.test.cpp
|
||||||
Audio/SoundBuffer.cpp
|
Audio/SoundBuffer.test.cpp
|
||||||
Audio/SoundBufferRecorder.cpp
|
Audio/SoundBufferRecorder.test.cpp
|
||||||
Audio/SoundRecorder.cpp
|
Audio/SoundRecorder.test.cpp
|
||||||
Audio/SoundSource.cpp
|
Audio/SoundSource.test.cpp
|
||||||
Audio/SoundStream.cpp
|
Audio/SoundStream.test.cpp
|
||||||
)
|
)
|
||||||
sfml_add_test(test-sfml-audio "${AUDIO_SRC}" SFML::Audio)
|
sfml_add_test(test-sfml-audio "${AUDIO_SRC}" SFML::Audio)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user