Package slimpy_base.utils.ExampleRunner


Functions

def getExampleDirs
 returns all of the packages in the example directory
def runexample
 run an example
def runExamples
 fetch all examples and run them

Variables

string __copyright__
 runs examples in examples package with text output
string __license__


Function Documentation

def slimpy_base.utils.ExampleRunner.getExampleDirs (  ) 

returns all of the packages in the example directory

Definition at line 37 of file ExampleRunner.py.

def slimpy_base.utils.ExampleRunner.runexample (   name,
  run,
  clean 
)

run an example

Parameters:
run,: must be a callable object with no parameters
clean,: must be a callable object with no parameters

Definition at line 57 of file ExampleRunner.py.

def slimpy_base.utils.ExampleRunner.runExamples (  ) 

fetch all examples and run them

: exceptions NotImplementedError and Environment Error will not count as errors

Definition at line 88 of file ExampleRunner.py.


Variable Documentation

string __copyright__

Initial value:

"""
Copyright 2008 Sean Ross-Ross
"""
runs examples in examples package with text output

Definition at line 6 of file ExampleRunner.py.

string __license__

Initial value:

"""
This file is part of SLIMpy .

SLIMpy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SLIMpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with SLIMpy . If not, see <http://www.gnu.org/licenses/>.
"""

Definition at line 9 of file ExampleRunner.py.


Generated on Sun Aug 10 09:11:12 2008 for SLIMpy by  doxygen 1.5.6