function ResourceStreamTestCase::testFopen in D7 Media 6
fopen calls the stream_open method of a streamwrapper.
File
- resource/
tests/ ResourceStream.test, line 58 - This provides SimpleTests for the core stream wrapper functionality.
Class
- ResourceStreamTestCase
- Base class for file tests that adds some additional file specific assertions and helper functions.
Code
function testFopen() {
$this->handle = fopen($this->url, 'r+');
$this
->assertTrue($this->handle, 'fopen: ' . $this->url);
}