mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
584 lines
15 KiB
PHP
584 lines
15 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2014-11-08 at 14:23:53.
|
|
*/
|
|
class DatabaseTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
|
|
/**
|
|
* @var Database
|
|
*/
|
|
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 Database;
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* @covers Database::verify
|
|
* @todo Implement testVerify().
|
|
*/
|
|
public function testVerify()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::set_encoding
|
|
* @todo Implement testSet_encoding().
|
|
*/
|
|
public function testSet_encoding()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exec_sql
|
|
* @todo Implement testExec_sql().
|
|
*/
|
|
public function testExec_sql()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::count_sql
|
|
* @todo Implement testCount_sql().
|
|
*/
|
|
public function testCount_sql()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::get_current_seq
|
|
* @todo Implement testGet_current_seq().
|
|
*/
|
|
public function testGet_current_seq()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::get_next_seq
|
|
* @todo Implement testGet_next_seq().
|
|
*/
|
|
public function testGet_next_seq()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::start
|
|
* @todo Implement testStart().
|
|
*/
|
|
public function testStart()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::commit
|
|
* @todo Implement testCommit().
|
|
*/
|
|
public function testCommit()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::rollback
|
|
* @todo Implement testRollback().
|
|
*/
|
|
public function testRollback()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::alter_seq
|
|
* @todo Implement testAlter_seq().
|
|
*/
|
|
public function testAlter_seq()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::execute_script
|
|
* @todo Implement testExecute_script().
|
|
*/
|
|
public function testExecute_script()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::get_version
|
|
* @todo Implement testGet_version().
|
|
*/
|
|
public function testGet_version()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::fetch
|
|
* @todo Implement testFetch().
|
|
*/
|
|
public function testFetch()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::size
|
|
* @todo Implement testSize().
|
|
*/
|
|
public function testSize()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::count
|
|
* @todo Implement testCount().
|
|
*/
|
|
public function testCount()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::apply_patch
|
|
* @todo Implement testApply_patch().
|
|
*/
|
|
public function testApply_patch()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::get_value
|
|
* @todo Implement testGet_value().
|
|
*/
|
|
public function testGet_value()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::get_array
|
|
* @todo Implement testGet_array().
|
|
*/
|
|
public function testGet_array()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::create_sequence
|
|
* @todo Implement testCreate_sequence().
|
|
*/
|
|
public function testCreate_sequence()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_sequence
|
|
* @todo Implement testExist_sequence().
|
|
*/
|
|
public function testExist_sequence()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_table
|
|
* @todo Implement testExist_table().
|
|
*/
|
|
public function testExist_table()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_column
|
|
* @todo Implement testExist_column().
|
|
*/
|
|
public function testExist_column()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::format_name
|
|
* @todo Implement testFormat_name().
|
|
*/
|
|
public function testFormat_name()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_database
|
|
* @todo Implement testExist_database().
|
|
*/
|
|
public function testExist_database()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_blob
|
|
* @todo Implement testExist_blob().
|
|
*/
|
|
public function testExist_blob()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_view
|
|
* @todo Implement testExist_view().
|
|
*/
|
|
public function testExist_view()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::exist_schema
|
|
* @todo Implement testExist_schema().
|
|
*/
|
|
public function testExist_schema()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::make_list
|
|
* @todo Implement testMake_list().
|
|
*/
|
|
public function testMake_list()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::make_array
|
|
* @todo Implement testMake_array().
|
|
*/
|
|
public function testMake_array()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::save_upload_document
|
|
* @todo Implement testSave_upload_document().
|
|
*/
|
|
public function testSave_upload_document()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::num_row
|
|
* @todo Implement testNum_row().
|
|
*/
|
|
public function testNum_row()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::fetch_array
|
|
* @todo Implement testFetch_array().
|
|
*/
|
|
public function testFetch_array()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::fetch_all
|
|
* @todo Implement testFetch_all().
|
|
*/
|
|
public function testFetch_all()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::fetch_result
|
|
* @todo Implement testFetch_result().
|
|
*/
|
|
public function testFetch_result()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::fetch_row
|
|
* @todo Implement testFetch_row().
|
|
*/
|
|
public function testFetch_row()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::lo_unlink
|
|
* @todo Implement testLo_unlink().
|
|
*/
|
|
public function testLo_unlink()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::prepare
|
|
* @todo Implement testPrepare().
|
|
*/
|
|
public function testPrepare()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::execute
|
|
* @todo Implement testExecute().
|
|
*/
|
|
public function testExecute()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::lo_export
|
|
* @todo Implement testLo_export().
|
|
*/
|
|
public function testLo_export()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::lo_import
|
|
* @todo Implement testLo_import().
|
|
*/
|
|
public function testLo_import()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::escape_string
|
|
* @todo Implement testEscape_string().
|
|
*/
|
|
public function testEscape_string()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::close
|
|
* @todo Implement testClose().
|
|
*/
|
|
public function testClose()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::__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.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::test_me
|
|
* @todo Implement testTest_me().
|
|
*/
|
|
public function testTest_me()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::status
|
|
* @todo Implement testStatus().
|
|
*/
|
|
public function testStatus()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers Database::query_to_csv
|
|
* @todo Implement testQuery_to_csv().
|
|
*/
|
|
public function testQuery_to_csv()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
}
|