ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
ctool_test.Test Class Reference
Inheritance diagram for ctool_test.Test:

Public Member Functions

def __init__
 
def set
 

Private Member Functions

def _test_cmd
 
def _test_python
 
def _check_result
 

Detailed Description

Test class for xxx tool

This test class makes unit tests for the xxx tool by using it from
the command line and from Python.

Definition at line 30 of file ctool_test.py.

Constructor & Destructor Documentation

def ctool_test.Test.__init__ (   self)
Constructor

Definition at line 39 of file ctool_test.py.

Member Function Documentation

def ctool_test.Test._check_result (   self,
  tool 
)
private
Check content of tool

Parameters
----------
tool : `~ctools.xxx`
    xxx instance

Definition at line 133 of file ctool_test.py.

Referenced by ctool_test.Test._test_python().

def ctool_test.Test._test_cmd (   self)
private
Test xxx on the command line

Definition at line 65 of file ctool_test.py.

Referenced by ctool_test.Test.set().

def ctool_test.Test._test_python (   self)
private
Test xxx from Python

Definition at line 86 of file ctool_test.py.

References ctool_test.Test._check_result(), and cscript_test.Test._check_result().

Referenced by ctool_test.Test.set().

def ctool_test.Test.set (   self)

The documentation for this class was generated from the following file: