virtualx-engine/tests
TechnoPorg 051ef479c9 Allow method binds to take Object subclasses as arguments
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
..
core Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
data Tests: Improve coverage for File::get_csv_line() 2021-08-04 11:53:21 +02:00
scene Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
servers Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Move and organize tests into subfolders 2021-11-07 00:43:31 -06:00
test_macros.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_macros.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_main.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_main.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_tools.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_utils.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_validate_testing.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00