]> granicus.if.org Git - php/commitdiff
Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap
authorLars Strojny <lstrojny@php.net>
Thu, 12 Jun 2008 20:46:05 +0000 (20:46 +0000)
committerLars Strojny <lstrojny@php.net>
Thu, 12 Jun 2008 20:46:05 +0000 (20:46 +0000)
ext/reflection/tests/reflectionExtension_info_basic.phpt [new file with mode: 0644]

diff --git a/ext/reflection/tests/reflectionExtension_info_basic.phpt b/ext/reflection/tests/reflectionExtension_info_basic.phpt
new file mode 100644 (file)
index 0000000..48f6a65
--- /dev/null
@@ -0,0 +1,19 @@
+--TEST--
+ReflectionExtension::info()
+--CREDITS--
+Gerrit "Remi" te Sligte <remi@wolerized.com>
+Leon Luijkx <leon@phpgg.nl>
+--FILE--
+<?php
+$obj = new ReflectionExtension('reflection');
+ob_start();
+$testa = $obj->info();
+$testb = ob_get_clean();
+var_dump($testa);
+var_dump(strlen($testb) > 24);
+?>
+==DONE==
+--EXPECT--
+NULL
+bool(true)
+==DONE==