Browse Source

Release v0.2.3

pull/3/head 0.2.3
parent
commit
186bdbd8c5
  1. 5
      debian/changelog
  2. 2
      debian/composer.json
  3. 4
      debian/files
  4. 2
      phpunit.xml
  5. 8
      tests/src/Ease/SQL/EngineTest.php
  6. 18
      tests/src/Ease/SQL/SQLTest.php

5
debian/changelog

@ -1,4 +1,4 @@
php-ease-fluentpdo (0.2.2) UNRELEASED; urgency=medium
php-ease-fluentpdo (0.2.3) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
* twbootstrap renamed to bootstrap
@ -7,5 +7,6 @@ php-ease-fluentpdo (0.2.2) UNRELEASED; urgency=medium
* twbootstrap renamed to bootstrap
* twbootstrap renamed to bootstrap
* Merge branch 'master' of github.com:VitexSoftware/php-ease-fluentpdo
* Unit Tests updated
-- CyberVitexus <vitex@exiv.jinonice.czf> Sat, 13 Jun 2020 16:11:02 +0200
-- CyberVitexus <vitex@exiv.jinonice.czf> Sat, 20 Jun 2020 12:55:27 +0200

2
debian/composer.json

@ -20,5 +20,5 @@
"conflict": {
"deb/ease-framework": "*"
},
"address": "0.2.2"
"address": "0.2.3"
}

4
debian/files

@ -1,2 +1,2 @@
php-ease-fluentpdo_0.2.2_all.deb web optional
php-ease-fluentpdo_0.2.2_amd64.buildinfo web optional
php-ease-fluentpdo_0.2.3_all.deb web optional
php-ease-fluentpdo_0.2.3_amd64.buildinfo web optional

2
phpunit.xml

@ -6,7 +6,7 @@
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/AdamStipak</directory>
<directory suffix=".php">src/Ease/SQL</directory>
</whitelist>
</filter>
</phpunit>

8
tests/src/Ease/SQL/EngineTest.php

@ -155,28 +155,28 @@ class EngineTest extends \PHPUnit\Framework\TestCase {
* @covers Ease\SQL\Engine::updateToSQL
*/
public function testUpdateToSQL() {
$this->assertEquals('', $this->object->UpdateToSQL());
$this->assertEquals('', $this->object->updateToSQL());
}
/**
* @covers Ease\SQL\Engine::saveToSQL
*/
public function testSaveToSQL() {
$this->assertEquals('', $this->object->SaveToSQL());
$this->assertEquals('', $this->object->saveToSQL());
}
/**
* @covers Ease\SQL\Engine::insertToSQL
*/
public function testInsertToSQL() {
$this->assertEquals('', $this->object->InsertToSQL());
$this->assertEquals('', $this->object->insertToSQL());
}
/**
* @covers Ease\SQL\Engine::deleteFromSQL
*/
public function testDeleteFromSQL() {
$this->assertEquals('', $this->object->DeleteFromSQL());
$this->assertEquals('', $this->object->deleteFromSQL());
}
/**

18
tests/src/Ease/SQL/SQLTest.php

@ -5,8 +5,9 @@ namespace Test\Ease\SQL;
use Ease\SQL\SQL;
class SQLTester extends SQL {
public $myTable = 'test';
}
/**
@ -25,7 +26,7 @@ class SQLTest extends \PHPUnit\Framework\TestCase {
*/
protected function setUp(): void {
$this->object = new SQLTester(['myTable'=>'test']);
$this->object = new SQLTester(['myTable' => 'test']);
}
/**
@ -78,25 +79,18 @@ class SQLTest extends \PHPUnit\Framework\TestCase {
$this->assertEquals('', $this->object->SanitizeQuery(''));
}
/**
* @covers Ease\SQL\SQL::makeReport
*/
public function testMakeReport() {
$this->assertEquals('', $this->object->MakeReport());
}
/**
* @covers Ease\SQL\SQL::setTable
*/
public function testSetTable() {
$this->assertEquals('', $this->object->SetTable());
$this->assertEquals($this->object->tableName, $this->object->setTable('test'));
}
/**
* @covers Ease\SQL\SQL::getNumRows
*/
public function testGetNumRows() {
$this->assertEquals('', $this->object->GetNumRows());
$this->assertEquals(0, $this->object->GetNumRows());
}
/**
@ -166,7 +160,7 @@ class SQLTest extends \PHPUnit\Framework\TestCase {
* @covers Ease\SQL\SQL::isConnected
*/
public function testIsConnected() {
$this->assertTrue( $this->object->IsConnected());
$this->assertTrue($this->object->IsConnected());
}
/**

Loading…
Cancel
Save