cvs: pear /Contact_Vcard_Build/tests build-johndoe.phpt
| From: | Till Klampaeckel | Date: | Tue, 30 Jun 2009 22:19:34 +0000 |
| Subject: | cvs: pear /Contact_Vcard_Build/tests build-johndoe.phpt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-56496@lists.php.net to get a copy of this message | ||
till Tue Jun 30 22:19:34 2009 UTC
Modified files:
/pear/Contact_Vcard_Build/tests build-johndoe.phpt
Log:
* added SKIPIF
http://cvs.php.net/viewvc.cgi/pear/Contact_Vcard_Build/tests/build-johndoe.phpt?r1=1.1&r2=1.2&diff_format=u
Index: pear/Contact_Vcard_Build/tests/build-johndoe.phpt
diff -u pear/Contact_Vcard_Build/tests/build-johndoe.phpt:1.1
pear/Contact_Vcard_Build/tests/build-johndoe.phpt:1.2
--- pear/Contact_Vcard_Build/tests/build-johndoe.phpt:1.1 Tue Jun 30 21:49:28 2009
+++ pear/Contact_Vcard_Build/tests/build-johndoe.phpt Tue Jun 30 22:19:34 2009
@@ -1,5 +1,10 @@
--TEST--
A test to build a john doe vcard included in examples.
+--SKIPIF--
+<?php
+if (!class_exists('Contact_Vcard_Build')) {
+ die('SKIP This test requires Contact_Vcard_Build.');
+}
--FILE--
<?php
require_once 'Contact/Vcard/Build.php';