Couple changes to the BasicVariableTestSuite script
Additions
Global variable get names test
A test that checks whether global variables' names are correct once they are added to the list of global variables.
Global variable name count test
A test that checks whether the count of global variables is the correct one, once a bunch of new ones have been added.
Adding more global built-in variables to test
The list of global built-in variables is incomplete in "builtin_constant_varnames_test", the rest of them should be added.
Cleanups
Some of the tests do not clean up / remove the variables that were added to the list of global variables during testing, these should be removed once the test is done.
Script Name
BasicVariableTestSuite
Steps To The Task
Global variables get names test
Create new fact inside BasicVariableTestSuite
Create a bunch of new variables with different names
Loop through global variables and check if they are all there with their expected names
Delete variables that were added for testing
Global variables name count test
Create new fact inside BasicVariableTestSuite
Create a bunch of new variables with different names
Check if the right amount of variables have been added
Delete variables that were added for testing
Adding more global built-in variables
List of variables with different prefixes that have been identified as missing:
evboundary
bboxkind_
bboxmode_
dll_
gamespeed_
m_
matrix_
network_
phy_
seqtextkey_
spritespeed_
surface_
texturegroup_
tile_
time_
timezone_
tm_
ty_
videoformat
videostatus
Cleanups
Remove structs that have been added during testing in these tests (and make sure they are removed in the new ones as well):
Description
Couple changes to the BasicVariableTestSuite script
Additions
Global variable get names test A test that checks whether global variables' names are correct once they are added to the list of global variables.
Global variable name count test A test that checks whether the count of global variables is the correct one, once a bunch of new ones have been added.
Adding more global built-in variables to test The list of global built-in variables is incomplete in "builtin_constant_varnames_test", the rest of them should be added.
Cleanups Some of the tests do not clean up / remove the variables that were added to the list of global variables during testing, these should be removed once the test is done.
Script Name
BasicVariableTestSuite
Steps To The Task
Global variables get names test
Global variables name count test
Adding more global built-in variables
Cleanups