Skip to content

Commit

Permalink
removes teardown method
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Apr 14, 2019
1 parent 00add3f commit af61ab1
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 149 deletions.
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Column/ColumnModelTest.php
Expand Up @@ -56,14 +56,6 @@ protected function setUp(): void
$this->columnModel = $this->source->getColumnModel();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testRenderer()
{
$source = new SqlSource($this->adapter);
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Column/ColumnTypeTest.php
Expand Up @@ -34,14 +34,6 @@ protected function setUp()
$this->type = new ColumnType();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testCreate()
{
$this->assertEquals(ColumnType::TYPE_STRING, ColumnType::createType(ColumnType::TYPE_STRING)->getName());
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Column/Search/ResultTest.php
Expand Up @@ -50,14 +50,6 @@ protected function setUp()
$this->columnModel = $this->source->getColumnModel();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testSearchResults()
{
$source = new SqlSource($this->adapter);
Expand Down
16 changes: 0 additions & 16 deletions tests/src/SolubleTest/FlexStore/Column/Type/MetadataMapperTest.php
Expand Up @@ -20,22 +20,6 @@
*/
class MetadataMapperTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testGetColumnTypeByMetadataType()
{
$supported = \Soluble\Datatype\Column\Type::getSupportedTypes();
Expand Down
Expand Up @@ -35,14 +35,6 @@ protected function setUp()
$this->currencyFormatter = new CurrencyFormatter();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testConstruct()
{
$params = [
Expand Down
Expand Up @@ -32,14 +32,6 @@ protected function setUp()
$this->uf = new UnitFormatter();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testConstruct()
{
$params = [
Expand Down
16 changes: 0 additions & 16 deletions tests/src/SolubleTest/FlexStore/FormatterTest.php
Expand Up @@ -20,22 +20,6 @@
*/
class FormatterTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testCreate()
{
$c = Formatter::create(Formatter::FORMATTER_CURRENCY);
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Helper/PaginatorTest.php
Expand Up @@ -28,14 +28,6 @@ protected function setUp()
{
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testSomeException()
{
try {
Expand Down
Expand Up @@ -34,14 +34,6 @@ protected function setUp()
$this->object = new HydrationOptions();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testAll()
{
$ho = $this->object;
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/OptionsTest.php
Expand Up @@ -34,14 +34,6 @@ protected function setUp()
$this->options = new Options();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testSetGetLimitAndOffset()
{
$this->assertNull($this->options->getLimit());
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/ResultSet/ResultSetTest.php
Expand Up @@ -62,14 +62,6 @@ protected function getStore(Select $select = null)
return new FlexStore(new SqlSource($this->adapter, $select));
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

/**
* @covers \Soluble\FlexStore\ResultSet\AbstractResultSet::toArray
*/
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Source/Zend/SqlSourceTest.php
Expand Up @@ -46,14 +46,6 @@ protected function setUp()
$this->source = new SqlSource($this->adapter, $select);
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testGetMetadata()
{
$metadata = $this->source->getMetadataReader();
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/StoreTest.php
Expand Up @@ -52,14 +52,6 @@ protected function setUp()
$this->select->from('user');
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testBehaviour()
{
$source = new SqlSource($this->adapter);
Expand Down
8 changes: 0 additions & 8 deletions tests/src/SolubleTest/FlexStore/Writer/CSVWriterTest.php
Expand Up @@ -84,14 +84,6 @@ protected function getStore(SqlSource $sqlSource = null)
return new FlexStore($sqlSource);
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testGetEmptyData()
{
$enclosure = '"';
Expand Down
Expand Up @@ -95,11 +95,6 @@ protected function getTestSource()
return $source;
}

protected function tearDown()
{
ini_set('error_reporting', E_ALL | E_STRICT);
}

public function testColumnModelWithColumnExclusion()
{
$output_file = \SolubleTestFactories::getCachePath() . DIRECTORY_SEPARATOR . 'tmp_phpunit_lbxl_test5.xlsx';
Expand Down
Expand Up @@ -34,14 +34,6 @@ protected function setUp()
$this->headers = new SimpleHeaders();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testAll()
{
$headers = new SimpleHeaders();
Expand Down
Expand Up @@ -54,14 +54,6 @@ protected function setUp()
$this->xmlWriter->setStore(new FlexStore($this->source));
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}

public function testConstructor()
{
$xmlWriter = new SimpleXmlWriter(new FlexStore($this->source));
Expand Down

0 comments on commit af61ab1

Please sign in to comment.