public static function PHPUnit_Framework_Assert::assertFileNotEquals

Asserts that the contents of one file is not equal to the contents of another file.

@since Method available since Release 3.2.14

Parameters

string $expected:

string $actual:

string $message:

boolean $canonicalize:

boolean $ignoreCase:

1 call to PHPUnit_Framework_Assert::assertFileNotEquals()
Framework_AssertTest::testAssertFileNotEquals in drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertFileNotEquals

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 773

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertFileNotEquals($expected, $actual, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) {
  self::assertFileExists($expected, $message);
  self::assertFileExists($actual, $message);
  self::assertNotEquals(file_get_contents($expected), file_get_contents($actual), $message, 0, 10, $canonicalize, $ignoreCase);
}