altocompta/unit-test/include/class/acc_ledger_finTest.class.php
2019-11-02 00:56:45 +01:00

116 lines
2.4 KiB
PHP

<?php
use PHPUnit\Framework\TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2014-11-08 at 14:20:36.
* @backupGlobals enabled
*/
class Acc_Ledger_FinTest extends TestCase
{
/**
* @var Acc_Ledger_Fin
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
include 'global.php';
$this->object=new Acc_Ledger_Fin($g_connection, 1);
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers Acc_Ledger_Fin::input
* @todo Implement testInput().
*/
public function testInput()
{
// we must compare the output to a file we save previously
}
/**
* @covers Acc_Ledger_Fin::confirm
* @todo Implement testConfirm().
*/
public function testConfirm()
{
// we must compare the output to a file we save previously
}
/**
* @covers Acc_Ledger_Fin::insert
* @todo Implement testInsert().
*/
public function testInsert()
{
}
/**
* @covers Acc_Ledger_Fin::show_ledger
* @todo Implement testShow_ledger().
*/
public function testShow_ledger()
{
}
/**
* @covers Acc_Ledger_Fin::get_bank_name
* @todo Implement testGet_bank_name().
*/
public function testGet_bank_name()
{
$name=$this->object->get_bank_name();
var_export($name);
if (strpos($name, NOTFOUND)!=0) $this->assertTrue(FALSE);
$this->assertTrue(TRUE);
}
/**
* @covers Acc_Ledger_Fin::get_bank
* @todo Implement testGet_bank().
*/
public function testGet_bank()
{
$this->assertEquals(30, $this->object->get_bank());
}
/**
* @covers Acc_Ledger_Fin::numb_operation
* @todo Implement testNumb_operation().
*/
public function testNumb_operation()
{
}
/**
* @covers Acc_Ledger_Fin::insert_quant_fin
* @todo Implement testInsert_quant_fin().
*/
public function testInsert_quant_fin()
{
}
public function testVerify_operation()
{
}
}