This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://mongodb-morph.googlecode.com/svn/trunk@71 406649b4…
…-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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |