0ad/source/simulation2/components/tests
elexis 1cdc8f1356 Mark simulation component template and entity properties as read-only in simulation tests (as they are in actual games).
Thus throw errors if a simulation test tries to alternate the template
instead of silently passing tests with wrong values (as happened tests
fixed by ff90bb8490).
Remove the two clones from simulation components that were only relevant
for that test.
Add test to test the test.

Differential Revision: https://code.wildfiregames.com/D871
Fixes #4759
setup.js and setup_test.js Reviewed By: leper

This was SVN commit r20134.
2017-09-08 04:22:53 +00:00
..
test_CommandQueue.h Fixes tests adding system components without using the SYSTEM_ENTITY id - this caused assertion failures in debug builds 2015-06-21 19:22:12 +00:00
test_ObstructionManager.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
test_Pathfinder.h Always delete CMapReader. Patch by Sandarac. Fixes #4154. 2017-08-25 00:37:48 +00:00
test_Position.h New unit renderer. 2014-06-01 18:24:50 +00:00
test_RangeManager.h Cleanup the rest of the mess introduced with the NonGaiaEntities functions in 8c7b6dceaa. 2017-03-25 02:42:51 +00:00
test_scripts.h Mark simulation component template and entity properties as read-only in simulation tests (as they are in actual games). 2017-09-08 04:22:53 +00:00
test_TerritoryManager.h Pass some strings and a vector as const refs. 2017-02-24 17:02:10 +00:00