Overview

Packages

  • Test

Classes

  • Horde_Test_AllTests
  • Horde_Test_Case
  • Horde_Test_Exception
  • Horde_Test_Factory_Alarm
  • Horde_Test_Factory_Cache
  • Horde_Test_Factory_Db
  • Horde_Test_Factory_Group
  • Horde_Test_Factory_History
  • Horde_Test_Factory_KolabStorage
  • Horde_Test_Factory_Perms
  • Horde_Test_Factory_Prefs
  • Horde_Test_Factory_Registry
  • Horde_Test_Factory_Session
  • Horde_Test_Factory_Share
  • Horde_Test_Functional
  • Horde_Test_Log
  • Horde_Test_Setup
  • Horde_Test_Stub_Cli
  • Horde_Test_Stub_Factory
  • Horde_Test_Stub_Parser
  • Horde_Test_Stub_Registry
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Test_Stub_Parser

A test helper for testing Horde_Argv based classes.

Copyright 2010-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Argv_Parser
Extended by Horde_Test_Stub_Parser
Package: Test
Category: Horde
License: LGPL
Author: Gunnar Wrobel wrobel@pardus.de
Since: Horde_Test 1.2.0
Link: http://www.horde.org/components/Horde_Test
Located at Horde/Test/Stub/Parser.php
Methods summary
public
# parserError( string $msg )

Print a usage message incorporating $msg to stderr and exit. If you override this in a subclass, it should not return -- it should either exit or raise an exception.

Print a usage message incorporating $msg to stderr and exit. If you override this in a subclass, it should not return -- it should either exit or raise an exception.

Parameters

$msg
public
# parserExit( mixed $status = 0, mixed $msg = null )
API documentation generated by ApiGen