Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (33 sloc) 1.149 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?php
/**
* @author Jonathan Moss <xirisr@gmail.com>
* @copyright Jonathan Moss 2010
*/
require_once dirname(__FILE__).'/../Morph.phar';
require_once dirname(__FILE__).'/TestComposeMany.php';
require_once dirname(__FILE__).'/TestComposeOne.php';
require_once dirname(__FILE__).'/TestFileProperty.php';
require_once dirname(__FILE__).'/TestHasMany.php';
require_once dirname(__FILE__).'/TestHasOne.php';
require_once dirname(__FILE__).'/TestQuery.php';
require_once dirname(__FILE__).'/TestSingleObject.php';
require_once dirname(__FILE__).'/TestAliased.php';

/**
* Bootstraps all integration tests
*/
class IntegrationTests
{
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Morph Integration Tests');
        $suite->addTestSuite('TestComposeMany');
        $suite->addTestSuite('TestComposeOne');
        $suite->addTestSuite('TestFileProperty');
        $suite->addTestSuite('TestHasMany');
        $suite->addTestSuite('TestHasOne');
        $suite->addTestSuite('Testquery');
        $suite->addTestSuite('TestSingleObject');
$suite->addTestSuite('TestAliased');
        return $suite;
    }
}
Something went wrong with that request. Please try again.