You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
400 lines
10 KiB
400 lines
10 KiB
<?php
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:51.
|
|
*/
|
|
class SplFileObjectTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var SplFileObject
|
|
*/
|
|
protected $object;
|
|
|
|
/**
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
* This method is called before a test is executed.
|
|
*/
|
|
protected function setUp()
|
|
{
|
|
$this->object = new SplFileObject;
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::rewind
|
|
* @todo Implement testRewind().
|
|
*/
|
|
public function testRewind()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::eof
|
|
* @todo Implement testEof().
|
|
*/
|
|
public function testEof()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::valid
|
|
* @todo Implement testValid().
|
|
*/
|
|
public function testValid()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fgets
|
|
* @todo Implement testFgets().
|
|
*/
|
|
public function testFgets()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fgetcsv
|
|
* @todo Implement testFgetcsv().
|
|
*/
|
|
public function testFgetcsv()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fputcsv
|
|
* @todo Implement testFputcsv().
|
|
*/
|
|
public function testFputcsv()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::setCsvControl
|
|
* @todo Implement testSetCsvControl().
|
|
*/
|
|
public function testSetCsvControl()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::getCsvControl
|
|
* @todo Implement testGetCsvControl().
|
|
*/
|
|
public function testGetCsvControl()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::flock
|
|
* @todo Implement testFlock().
|
|
*/
|
|
public function testFlock()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fflush
|
|
* @todo Implement testFflush().
|
|
*/
|
|
public function testFflush()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::ftell
|
|
* @todo Implement testFtell().
|
|
*/
|
|
public function testFtell()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fseek
|
|
* @todo Implement testFseek().
|
|
*/
|
|
public function testFseek()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fgetc
|
|
* @todo Implement testFgetc().
|
|
*/
|
|
public function testFgetc()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fpassthru
|
|
* @todo Implement testFpassthru().
|
|
*/
|
|
public function testFpassthru()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fgetss
|
|
* @todo Implement testFgetss().
|
|
*/
|
|
public function testFgetss()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fscanf
|
|
* @todo Implement testFscanf().
|
|
*/
|
|
public function testFscanf()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fwrite
|
|
* @todo Implement testFwrite().
|
|
*/
|
|
public function testFwrite()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::fstat
|
|
* @todo Implement testFstat().
|
|
*/
|
|
public function testFstat()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::ftruncate
|
|
* @todo Implement testFtruncate().
|
|
*/
|
|
public function testFtruncate()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::current
|
|
* @todo Implement testCurrent().
|
|
*/
|
|
public function testCurrent()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::key
|
|
* @todo Implement testKey().
|
|
*/
|
|
public function testKey()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::next
|
|
* @todo Implement testNext().
|
|
*/
|
|
public function testNext()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::setFlags
|
|
* @todo Implement testSetFlags().
|
|
*/
|
|
public function testSetFlags()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::getFlags
|
|
* @todo Implement testGetFlags().
|
|
*/
|
|
public function testGetFlags()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::setMaxLineLen
|
|
* @todo Implement testSetMaxLineLen().
|
|
*/
|
|
public function testSetMaxLineLen()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::getMaxLineLen
|
|
* @todo Implement testGetMaxLineLen().
|
|
*/
|
|
public function testGetMaxLineLen()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::hasChildren
|
|
* @todo Implement testHasChildren().
|
|
*/
|
|
public function testHasChildren()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::getChildren
|
|
* @todo Implement testGetChildren().
|
|
*/
|
|
public function testGetChildren()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::seek
|
|
* @todo Implement testSeek().
|
|
*/
|
|
public function testSeek()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::getCurrentLine
|
|
* @todo Implement testGetCurrentLine().
|
|
*/
|
|
public function testGetCurrentLine()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers SplFileObject::__toString
|
|
* @todo Implement test__toString().
|
|
*/
|
|
public function test__toString()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|
|
|