Class AnythingExpectation

Description

A wildcard expectation always matches.

Located in /_tests/simpletest/expectation.php (line 105)

SimpleExpectation
   |
   --AnythingExpectation
Method Summary
boolean test (mixed $compare)
string testMessage (mixed $compare)
Variables
Methods
test (line 113)

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 124)

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::isExpectation()
SimpleExpectation::overlayMessage()
SimpleExpectation::test()
SimpleExpectation::testMessage()
SimpleExpectation::_getDumper()

Documentation generated on Sun, 02 Jan 2011 23:14:04 +0000 by phpDocumentor 1.4.3