Back to index

php5  5.3.10
Public Member Functions | Static Public Member Functions | Protected Attributes
gtVariationContainer Class Reference

Container for all possible variation test cases. More...

Inheritance diagram for gtVariationContainer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 constructAll ()
 getVariationTests ()
 Returns all varaition tests as an array of arrays.

Static Public Member Functions

static getInstance ($optionalSections, $type= 'function')
 Return an instance of a containers for either function or method tests.

Protected Attributes

 $variationTests
 $dataTypes

Detailed Description

Container for all possible variation test cases.

Definition at line 6 of file gtVariationContainer.php.


Member Function Documentation

Reimplemented in gtVariationContainerFunction, and gtVariationContainerMethod.

Definition at line 40 of file gtVariationContainer.php.

                                 {
  }
static gtVariationContainer::getInstance ( optionalSections,
type = 'function' 
) [static]

Return an instance of a containers for either function or method tests.

Parameters:
string$type
Returns:
variation test container

Definition at line 28 of file gtVariationContainer.php.

                                                                              {
    
    if($type == 'function') {
      return new gtVariationContainerFunction($optionalSections);
    }
    if($type =='method') {
      return new gtVariationContainerMethod($optionalSections);
    }
    
  }

Here is the caller graph for this function:

Returns all varaition tests as an array of arrays.

Returns:
string

Definition at line 49 of file gtVariationContainer.php.

                                      {
    return $this->variationTests;
  }

Member Data Documentation

Initial value:
 array (
                         'array',
                         'boolean',
                         'emptyUnsetUndefNull',
                         'float',
                         'int',
                         'object',
                         'string',
                         )

Definition at line 10 of file gtVariationContainer.php.

Definition at line 8 of file gtVariationContainer.php.


The documentation for this class was generated from the following file: