GXTEST class

class GXTEST(handle=0)[source]

GXTEST class.

Used to place special testing methods

__init__(handle=0)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod arc_engine_license()[source]

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)[source]

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)[source]

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()[source]

Check if this is a null (undefined) instance

Returns

True if this is a null (undefined) instance, False otherwise.

Return type

bool

classmethod null()[source]

A null (undefined) instance of GXTEST

Returns

A null GXTEST

Return type

GXTEST

classmethod test_mode()[source]

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)[source]

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