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:
David Markowitz
2022-11-07 00:12:35 -08:00
committed by GitHub
parent 9c58ea5c41
commit 1464762bcd
30 changed files with 763 additions and 325 deletions

Binary file not shown.

View File

@@ -0,0 +1 @@
BehaviorID

View 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)