You are here

public static function PHPUnit_Framework_Assert::assertFileNotEquals in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \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:

bool $canonicalize:

bool $ignoreCase:

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

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 804

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);
}