class vfsStreamWrapperSelectStreamTestCase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperStreamSelectTestCase.php \org\bovigo\vfs\vfsStreamWrapperSelectStreamTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.
@since 0.9.0 @group issue_3
Hierarchy
- class \org\bovigo\vfs\vfsStreamWrapperSelectStreamTestCase extends \org\bovigo\vfs\PHPUnit_Framework_TestCase
Expanded class hierarchy of vfsStreamWrapperSelectStreamTestCase
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperStreamSelectTestCase.php, line 17
Namespace
org\bovigo\vfsView source
class vfsStreamWrapperSelectStreamTestCase extends \PHPUnit_Framework_TestCase {
/**
* @test
* @expectedException \PHPUnit_Framework_Error
*/
public function selectStream() {
$root = vfsStream::setup();
$file = vfsStream::newFile('foo.txt')
->at($root)
->withContent('testContent');
$fp = fopen(vfsStream::url('root/foo.txt'), 'rb');
$readarray = array(
$fp,
);
$writearray = array();
$exceptarray = array();
stream_select($readarray, $writearray, $exceptarray, 1);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
vfsStreamWrapperSelectStreamTestCase:: |
public | function | @test @expectedException \PHPUnit_Framework_Error |