Package SimPy :: Module testSimPyOO :: Class makeStoreTestcase |
[hide private]
[frames] | no frames]

# Class makeStoreTestcase

source code

           object --+
                    |
    unittest.TestCase --+
                        |
                       makeStoreTestcase

Nested Classes | [hide private]
Inherited from `unittest.TestCase`: `failureException`

Instance Methods | [hide private]
testStatic(self) Store: tests initialization of Store instances | source code
testConProdPrinciple(self) Store: tests basic Producer/Consumer principles: | source code
testConProd1(self) Store: tests put/get in 1 Producer/ 1 Consumer scenario | source code
testConProdM(self) Store: tests put/get in multiple Producer/Consumer scenario | source code
testConProdPriorM(self) Store: Tests put/get in multiple Producer/Consumer scenario, with Producers having different priorities. | source code
testConPriorProdM(self) Tests put/get in multiple Producer/Consumer scenario, with Consumers having different priorities. | source code
testBufferSort(self) Tests the optional sorting of theBuffer by applying a user-defined sort function. | source code
testBufferFilter(self) Tests get from a Store with a filter function | source code
Inherited from `unittest.TestCase`: `__call__`, `__eq__`, `__hash__`, `__init__`, `__ne__`, `__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__`, `__format__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### testConProdPrinciple(self) | source code
Store: tests basic Producer/Consumer principles: Consumers must not be waiting while items in Store buffer, Producers must not be waiting while space available in Store buffer

### testConProdPriorM(self) | source code
Store: Tests put/get in multiple Producer/Consumer scenario, with Producers having different priorities. How; Producers forced to queue; all after first should be done in priority order

### testConPriorProdM(self) | source code
Tests put/get in multiple Producer/Consumer scenario, with Consumers having different priorities. How; Consumers forced to queue; all after first should be done in priority order