Back to index

php5  5.3.10
Public Member Functions
gtIsSpecifiedTestTypeTest Class Reference

List of all members.

Public Member Functions

 testValid ()
 testNotValid ()
 testMessage ()

Detailed Description

Definition at line 6 of file gtIsSpecifiedTestTypeTest.php.


Member Function Documentation

Definition at line 24 of file gtIsSpecifiedTestTypeTest.php.

                                {

    $clo = new gtCommandLineOptions();
    $clo->parse(array('generate-phpt.php', '-c', 'blah'));
    $ch = new gtIsSpecifiedtestType();
    $this->assertEquals($ch->getMessage(), gtText::get('testTypeNotSpecified'));
  }

Here is the call graph for this function:

Definition at line 16 of file gtIsSpecifiedTestTypeTest.php.

                                 {

    $clo = new gtCommandLineOptions();
    $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument'));
    $ch = new gtIsSpecifiedTestType();
    $this->assertFalse($ch->check($clo));
  }

Definition at line 8 of file gtIsSpecifiedTestTypeTest.php.

                              {

    $clo = new gtCommandLineOptions();
    $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument','-b'));
    $ch = new gtIsSpecifiedTestType();
    $this->assertTrue($ch->check($clo));
  }

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