Package SimPy :: Module testSimPyRT

[hide private]
[frames] | no frames]

# Module testSimPyRT

source code

Classes | [hide private]

`` | P P class for testing
`` | makeSimulationtestcase Tests of simulation
`` | Job Job class for testing
`` | makeResourcetestcase First simple tests of Resources
`` | Interruptor
`` | Interrupted
`` | makeInterrupttestcase Tests interrupts as defined in SEP001v17
`` | PS1
`` | Observer1
`` | PS2
`` | Observer2
`` | makePStatetestcase Tests states and state transitions as defined in SEP003
`` | SignalProcess
`` | WaitProcess
`` | QueueProcess
`` | SignalProcessOR
`` | WaitProcessOR
`` | WaitProcessOR1
`` | QueueProcessOR
`` | QueueProcessOR1
`` | makeEtestcase Test SimEvent/signal as introduced with SimPy 1.5
`` | Signaller
`` | Waiter
`` | makeWtestcase Test waituntil as introduced with SimPy 1.5
`` | JobTO Job class for testing timeout reneging
`` | JobTO_P Job class for testing timeout reneging with priorities
`` | makeTimeoutTestcase Tests of "yield (request,self,res),(hold,self,delay)" timeout reneging command
`` | JobEvt Job class for testing event reneging
`` | JobEvtMulti Job class for testing event reneging with multi-event lists
`` | FireEvent Fires reneging event
`` | makeEventRenegeTestcase Tests of "yield (request,self,res),(waiteevent,self,event)" event reneging command
`` | Producer
`` | Consumer
`` | ProducerPrincL
`` | ConsumerPrincL
`` | makeLevelTestcase
`` | ProducerWidget
`` | ConsumerWidget
`` | Widget
`` | ProducerPrincS
`` | ConsumerPrincS
`` | WidgetPrinc
`` | FilterConsumer Used in testBufferFilter
`` | makeStoreTestcase
`` | TBT Store: For testBasicTime
`` | TBE Store: For testBasicEvent
`` | TBEtrigger Store: For testBasicEvent
`` | TBTput Store: for testBasicTimePut
`` | TBEput Store: for testBasicEventPut
`` | TBEtriggerPut Store: For testBasicEventPut
`` | makeStoreCompTestcase Store: Testcase for compound get statements
`` | TBTLev Level: For testBasicTime
`` | TBELev Level: For testBasicEvent
`` | TBEtriggerLev Level: For testBasicEvent
`` | TBTLevPut Level: For testBasicTimePut
`` | TBELevPut Level: For testBasicEventPut and testBasicEventPutM
`` | TBEtriggerLevPut Level: For testBasicEventPut
`` | makeLevelCompTestcase Level: Testcase for compound get and put statements

Functions | [hide private]

`` | makeSSuite()
`` | makeRSuite()
`` | makeISuite()
`` | makePSuite()
`` | makeESuite()
`` | makeWSuite()
`` | makeTOSuite()
`` | makeEvtRenegeSuite()
`` | makeLevelSuite()
`` | mySortFunc(self, par) Sorts Widget instances by weight attribute.
`` | makeStoreSuite()
`` | makeStoreCompSuite()
`` | makeLevelCompSuite()

Variables | [hide private]

`` | __version__ = `'1.8 $Revision: 1.1.1.14 $ $Date: 2007/01/08 14:07:3...`
`` | alltests = `unittest.TestSuite((makeSSuite(), makeRSuite(), make...`
`` | runner = `unittest.TextTestRunner()`
`` | generators = `_Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0...`

Function Details | [hide private]

### makeSSuite()

source code

None

### makeRSuite()

source code

None

### makeISuite()

source code

None

### makePSuite()

source code

None

### makeESuite()

source code

None

### makeWSuite()

source code

None

### makeTOSuite()

source code

None

### makeEvtRenegeSuite()

source code

None

### makeLevelSuite()

source code

None

### mySortFunc(self, par)

source code

Sorts Widget instances by weight attribute.

### makeStoreSuite()

source code

None

### makeStoreCompSuite()

source code

None

### makeLevelCompSuite()

source code

None

Variables Details | [hide private]

### __version__

None

  Value:

        '1.8 $Revision: 1.1.1.14 $ $Date: 2007/01/08 14:07:33 $ '

### alltests

None

  Value:

        unittest.TestSuite((makeSSuite(), makeRSuite(), makeMSuite(), makeISui
        te(), makePSuite(), makeESuite(), makeWSuite(), makeTOSuite(), makeEvt
        RenegeSuite(), makeLevelSuite(), makeStoreSuite(), makeStoreCompSuite(
        ), makeLevelCompSuite()))

### runner

None

  Value:

        unittest.TextTestRunner()

### generators

None

  Value:

        _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)