GXTEST class

class geosoft.gxapi.GXTEST
Used to place special testing methods
static arc_engine_license() → int:
Test availability of an ArEngine license on this system
Returns:0 - Not available, 1 - Available
Return type:int

New in version 6.4.0.

static core_class((str)arg1, (str)arg2) → None:
Generic Class Test Wrapper
Parameters:
  • arg1 (str) – Name of class to test
  • arg2 (str) – Output log file
Returns:

Nothing

Return type:

None

New in version 9.2.0.

static enable_disable_arc_engine_license((bool)arg1) → None:
Forcefully disable ArEngine license availability for testing purposes
Parameters:arg1 (bool) – Enable/disable? bool
Return type:None

New in version 6.4.2.

static test_mode() → bool:
Checks to see if we are running inside testing system
Returns:bool
Return type:bool

New in version 6.4.2.

static wrapper_test((str)arg1, (str)arg2) → None:
Test to make sure all wrappers are valid linking
Parameters:
  • arg1 (str) – List of functions to test
  • arg2 (str) – Output log file
Returns:

Nothing

Return type:

None

New in version 6.1.0.