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

Public Member Functions

def __init__
 
def set
 

Private Member Functions

def _test_cmd
 
def _test_python
 
def _test_pickeling
 
def _check_result
 

Detailed Description

Test class for xxx script

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

Definition at line 30 of file cscript_test.py.

Constructor & Destructor Documentation

def cscript_test.Test.__init__ (   self)
Constructor

Definition at line 39 of file cscript_test.py.

Member Function Documentation

def cscript_test.Test._check_result (   self,
  script 
)
private
Check content of script

Parameters
----------
script : `~cscripts.xxx`
    xxx instance

Definition at line 145 of file cscript_test.py.

Referenced by ctool_test.Test._test_python(), and cscript_test.Test._test_python().

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

Definition at line 66 of file cscript_test.py.

Referenced by cscript_test.Test.set(), and ctool_test.Test.set().

def cscript_test.Test._test_pickeling (   self)
private
Test xxx pickeling

Definition at line 119 of file cscript_test.py.

Referenced by cscript_test.Test.set().

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

Definition at line 87 of file cscript_test.py.

References cscript_test.Test._check_result().

Referenced by cscript_test.Test.set(), and ctool_test.Test.set().

def cscript_test.Test.set (   self)

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