Back to index

salome-kernel  6.5.0
Public Member Functions
KERNEL_PY.kernel.pyunittester.MyTestCase2 Class Reference

List of all members.

Public Member Functions

def test_myTest_01
def test_myTest_02
def test_myTest_03
def test_myTest_04
def test_myTest_05

Detailed Description

Definition at line 136 of file pyunittester.py.


Member Function Documentation

Definition at line 137 of file pyunittester.py.

00137 
00138     def test_myTest_01(self):
00139         r=execAndConvertExceptionToBoolean(functionRaisingAnException)
00140         print "test 01: this test should be NOT OK"
00141         self.assertTrue(r)

Here is the call graph for this function:

Definition at line 142 of file pyunittester.py.

00142 
00143     def test_myTest_02(self):
00144         r=execAndConvertExceptionToBoolean(functionReturningFalse)
00145         print "test 02: this test should be NOT OK"
00146         self.assertTrue(r)

Here is the call graph for this function:

Definition at line 147 of file pyunittester.py.

00147 
00148     def test_myTest_03(self):
00149         r=execAndConvertExceptionToBoolean(functionReturningTrue)
00150         print "test 03: this test should be OK"
00151         self.assertTrue(r)

Here is the call graph for this function:

Definition at line 152 of file pyunittester.py.

00152 
00153     def test_myTest_04(self):
00154         r=execAndConvertExceptionToBoolean(functionReturningNothing)
00155         print "test 04: this test should be OK"
00156         self.assertTrue(r)

Here is the call graph for this function:

Definition at line 157 of file pyunittester.py.

00157 
00158     def test_myTest_05(self):
00159         r=True
00160         print "test 05: this test should be OK"
00161         self.assertTrue(r)
00162 


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