mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
Implement GTest and change windows output path
Implement GTest as a testing infrastructure. Make windows output binaries to the build folder instead of the release type folder (potentially issue further down the line) Add a simple unit test for DestroyableComponent
This commit is contained in:
BIN
tests/dCommonTests/TestBitStreams/AMFBitStreamTest.bin
Normal file
BIN
tests/dCommonTests/TestBitStreams/AMFBitStreamTest.bin
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
BehaviorID
|
11
tests/dCommonTests/TestBitStreams/CMakeLists.txt
Normal file
11
tests/dCommonTests/TestBitStreams/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
set(TESTBITSTREAMS
|
||||
"AMFBitStreamTest.bin"
|
||||
"AMFBitStreamUnimplementedTest.bin"
|
||||
)
|
||||
|
||||
# Get the folder name and prepend it to the files above
|
||||
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
||||
list(TRANSFORM TESTBITSTREAMS PREPEND "${thisFolderName}/")
|
||||
|
||||
# Export our list of files
|
||||
set(TESTBITSTREAMS ${TESTBITSTREAMS} PARENT_SCOPE)
|
Reference in New Issue
Block a user