Cover the Query class with database tests for now
This commit is contained in:
parent
ffa7bd5a5d
commit
a52b985826
20 changed files with 80 additions and 20 deletions
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestArticle extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestCleanup extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestFeed extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestFolder extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestLabel extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestMeta extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestMiscellany extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestSession extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestSubscription extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestUser extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestArticle extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestCleanup extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestFeed extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestFolder extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestLabel extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestMeta extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestMiscellany extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestSession extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestSubscription extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
declare(strict_types=1);
|
||||
namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO\Database;
|
||||
|
||||
/** @covers \JKingWeb\Arsse\Database<extended> */
|
||||
/**
|
||||
* @covers \JKingWeb\Arsse\Database<extended>
|
||||
* @covers \JKingWeb\Arsse\Misc\Query
|
||||
*/
|
||||
class TestUser extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
use \JKingWeb\Arsse\Test\Database\Setup;
|
||||
use \JKingWeb\Arsse\Test\Database\DriverSQLite3PDO;
|
||||
|
|
Loading…
Reference in a new issue