GXTEST class

class geosoft.gx.GXTEST
Used to place special testing methods
static arc_engine_license((GXContext)ctx) → int:
Test availability of an ArEngine license on this system
Parameters:ctx (geosoft.gx.GXContext) – The GX execution context
Returns:0 - Not available, 1 - Available
Return type:int

New in version 6.4.0.

static enable_disable_arc_engine_license((GXContext)ctx, (bool)arg1) → None:
Forcefully disable ArEngine license availability for testing purposes
Parameters:
Return type:

None

New in version 6.4.2.

static test_mode((GXContext)ctx) → bool:
Checks to see if we are running inside testing system
Parameters:ctx (geosoft.gx.GXContext) – The GX execution context
Returns:bool
Return type:bool

New in version 6.4.2.

static wrapper_test((GXContext)ctx, (str)arg1, (str)arg2) → None:
Test to make sure all wrappers are valid linking
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (str) – List of functions to test
  • arg2 (str) – Output log file
Returns:

Nothing

Return type:

None

New in version 6.1.0.