addTestSuite('Zend_Ldap_Ldif_SimpleEncoderTest'); /** * @see Zend_Ldap_Ldif_SimpleDecoderTest */ require_once 'Zend/Ldap/Ldif/SimpleDecoderTest.php'; $suite->addTestSuite('Zend_Ldap_Ldif_SimpleDecoderTest'); if (defined('TESTS_ZEND_LDAP_ONLINE_ENABLED') && constant('TESTS_ZEND_LDAP_ONLINE_ENABLED')) { } else { $suite->addTest(new Zend_Ldap_Ldif_SkipOnlineTests()); } return $suite; } } class Zend_Ldap_Ldif_SkipOnlineTests extends PHPUnit_Framework_TestCase { public function setUp() { $this->markTestSkipped('Zend_Ldap_Ldif online tests not enabled in TestConfiguration.php'); } public function testNothing() { } } if (PHPUnit_MAIN_METHOD == 'Zend_Ldap_Ldif_AllTests::main') { Zend_Ldap_Ldif_AllTests::main(); }