From: Marcus Boerger Date: Sat, 8 Jul 2006 11:43:07 +0000 (+0000) Subject: - Add new test X-Git-Tag: RELEASE_1_0_0RC1~2550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=634fd5e58d1832cc4050f7081c7b9a8a2931d419;p=php - Add new test --- diff --git a/ext/spl/tests/fileobject_003.phpt b/ext/spl/tests/fileobject_003.phpt new file mode 100755 index 0000000000..f485357846 --- /dev/null +++ b/ext/spl/tests/fileobject_003.phpt @@ -0,0 +1,47 @@ +--TEST-- +SPL: SplFileInfo cloning +--SKIPIF-- + +--FILE-- +getPathname() == $c->getPathname()); +} + +test(dirname(__FILE__) . '/' . 'fileobject_001a.txt'); +test(dirname(__FILE__) . '/'); + +?> +===DONE=== + +--EXPECTF-- +===0=== +object(SplFileInfo)#%d (0) { +} +object(SplFileInfo)#%d (0) { +} +bool(false) +bool(true) +bool(true) +===1=== +object(SplFileInfo)#%d (0) { +} +object(SplFileInfo)#%d (0) { +} +bool(false) +bool(true) +bool(true) +===DONE===