public static function PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile()
Asserts that two XML files are equal.
@since Method available since Release 3.1.0
Parameters
string $expectedFile:
string $actualFile:
string $message:
1 call to PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile()
- Framework_AssertTest::testAssertXmlFileEqualsXmlFile in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertXmlFileEqualsXmlFile
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 1699
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = '') {
$expected = PHPUnit_Util_XML::loadFile($expectedFile);
$actual = PHPUnit_Util_XML::loadFile($actualFile);
self::assertEquals($expected, $actual, $message);
}