Package qm :: Package test :: Package classes :: Module explicit_suite :: Class ExplicitSuite
[hide private]
[frames] | no frames]

Class ExplicitSuite
source code

         object --+        
                  |        
extension.Extension --+    
                      |    
            suite.Suite --+
                          |
                         ExplicitSuite

An 'ExplicitSuite' stores all of the test and suite ids explicitly.

Nested Classes [hide private]

Inherited from extension.Extension: Type, __metaclass__


Instance Methods [hide private]
  IsImplicit(self)
Return true if this is an implicit test suite.
  GetTestIds(self)
Return the tests contained in this suite.
  GetSuiteIds(self)
Return the suites contained in this suite.

Inherited from suite.Suite: GetAllTestAndSuiteIds, GetDatabase, GetId, __init__

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

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


Class Variables [hide private]
arguments A list of the arguments to the extension class.
_argument_dictionary A map from argument names to 'Field' instances.
_argument_list A list of all the 'Field's in this class.
is_implicit  
suite_ids  
test_ids  

Inherited from suite.Suite: EXTRA_DATABASE, EXTRA_ID, kind

Inherited from object: __class__


Method Details [hide private]

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)

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)

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)

Class Variable Details [hide private]

arguments

A list of the arguments to the extension class.

Each element of this list should be an instance of 'Field'. The 'Field' instance describes the argument.

Derived classes may redefine this class variable. However, derived classes should not explicitly include the arguments from base classes; QMTest will automatically combine all the arguments found throughout the class hierarchy.
Value:
[<<class 'qm.fields.SetField'> test_ids>,
 <<class 'qm.fields.SetField'> suite_ids>,
 <<class 'qm.fields.BooleanField'> is_implicit>]                       
      

_argument_dictionary

A map from argument names to 'Field' instances.

A map from the names of arguments for this class to the corresponding 'Field'.
Value:
{'is_implicit': <<class 'qm.fields.BooleanField'> is_implicit>,
 'suite_ids': <<class 'qm.fields.SetField'> suite_ids>,
 'test_ids': <<class 'qm.fields.SetField'> test_ids>}                  
      

_argument_list

A list of all the 'Field's in this class.

This list combines the complete list of 'arguments'. 'Field's appear in the order reached by a pre-order breadth-first traversal of the hierarchy, starting from the most derived class.
Value:
[<<class 'qm.fields.BooleanField'> is_implicit>,
 <<class 'qm.fields.SetField'> suite_ids>,
 <<class 'qm.fields.SetField'> test_ids>]                              
      

is_implicit

Value:
'false'                                                                
      

suite_ids

Value:
[]                                                                     
      

test_ids

Value:
[]