Package SimPy :: Module testSimPyTraceOO :: 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 | source code
testNoEventM(self) Test that processes acquire resource normally if no event fires. | source code
testWaitEvent1(self) Test that signalled event leads to renege when resource busy | source code
testWaitEvent1M(self) Test that signalled event leads to renege when resource busy. | source code
testWaitEvent2(self) Test that renege-triggering event can be one of an event list | source code
testWaitEvent2M(self) Test that renege-triggering event can be one of an event list. | source code
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`, `setUp`, `shortDescription`, `tearDown` 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]

### testNoEventM(self) | source code
Test that processes acquire resource normally if no event fires. Resource monitored.

### testWaitEvent1M(self) | source code
Test that signalled event leads to renege when resource busy. Resource monitored.

### testWaitEvent2M(self) | source code
Test that renege-triggering event can be one of an event list. Resource monitored.