Package qm :: Package test :: Module parameter_database :: Class ParameterDatabase :: Class WrapperSuite
[hide private]
[frames] | no frames]

Class WrapperSuite

source code

         object --+        
                  |        
extension.Extension --+    
                      |    
            suite.Suite --+
                          |
                         ParameterDatabase.WrapperSuite

As tests from the wrapped Database are mapped to suites, suites from the wrapped Database have to be recreated with all tests replaced by ImplicitSuite instances. Additionally, new (explicit) suites may be added.

Nested Classes [hide private]

Inherited from extension.Extension: Type, __metaclass__

Instance Methods [hide private]
 
__init__(self, db, suite, suite_ids=None)
Take over suite_ids from the wrapped database but replace test_ids by suite_ids if there are parameters available for them.
source code
 
GetSuiteIds(self)
Return the suites contained in this suite.
source code
 
GetTestIds(self)
Return the tests contained in this suite.
source code
 
IsImplicit(self)
Return true if this is an implicit test suite.
source code
 
GetAllTestAndSuiteIds(self)
Return the tests/suites contained in this suite and its subsuites.
source code

Inherited from suite.Suite: GetDatabase, GetId

Inherited from extension.Extension: GetClassName, GetExplicitArguments, MakeDomDocument, MakeDomElement, Write, __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from suite.Suite: EXTRA_DATABASE, EXTRA_ID, arguments, kind

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, db, suite, suite_ids=None)
(Constructor)

source code 

Take over suite_ids from the wrapped database but replace test_ids by suite_ids if there are parameters available for them.

Overrides: object.__init__

GetSuiteIds(self)

source code 

Return the suites contained in this suite.

returns -- A sequence of labels corresponding to the suites contained in this suite. Suites that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned.

Overrides: suite.Suite.GetSuiteIds
(inherited documentation)

GetTestIds(self)

source code 

Return the tests contained in this suite.

returns -- A sequence of labels corresponding to the tests contained in this suite. Tests that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned.

Overrides: suite.Suite.GetTestIds
(inherited documentation)

IsImplicit(self)

source code 

Return true if this is an implicit test suite.

Implicit test suites cannot be edited.

Overrides: suite.Suite.IsImplicit
(inherited documentation)

GetAllTestAndSuiteIds(self)

source code 

Return the tests/suites contained in this suite and its subsuites.

returns -- A pair '(test_ids, suite_ids)'. The 'test_ids' and 'suite_ids' elements are both sequences of labels. The values returned include all tests and suites that are contained in this suite and its subsuites, recursively.

Overrides: suite.Suite.GetAllTestAndSuiteIds
(inherited documentation)