GXTEST class

class GXTEST(handle=0)

GXTEST class.

Used to place special testing methods

classmethod arc_engine_license()

Test availability of an ArEngine license on this system

Returns:0 - Not available, 1 - Available
Return type:int

New in version 6.4.

License: Geosoft Open License

classmethod core_class(cl, log)

Generic Class Test Wrapper

Parameters:
  • cl (str) – Name of class to test
  • log (str) – Output log file

New in version 9.2.

License: Geosoft Open License

classmethod enable_disable_arc_engine_license(enable)

Forcefully disable ArEngine license availability for testing purposes

Parameters:enable (bool) – Enable/disable?

New in version 6.4.2.

License: Geosoft Open License

is_null()

Check if this is a null (undefined) instance

Returns:True if this is a null (undefined) instance, False otherwise.
Return type:bool
classmethod null()

A null (undefined) instance of GXTEST

Returns:A null GXTEST
Return type:GXTEST
classmethod test_mode()

Checks to see if we are running inside testing system

Return type:bool

New in version 6.4.2.

License: Geosoft Open License

classmethod wrapper_test(funcs, log)

Test to make sure all wrappers are valid linking

Parameters:
  • funcs (str) – List of functions to test
  • log (str) – Output log file

New in version 6.1.

License: Geosoft Open License