Package SimPy :: Module testSimPy :: Class makeLevelCompTestcase
[hide private]
[frames] | no frames]

Class makeLevelCompTestcase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   makeLevelCompTestcase

Level: Testcase for compound get and put statements

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  testBasicTime(self)
Level (unmonitored): test 'yield (get,self,level),(hold,self,timeout)
  testBasicTimePut(self)
Level (unmonitored): test 'yield (put,self,level),(hold,self,timeout)
  testBasicEvent(self)
Level (unmonitored): test 'yield (get,self,level),(waitevent,self,event)
  testBasicEventM(self)
Level (monitored): test monitors with 'yield (get,self,level),(waitevent,self,event)
  testBasicEventPut(self)
Level (unmonitored): test 'yield (put,self,level),(waitevent,self,event)
  testBasicEventPutM(self)
Level (monitored): test monitors with 'yield (put,self,level),(waitevent,self,event)

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

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


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

testBasicTime(self)

source code 
Level (unmonitored): test 'yield (get,self,level),(hold,self,timeout)

testBasicTimePut(self)

source code 
Level (unmonitored): test 'yield (put,self,level),(hold,self,timeout)

testBasicEvent(self)

source code 
Level (unmonitored): test 'yield (get,self,level),(waitevent,self,event)

testBasicEventM(self)

source code 
Level (monitored): test monitors with 'yield (get,self,level),(waitevent,self,event)

testBasicEventPut(self)

source code 
Level (unmonitored): test 'yield (put,self,level),(waitevent,self,event)

testBasicEventPutM(self)

source code 
Level (monitored): test monitors with 'yield (put,self,level),(waitevent,self,event)