| @@ 668-676 (lines=9) @@ | ||
| 665 | * @param bool $canonicalize |
|
| 666 | * @param bool $ignoreCase |
|
| 667 | */ |
|
| 668 | public function assertFileEquals($expected, $canonicalize = false, $ignoreCase = false) { |
|
| 669 | $this->callAssertMethod(__FUNCTION__, [ |
|
| 670 | 'expected' => $expected, |
|
| 671 | 'additionalParams' => [ |
|
| 672 | $canonicalize, |
|
| 673 | $ignoreCase, |
|
| 674 | ], |
|
| 675 | ]); |
|
| 676 | } |
|
| 677 | ||
| 678 | /** |
|
| 679 | * Asserts that the contents of one file is not equal to the contents of |
|
| @@ 686-694 (lines=9) @@ | ||
| 683 | * @param bool $canonicalize |
|
| 684 | * @param bool $ignoreCase |
|
| 685 | */ |
|
| 686 | public function assertFileNotEquals($expected, $canonicalize = false, $ignoreCase = false) { |
|
| 687 | $this->callAssertMethod(__FUNCTION__, [ |
|
| 688 | 'expected' => $expected, |
|
| 689 | 'additionalParams' => [ |
|
| 690 | $canonicalize, |
|
| 691 | $ignoreCase, |
|
| 692 | ], |
|
| 693 | ]); |
|
| 694 | } |
|
| 695 | ||
| 696 | /** |
|
| 697 | * Asserts that the contents of a string is equal |
|
| @@ 704-712 (lines=9) @@ | ||
| 701 | * @param bool $canonicalize |
|
| 702 | * @param bool $ignoreCase |
|
| 703 | */ |
|
| 704 | public function assertStringEqualsFile($expectedFile, $canonicalize = false, $ignoreCase = false) { |
|
| 705 | $this->callAssertMethod(__FUNCTION__, [ |
|
| 706 | 'expected' => $expectedFile, |
|
| 707 | 'additionalParams' => [ |
|
| 708 | $canonicalize, |
|
| 709 | $ignoreCase, |
|
| 710 | ], |
|
| 711 | ]); |
|
| 712 | } |
|
| 713 | ||
| 714 | /** |
|
| 715 | * Asserts that the contents of a string is not equal |
|
| @@ 722-730 (lines=9) @@ | ||
| 719 | * @param bool $canonicalize |
|
| 720 | * @param bool $ignoreCase |
|
| 721 | */ |
|
| 722 | public function assertStringNotEqualsFile($expectedFile, $canonicalize = false, $ignoreCase = false) { |
|
| 723 | $this->callAssertMethod(__FUNCTION__, [ |
|
| 724 | 'expected' => $expectedFile, |
|
| 725 | 'additionalParams' => [ |
|
| 726 | $canonicalize, |
|
| 727 | $ignoreCase, |
|
| 728 | ], |
|
| 729 | ]); |
|
| 730 | } |
|
| 731 | ||
| 732 | /** |
|
| 733 | * Asserts that a file/dir is readable. |
|