Class NotEqualExpectation

Description

Test for inequality.

Located in /libraries/pear/simpletest/expectation.php (line 124)

SimpleExpectation
   |
   --EqualExpectation
      |
      --NotEqualExpectation
Method Summary
 NotEqualExpectation NotEqualExpectation (mixed $value)
 boolean test (mixed $compare)
 string testMessage (mixed $compare)
Variables
Methods
Constructor NotEqualExpectation (line 131)

Sets the value to compare against.

  • access: public
NotEqualExpectation NotEqualExpectation (mixed $value)
  • mixed $value: Test value to match.
test (line 142)

Tests the expectation. True if it differs from the held value.

  • return: True if correct.
  • access: public
boolean test (mixed $compare)
  • mixed $compare: Comparison value.

Redefinition of:
EqualExpectation::test()
Tests the expectation. True if it matches the held value.
testMessage (line 153)

Returns a human readable test message.

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

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

Inherited Methods

Inherited From EqualExpectation

 EqualExpectation::EqualExpectation()
 EqualExpectation::test()
 EqualExpectation::testMessage()
 EqualExpectation::_getValue()

Inherited From SimpleExpectation

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

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