2002-11-01 14:23:23 +00:00
|
|
|
--TEST--
|
|
|
|
DBA CDB handler test
|
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
2003-03-04 20:31:42 +00:00
|
|
|
$handler = 'cdb';
|
2002-11-01 14:23:23 +00:00
|
|
|
require_once('skipif.inc');
|
2002-12-20 17:47:58 +00:00
|
|
|
die('info CDB does not support replace or delete');
|
2002-11-01 14:23:23 +00:00
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$handler = 'cdb';
|
2003-03-04 20:31:42 +00:00
|
|
|
require_once('test.inc');
|
2002-11-01 14:23:23 +00:00
|
|
|
require_once('dba_handler.inc');
|
|
|
|
?>
|
2003-12-18 20:10:24 +00:00
|
|
|
===DONE===
|
2002-11-01 14:23:23 +00:00
|
|
|
--EXPECT--
|
|
|
|
database handler: cdb
|
2002-12-20 17:47:58 +00:00
|
|
|
5YYYYY
|
2002-11-01 14:23:23 +00:00
|
|
|
Content String 2
|
2002-12-20 17:47:58 +00:00
|
|
|
array(5) {
|
|
|
|
["key1"]=>
|
|
|
|
string(16) "Content String 1"
|
2002-11-06 11:18:00 +00:00
|
|
|
["key2"]=>
|
2002-12-20 17:47:58 +00:00
|
|
|
string(16) "Content String 2"
|
|
|
|
["key3"]=>
|
|
|
|
string(20) "Third Content String"
|
|
|
|
["key4"]=>
|
|
|
|
string(22) "Another Content String"
|
2002-11-06 11:18:00 +00:00
|
|
|
["key5"]=>
|
|
|
|
string(23) "The last content string"
|
2002-12-20 17:47:58 +00:00
|
|
|
}
|
2003-12-18 20:10:24 +00:00
|
|
|
--NO-LOCK--
|
|
|
|
5YYYYY
|
|
|
|
Content String 2
|
|
|
|
array(5) {
|
|
|
|
["key1"]=>
|
|
|
|
string(16) "Content String 1"
|
|
|
|
["key2"]=>
|
|
|
|
string(16) "Content String 2"
|
|
|
|
["key3"]=>
|
|
|
|
string(20) "Third Content String"
|
|
|
|
["key4"]=>
|
|
|
|
string(22) "Another Content String"
|
|
|
|
["key5"]=>
|
|
|
|
string(23) "The last content string"
|
|
|
|
}
|
|
|
|
===DONE===
|