protected function vfsStreamWrapperFileTimesTestCase::assertFileTimesEqualStreamTimes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperFileTimesTestCase.php \org\bovigo\vfs\vfsStreamWrapperFileTimesTestCase::assertFileTimesEqualStreamTimes()
helper assertion for the tests
Parameters
string $url url to check:
vfsStreamContent $content content to compare:
10 calls to vfsStreamWrapperFileTimesTestCase::assertFileTimesEqualStreamTimes()
- vfsStreamWrapperFileTimesTestCase::createNewFileChangesAttributeAndModificationTimeOfContainingDirectory in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php 
- @test @group issue_7
- vfsStreamWrapperFileTimesTestCase::createNewFileSetsAllTimesToCurrentTime in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php 
- @test @group issue_7
- vfsStreamWrapperFileTimesTestCase::fileGetContentsChangesAttributeTimeOnly in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php 
- @test @group issue_7 @group issue_26
- vfsStreamWrapperFileTimesTestCase::openFileChangesAttributeTimeOnly in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php 
- @test @group issue_7 @group issue_26
- vfsStreamWrapperFileTimesTestCase::openFileWithTruncateChangesAttributeAndModificationTime in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php 
- @test @group issue_7 @group issue_26
File
- vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTimesTestCase.php, line 57 
Class
Namespace
org\bovigo\vfsCode
protected function assertFileTimesEqualStreamTimes($url, vfsStreamContent $content) {
  $this
    ->assertEquals(filemtime($url), $content
    ->filemtime());
  $this
    ->assertEquals(fileatime($url), $content
    ->fileatime());
  $this
    ->assertEquals(filectime($url), $content
    ->filectime());
}