Move function finished
This commit is contained in:
@@ -37,6 +37,7 @@ class TestOfLogging extends UnitTestCase {
|
||||
$log->message('Trying to do several updates');
|
||||
$this->assertTrue($xmldbtest->updateItemAttribute('table1', array('id', 'links'), array('id', 'zelda')));
|
||||
$this->assertTrue($xmldbtest->updateItemValue('table1', array('id', 'notes'), null, 'booga!'));
|
||||
|
||||
$log->message('Trying to delete the item "clock" from "table1"');
|
||||
//var_dump($xmldbtest->selectFromPK('table1', 'clock', 'node'), true);
|
||||
//$this->assertTrue($xmldbtest->deleteNode($xmldbtest->selectFromPK('table1', 'clock', 'node')));
|
||||
@@ -76,6 +77,8 @@ class TestOfLogging extends UnitTestCase {
|
||||
}
|
||||
$this->assertTrue($xmldbtest2->deleteITem('table3', '4'));
|
||||
$this->assertTrue($xmldbtest2->insertItem(null, null, array('visibility'=>'true', 'x'=>'31'), 'table3'));
|
||||
$this->assertTrue($xmldbtest2->updateChildValue('table3', $xmldbtest2->selectFromPK('table3', '5', 'node'), 'prenom', 'Sophia'));
|
||||
$this->assertTrue($xmldbtest2->move($xmldbtest2->selectFromPK('table1', '3', 'node'), 'table2', 2));
|
||||
//$this->assertTrue($xmldbtest2->insertItem(null, null, array('visibility'=>'true', 'x'=>'33'), 'table3'));
|
||||
//$this->assertEqual($xmldbtest2->getAttribute('aivalue', $xmldbtest2->selectTable('table3')), 5);
|
||||
/*$log->message('Trying to select w/o anything');
|
||||
|
Reference in New Issue
Block a user