Package SimPy :: Module testSimPyTrace :: Class makeEventRenegeTestcase
[hide private]
[frames] | no frames]

Class makeEventRenegeTestcase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   makeEventRenegeTestcase

Tests of "yield (request,self,res),(waiteevent,self,event)" event reneging command

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  testNoEvent(self)
Test that processes acquire resource normally if no event fires
  testNoEventM(self)
Test that processes acquire resource normally if no event fires.
  testWaitEvent1(self)
Test that signalled event leads to renege when resource busy
  testWaitEvent1M(self)
Test that signalled event leads to renege when resource busy.
  testWaitEvent2(self)
Test that renege-triggering event can be one of an event list
  testWaitEvent2M(self)
Test that renege-triggering event can be one of an event list.

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]

testNoEvent(self)

source code 
Test that processes acquire resource normally if no event fires

testNoEventM(self)

source code 
Test that processes acquire resource normally if no event fires. Resource monitored.

testWaitEvent1(self)

source code 
Test that signalled event leads to renege when resource busy

testWaitEvent1M(self)

source code 
Test that signalled event leads to renege when resource busy. Resource monitored.

testWaitEvent2(self)

source code 
Test that renege-triggering event can be one of an event list

testWaitEvent2M(self)

source code 
Test that renege-triggering event can be one of an event list. Resource monitored.