Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…-5d4b-11de-8abc-d1c337b90d21
  • Loading branch information
XirisR authored and XirisR committed Jan 18, 2010
1 parent e7d5397 commit 2651f11
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions mongodb-morph/integration-tests/IntegrationTests.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/**
* @author Jonathan Moss <xirisr@gmail.com>
* @copyright Jonathan Moss 2010
*/
require_once 'PHPUnit/Framework.php';
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__).'/TestSingleObject.php';

/**
* Bootstraps all integration tests
*/
class IntegrationTests
{
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Integration Tests');
$suite->addTestSuite('TestComposeMany');
$suite->addTestSuite('TestComposeOne');
$suite->addTestSuite('TestFileProperty');
$suite->addTestSuite('TestHasMany');
$suite->addTestSuite('TestHasOne');
$suite->addTestSuite('TestSingleObject');

return $suite;
}
}

0 comments on commit 2651f11

Please sign in to comment.