blob: b4fb6336ab7ade26459289c92f02281d824463b4 [file] [log] [blame]
<?php
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @version //autogentag//
* @filesource
* @package MvcTools
* @subpackage Tests
*/
/**
* Including the tests
*/
require 'routes/regexp.php';
require 'routes/rails.php';
require 'routes/catchall.php';
require 'router.php';
require 'controller.php';
require 'views/php.php';
require 'views/json.php';
require 'view.php';
require 'request_parsers/http.php';
require 'response_writers/http.php';
require 'response_filters/gzip.php';
require 'response_filters/gzdeflate.php';
require 'response_filters/recode.php';
require 'dispatchers/configurable.php';
require 'structs/external_redirect.php';
require 'structs/filter_definition.php';
require 'structs/internal_redirect.php';
require 'structs/request_accept.php';
require 'structs/request_authentication.php';
require 'structs/request_file.php';
require 'structs/request.php';
require 'structs/request_raw_http.php';
require 'structs/request_user_agent.php';
require 'structs/response.php';
require 'structs/result_cache.php';
require 'structs/result_content.php';
require 'structs/result_cookie.php';
require 'structs/result.php';
require 'structs/routing_information.php';
/**
* @package MvcTools
* @subpackage Tests
*/
class ezcMvcToolsSuite extends PHPUnit_Framework_TestSuite
{
public function __construct()
{
parent::__construct();
$this->setName( 'MvcTools' );
$this->addTest( ezcMvcToolsRegexpRouteTest::suite() );
$this->addTest( ezcMvcToolsRailsRouteTest::suite() );
$this->addTest( ezcMvcToolsCatchAllRouteTest::suite() );
$this->addTest( ezcMvcToolsRouterTest::suite() );
$this->addTest( ezcMvcToolsControllerTest::suite() );
$this->addTest( ezcMvcToolsViewTest::suite() );
$this->addTest( ezcMvcToolsPhpViewTest::suite() );
$this->addTest( ezcMvcToolsJsonViewTest::suite() );
$this->addTest( ezcMvcToolsHttpRequestParserTest::suite() );
$this->addTest( ezcMvcToolsHttpResponseWriterTest::suite() );
$this->addTest( ezcMvcToolsGzipResponseFilterTest::suite() );
$this->addTest( ezcMvcToolsGzDeflateResponseFilterTest::suite() );
$this->addTest( ezcMvcToolsRecodeResponseFilterTest::suite() );
$this->addTest( ezcMvcToolsConfigurableDispatcherTest::suite() );
$this->addTest( ezcMvcFilterDefinitionTest::suite() );
$this->addTest( ezcMvcInternalRedirectTest::suite() );
$this->addTest( ezcMvcRequestAcceptTest::suite() );
$this->addTest( ezcMvcRequestAuthenticationTest::suite() );
$this->addTest( ezcMvcRequestFileTest::suite() );
$this->addTest( ezcMvcRequestTest::suite() );
$this->addTest( ezcMvcHttpRawRequestTest::suite() );
$this->addTest( ezcMvcRequestUserAgentTest::suite() );
$this->addTest( ezcMvcResponseTest::suite() );
$this->addTest( ezcMvcResultCacheTest::suite() );
$this->addTest( ezcMvcResultContentTest::suite() );
$this->addTest( ezcMvcResultCookieTest::suite() );
$this->addTest( ezcMvcResultTest::suite() );
$this->addTest( ezcMvcRoutingInformationTest::suite() );
$this->addTest( ezcMvcExternalRedirectTest::suite() );
}
public static function suite()
{
return new ezcMvcToolsSuite();
}
}
?>