Back to index

php5  5.3.10
Public Member Functions
gtVariationTestCaseFunctionTest Class Reference

List of all members.

Public Member Functions

 testTestCase ()
 testTestCase2 ()
 testTestCase3 ()

Detailed Description

Definition at line 5 of file gtVariationTestCaseFunctionTest.php.


Member Function Documentation

Definition at line 7 of file gtVariationTestCaseFunctionTest.php.

                                 {
   
    $f = new gtFunction('cos');
    $f->setArgumentNames();
    $f->setArgumentLists();
    
    $optSect = new gtOptionalSections();
    
    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 1, 'int');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }

Here is the call graph for this function:

Definition at line 24 of file gtVariationTestCaseFunctionTest.php.

                                  {
    
    $f = new gtFunction('date_sunrise');
    $f->setArgumentNames();
    $f->setArgumentLists();
    $a = $f->getMandatoryArgumentNames();
    
    $optSect = new gtOptionalSections();
    
    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 6, 'int');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }

Here is the call graph for this function:

Definition at line 42 of file gtVariationTestCaseFunctionTest.php.

                                  {
    
    $f = new gtFunction('date_sunrise');
    $f->setArgumentNames();
    $f->setArgumentLists();
    
    $optSect = new gtOptionalSections();

    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 6, 'array');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }

Here is the call graph for this function:


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