Remove useless arguments
This commit is contained in:
parent
fa67520c09
commit
879a37820d
1 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testStreamOpen()
|
public function testStreamOpen()
|
||||||
{
|
{
|
||||||
$this->assertTrue($this->stream->stream_open('playlist://foo', 'r'));
|
$this->assertTrue($this->stream->stream_open('playlist://foo'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testStreamTell()
|
public function testStreamTell()
|
||||||
{
|
{
|
||||||
$this->stream->stream_open('playlist://foo', 'r');
|
$this->stream->stream_open('playlist://foo');
|
||||||
$this->assertInternalType('int', $this->stream->stream_tell());
|
$this->assertInternalType('int', $this->stream->stream_tell());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testStreamSeek()
|
public function testStreamSeek()
|
||||||
{
|
{
|
||||||
$this->stream->stream_open('playlist://foo', 'r');
|
$this->stream->stream_open('playlist://foo');
|
||||||
$this->assertInternalType('bool', $this->stream->stream_seek(3));
|
$this->assertInternalType('bool', $this->stream->stream_seek(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testStreamRead()
|
public function testStreamRead()
|
||||||
{
|
{
|
||||||
$this->stream->stream_open('playlist://BaW_jenozKc;BaW_jenozKc/worst', 'r');
|
$this->stream->stream_open('playlist://BaW_jenozKc;BaW_jenozKc/worst');
|
||||||
while (!$this->stream->stream_eof()) {
|
while (!$this->stream->stream_eof()) {
|
||||||
$this->assertLessThanOrEqual(8192, strlen($this->stream->stream_read(8192)));
|
$this->assertLessThanOrEqual(8192, strlen($this->stream->stream_read(8192)));
|
||||||
}
|
}
|
||||||
|
@ -99,7 +99,7 @@ class PlaylistArchiveStreamTest extends \PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testStreamEof()
|
public function testStreamEof()
|
||||||
{
|
{
|
||||||
$this->stream->stream_open('playlist://foo', 'r');
|
$this->stream->stream_open('playlist://foo');
|
||||||
$this->assertFalse($this->stream->stream_eof(3));
|
$this->assertFalse($this->stream->stream_eof());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue