Class WildcardExpectation

Description

A wildcard expectation always matches.

Located in /libraries/pear/simpletest/mock_objects.php (line 27)

SimpleExpectation
   |
   --WildcardExpectation
Method Summary
 WildcardExpectation WildcardExpectation ()
 boolean test (mixed $compare)
 string testMessage (mixed $compare)
Variables

Inherited Variables

Inherited from SimpleExpectation

SimpleExpectation::$_dumper
Methods
Constructor WildcardExpectation (line 33)

Chains constructor only.

  • access: public
WildcardExpectation WildcardExpectation ()
test (line 43)

Tests the expectation. Always true.

  • return: True.
  • access: public
boolean test (mixed $compare)
  • mixed $compare: Ignored.

Redefinition of:
SimpleExpectation::test()
Tests the expectation. True if correct.
testMessage (line 54)

Returns a human readable test message.

  • return: Description of success or failure.
  • access: public
string testMessage (mixed $compare)
  • mixed $compare: Comparison value.

Redefinition of:
SimpleExpectation::testMessage()
Returns a human readable test message.

Inherited Methods

Inherited From SimpleExpectation

 SimpleExpectation::SimpleExpectation()
 SimpleExpectation::test()
 SimpleExpectation::testMessage()
 SimpleExpectation::_getDumper()

Documentation generated on Fri, 24 Dec 2004 13:02:45 +0000 by phpDocumentor 1.3.0RC3