0ad/source/simulation2/components/tests
wraitii 2f29b81027 Fix JS OOM in tests following aae417bd29
aae417bd29 made ScriptInterface not recreate a new JSContext since it
becomes a compartment wrapper, but that means we need to GC tests or
they might OOM.

To make it mostly seamless, GC on any test setup. The JS tests are
pretty close to the 16Mb limit as it stands so GC them manually too, for
good measure.

Refs #4893

Differential Revision: https://code.wildfiregames.com/D3101
This was SVN commit r24182.
2020-11-14 15:13:56 +00:00
..
test_CinemaManager.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_CommandQueue.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_HierPathfinder.h Move LOS to a los helper header and cleanup Grid.h includes. 2020-06-14 20:39:03 +00:00
test_ObstructionManager.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_Pathfinder.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_Position.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_RangeManager.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_scripts.h Fix JS OOM in tests following aae417bd29 2020-11-14 15:13:56 +00:00
test_TerritoryManager.h Pass some strings and a vector as const refs. 2017-02-24 17:02:10 +00:00