PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Util_TestDox_NamePrettifier

Source Location: /PHPUnit2-3.0.0alpha11/Util/TestDox/NamePrettifier.php

Class Overview


Prettifies class and method names for use in TestDox documentation.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 65]
Prettifies class and method names for use in TestDox documentation.


[ Top ]


Class Variables

$prefix =  'Test'

[line 71]

  • Access: protected

Type:   string


[ Top ]

$suffix =  'Test'

[line 77]

  • Access: protected

Type:   string


[ Top ]



Method Detail

isATestMethod   [line 86]

boolean isATestMethod( string $testMethodName)

Tests if a method is a test method.
  • Access: public

Parameters:

string   $testMethodName   — 

[ Top ]

prettifyTestClass   [line 102]

string prettifyTestClass( string $testClassName)

Prettifies the name of a test class.
  • Access: public

Parameters:

string   $testClassName   — 

[ Top ]

prettifyTestMethod   [line 126]

string prettifyTestMethod( string $testMethodName)

Prettifies the name of a test method.
  • Access: public

Parameters:

string   $testMethodName   — 

[ Top ]

setPrefix   [line 152]

void setPrefix( string $prefix)

Sets the prefix of test names.
  • Access: public

Parameters:

string   $prefix   — 

[ Top ]

setSuffix   [line 163]

void setSuffix( $suffix, string $prefix)

Sets the suffix of test names.
  • Access: public

Parameters:

string   $prefix   — 
   $suffix   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.