Moodle  2.2.1
http://www.collinsharper.com
SimpleCommandLineParser Class Reference

Public Member Functions

 SimpleCommandLineParser ($arguments)
 getTest ()
 getTestCase ()
 isXml ()
 noSkips ()

Data Fields

 $_to_property
 $_case = ''
 $_test = ''
 $_xml = false
 $_no_skips = false

Detailed Description

Definition at line 25 of file default_reporter.php.


Member Function Documentation

getTest ( )

Run only this test.

Returns:
string Test name to run. public

Definition at line 65 of file default_reporter.php.

Run only this test suite.

Returns:
string Test class name to run. public

Definition at line 74 of file default_reporter.php.

isXml ( )

Output should be XML or not.

Returns:
boolean True if XML desired. public

Definition at line 83 of file default_reporter.php.

noSkips ( )

Output should suppress skip messages.

Returns:
boolean True for no skips. public

Definition at line 92 of file default_reporter.php.

SimpleCommandLineParser ( arguments)

Parses raw command line arguments into object properties.

Parameters:
string$argumentsRaw commend line arguments.

Definition at line 39 of file default_reporter.php.


Field Documentation

$_case = ''

Definition at line 30 of file default_reporter.php.

$_no_skips = false

Definition at line 33 of file default_reporter.php.

$_test = ''

Definition at line 31 of file default_reporter.php.

$_to_property
Initial value:
 array(
            'case' => '_case', 'c' => '_case',
            'test' => '_test', 't' => '_test',
            'xml' => '_xml', 'x' => '_xml')

Definition at line 26 of file default_reporter.php.

$_xml = false

Definition at line 32 of file default_reporter.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations