Home | Trees | Index | Help |
---|
Package SimPy :: Module testSimPyTrace :: Class makeResourcetestcase |
|
object
--+ |TestCase
--+ | makeResourcetestcase
Method Summary | |
---|---|
Test initialisation | |
test monitoring of number in the two queues, waitQ and activeQ | |
Test request | |
Test request2 with capacity = 1 | |
Test request3 with capacity = 1 several requests | |
Test request4 with capacity = 2 several requests | |
Test PriorityQ, with no preemption, 0 capacity | |
Test PriorityQ, with no preemption, capacity == 1 | |
Test PriorityQ, with preemption, capacity == 1 | |
Test preemption of preemptor | |
Inherited from TestCase | |
Create an instance of the class that will use the named test method when executed. | |
| |
| |
| |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
Run the test without collecting errors in a TestResult | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
| |
Hook method for setting up the test fixture before exercising it. | |
Returns a one-line description of the test, or None if no description has been provided. | |
Hook method for deconstructing the test fixture after testing it. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Method Details |
---|
testInit(self)Test initialisation |
testmonitored(self)test monitoring of number in the two queues, waitQ and activeQ |
testrequest(self)Test request |
testrequest2(self)Test request2 with capacity = 1 |
testrequest3(self)Test request3 with capacity = 1 several requests |
testrequest4(self)Test request4 with capacity = 2 several requests |
testrequestPriority(self)Test PriorityQ, with no preemption, 0 capacity |
testrequestPriority1(self)Test PriorityQ, with no preemption, capacity == 1 |
testrequestPriority2(self)Test PriorityQ, with preemption, capacity == 1 |
testrequestPriority3(self)Test preemption of preemptor |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 31 12:03:04 2005 | http://epydoc.sf.net |