Annotation of embedaddon/php/ext/dba/tests/dba_cdb.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DBA CDB handler test
3: --SKIPIF--
4: <?php
5: $handler = 'cdb';
6: require_once(dirname(__FILE__) .'/skipif.inc');
7: die('info CDB does not support replace or delete');
8: ?>
9: --FILE--
10: <?php
11: $handler = 'cdb';
12: require_once(dirname(__FILE__) .'/test.inc');
13: require_once(dirname(__FILE__) .'/dba_handler.inc');
14: ?>
15: ===DONE===
16: --CLEAN--
17: <?php
18: require(dirname(__FILE__) .'/clean.inc');
19: ?>
20: --EXPECT--
21: database handler: cdb
22: 5YYYYY
23: Content String 2
24: array(5) {
25: ["key1"]=>
26: string(16) "Content String 1"
27: ["key2"]=>
28: string(16) "Content String 2"
29: ["key3"]=>
30: string(20) "Third Content String"
31: ["key4"]=>
32: string(22) "Another Content String"
33: ["key5"]=>
34: string(23) "The last content string"
35: }
36: --NO-LOCK--
37: 5YYYYY
38: Content String 2
39: array(5) {
40: ["key1"]=>
41: string(16) "Content String 1"
42: ["key2"]=>
43: string(16) "Content String 2"
44: ["key3"]=>
45: string(20) "Third Content String"
46: ["key4"]=>
47: string(22) "Another Content String"
48: ["key5"]=>
49: string(23) "The last content string"
50: }
51: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>