Package CHEM :: Package ML :: Package features :: Package test :: Module TestAtomCountExtractor :: Class TestAtomCountExtractor
[hide private]
[frames] | no frames]

Class TestAtomCountExtractor



                 object --+        
                          |        
          unittest.TestCase --+    
                              |    
Common.test.Util.ChemDBTestCase --+
                                  |
                                 TestAtomCountExtractor

Test class for respective application module.

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Preparation steps executed before actual test code, analogous to a class constructor.
 
tearDown(self)
Clean up executed after test completes, regardless of whether it passed or failed.
 
test_buildFeatureDict(self)
 
test_outputFeatures_commandline(self)

Inherited from Common.test.Util.ChemDBTestCase: assertEqualFile, assertEqualGeneral, assertEqualList, assertEqualTable

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

 

Preparation steps executed before actual test code, analogous to a class constructor.

Prepares temporary files to generate and collect mock input and output files and specifies expected data.
Overrides: Common.test.Util.ChemDBTestCase.setUp

tearDown(self)

 

Clean up executed after test completes, regardless of whether it passed or failed.

Analogous to a class destructor or a "finally" clause after a try block. Closes and file I/O handles used during the test and removes any temporary files generated to restore the system back to it's original state.
Overrides: Common.test.Util.ChemDBTestCase.tearDown