~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/dba/tests/dba_flatfile.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
DBA FlatFile handler test
 
3
--SKIPIF--
 
4
<?php 
 
5
        $handler = 'flatfile';
 
6
        require_once('skipif.inc');
 
7
?>
 
8
--FILE--
 
9
<?php
 
10
        $handler = 'flatfile';
 
11
        require_once('test.inc');
 
12
        require_once('dba_handler.inc');
 
13
?>
 
14
===DONE===
 
15
--EXPECT--
 
16
database handler: flatfile
 
17
3NYNYY
 
18
Content String 2
 
19
Content 2 replaced
 
20
Read during write: not allowed
 
21
Content 2 replaced 2nd time
 
22
The 6th value
 
23
array(3) {
 
24
  ["key number 6"]=>
 
25
  string(13) "The 6th value"
 
26
  ["key2"]=>
 
27
  string(27) "Content 2 replaced 2nd time"
 
28
  ["key5"]=>
 
29
  string(23) "The last content string"
 
30
}
 
31
--NO-LOCK--
 
32
3NYNYY
 
33
Content String 2
 
34
Content 2 replaced
 
35
Read during write: not allowed
 
36
Content 2 replaced 2nd time
 
37
The 6th value
 
38
array(3) {
 
39
  ["key number 6"]=>
 
40
  string(13) "The 6th value"
 
41
  ["key2"]=>
 
42
  string(27) "Content 2 replaced 2nd time"
 
43
  ["key5"]=>
 
44
  string(23) "The last content string"
 
45
}
 
46
===DONE===