cis_interface.interface.tests package

Submodules

cis_interface.interface.tests.test_CisInterface module

class cis_interface.interface.tests.test_CisInterface.TestBase(*args, **kwargs)[source]

Bases: cis_interface.tests.CisTestClassInfo

Test class for interface classes.

get_options()[source]

Get testing options.

idriver_args

Input driver arguments.

Type:list
idriver_class

Input driver class.

Type:class
inst_kwargs

Arguments for the interface instance.

Type:dict
messages

Messages that should be sent/received.

Type:list
odriver_args

Output driver arguments.

Type:list
odriver_class

Output driver class.

Type:class
remove_instance(inst)[source]

Remove an instance.

setup()[source]

Start driver and instance.

teardown()[source]

Stop the driver.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiArrayInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableInput

Test input from an ASCII table.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiArrayOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableOutput

Test input from an ASCII table.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiFileInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test input from an unformatted text file.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiFileOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test output to an unformatted text file.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisAsciiFileInput

Test input from an ascii table.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisAsciiFileOutput

Test output from an ascii table.

class cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableOutputMatlab(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisAsciiTableOutput

Test output from an ascii table as passed through Matlab.

class cis_interface.interface.tests.test_CisInterface.TestCisInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestBase

Test basic input to python.

test_msg()[source]

Test sending/receiving message.

class cis_interface.interface.tests.test_CisInterface.TestCisInputMatlab(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test basic input to python as passed from matlab.

class cis_interface.interface.tests.test_CisInterface.TestCisObjInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test input from a obj file.

class cis_interface.interface.tests.test_CisInterface.TestCisObjOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test output from a obj.

class cis_interface.interface.tests.test_CisInterface.TestCisOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestBase

Test basic output to python.

test_msg()[source]

Test sending/receiving message.

class cis_interface.interface.tests.test_CisInterface.TestCisOutputMatlab(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test basic output to python as passed from matlab.

class cis_interface.interface.tests.test_CisInterface.TestCisPandasInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test input from a pandas file.

class cis_interface.interface.tests.test_CisInterface.TestCisPandasOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test output from a pandas.

class cis_interface.interface.tests.test_CisInterface.TestCisPickleInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test input from a pickle file.

class cis_interface.interface.tests.test_CisInterface.TestCisPickleOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test output from a pickle.

class cis_interface.interface.tests.test_CisInterface.TestCisPlyInput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test input from a ply file.

class cis_interface.interface.tests.test_CisInterface.TestCisPlyOutput(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test output from a ply.

class cis_interface.interface.tests.test_CisInterface.TestCisRpcClient(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisOutput

Test client-side RPC communication with Python.

idriver_class

Input driver class.

Type:class
odriver_class

Output driver class.

Type:class
test_msg()[source]

Test sending/receiving message.

class cis_interface.interface.tests.test_CisInterface.TestCisRpcClientMatlab(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisRpcClient

Test client-side RPC communication with Python as passed through Matlab.

class cis_interface.interface.tests.test_CisInterface.TestCisRpcServer(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisInput

Test server-side RPC communication with Python.

idriver_class

Input driver class.

Type:class
odriver_class

Output driver class.

Type:class
test_msg()[source]

Test sending/receiving message.

class cis_interface.interface.tests.test_CisInterface.TestCisRpcServerMatlab(*args, **kwargs)[source]

Bases: cis_interface.interface.tests.test_CisInterface.TestCisRpcServer

Test server-side RPC communication with Python as passed through Matlab.

cis_interface.interface.tests.test_CisInterface.test_CisMatlab_class()[source]

Test Matlab interface for classes.

cis_interface.interface.tests.test_CisInterface.test_CisMatlab_variables()[source]

Test Matlab interface for variables.

cis_interface.interface.tests.test_CisInterface.test_bufMsgSize()[source]

Test buf message size.

cis_interface.interface.tests.test_CisInterface.test_eof_msg()[source]

Test eof message signal.

cis_interface.interface.tests.test_CisInterface.test_init()[source]

Test error on init.

cis_interface.interface.tests.test_CisInterface.test_maxMsgSize()[source]

Test max message size.

Module contents

Tests for interface sub-package.