Example #1
0
    }
    /**
     * Buffered test suites
     *
     * These tests require no output be sent prior to running as they rely
     * on internal PHP functions.
     *
     * @return PHPUnit_Framework_TestSuite
     */
    public static function suiteBuffered()
    {
        $suite = new PHPUnit_Framework_TestSuite('ZLayer Extension - ZLayer - Buffered Test Suites');
        return $suite;
    }
    /**
     * Regular suite
     *
     * All tests except those that require output buffering.
     *
     * @return PHPUnit_Framework_TestSuite
     */
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('ZLayer Extension - ZLayer');
        $suite->addTestSuite('ZLayer_VersionTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'ZLayer_AllTests::main') {
    ZLayer_AllTests::main();
}
Example #2
0
 /**
  * Regular suite
  *
  * All tests except those that require output buffering.
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('ZLayer Extension');
     $suite->addTest(ZLayer_AllTests::suite());
     return $suite;
 }