Annotation of embedaddon/php/ext/spl/tests/SplFileInfo_getGroup_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: SplFileInfo test getGroup
3: --CREDITS--
4: Cesare D'Amico <cesare.damico@gruppovolta.it>
5: Andrea Giorgini <agiorg@gmail.com>
6: Filippo De Santis <fd@ideato.it>
7: Daniel Londero <daniel.londero@gmail.com>
8: Francesco Trucchia <ft@ideato.it>
9: Jacopo Romei <jacopo@sviluppoagile.it>
10: #Test Fest Cesena (Italy) on 2009-06-20
11: --FILE--
12: <?php
13: $filename = __DIR__ . "/SplFileInfo_getGroup_basic";
14: touch($filename);
15: $fileInfo = new SplFileInfo($filename);
16: $expected = filegroup($filename);
17: $actual = $fileInfo->getGroup();
18: var_dump($expected == $actual);
19: ?>
20: --CLEAN--
21: <?php
22: $filename = __DIR__ . "/SplFileInfo_getGroup_basic";
23: unlink($filename);
24: ?>
25: --EXPECTF--
26: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>