Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
[2.0] Updated test suite
Browse files Browse the repository at this point in the history
    - Created phpunit.xml
    - Renamed TestHelper.php Bootstrap.php; latter now referenced in phpunit.xml
    - Uses autoloading
    - Stripped require_once calls globally (will need to run individual groups
      iteratively to determine if any test caes are missing necessary calls)
    - Controller tests now run (but 4 new errors)

git-svn-id: http://framework.zend.com/svn/framework/standard/branches/development-2.0@21390 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
matthew committed Mar 8, 2010
1 parent d8446cc commit fc03ad1
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 210 deletions.
62 changes: 0 additions & 62 deletions test/AllTests.php

This file was deleted.

61 changes: 0 additions & 61 deletions test/Cloud/AllTests.php

This file was deleted.

9 changes: 1 addition & 8 deletions test/Cloud/CloudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@
/**
* Test helper
*/
require_once dirname(__FILE__) . '/../../../TestHelper.php';

require_once 'Zend/Config.php';
require_once 'Zend/Loader/PluginLoader.php';
require_once 'Zend/Tag/Cloud.php';
require_once 'Zend/Tag/ItemList.php';
require_once dirname(__FILE__) . '/_classes/CloudDummy.php';
require_once dirname(__FILE__) . '/_classes/TagDummy.php';


/**
* @category Zend
Expand Down
61 changes: 0 additions & 61 deletions test/Cloud/Decorator/AllTests.php

This file was deleted.

3 changes: 0 additions & 3 deletions test/Cloud/Decorator/HtmlCloudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
/**
* Test helper
*/
require_once dirname(__FILE__) . '/../../../../TestHelper.php';

require_once 'Zend/Config.php';
require_once 'Zend/Tag/Cloud/Decorator/HtmlCloud.php';

/**
* @category Zend
Expand Down
5 changes: 0 additions & 5 deletions test/Cloud/Decorator/HtmlTagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@
/**
* Test helper
*/
require_once dirname(__FILE__) . '/../../../../TestHelper.php';

require_once 'Zend/Tag/Item.php';
require_once 'Zend/Tag/ItemList.php';
require_once 'Zend/Tag/Cloud/Decorator/HtmlTag.php';
require_once 'Zend/Config.php';

/**
* @category Zend
Expand Down
1 change: 0 additions & 1 deletion test/Cloud/_classes/CloudDummy.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* @version $Id$
*/

require_once 'Zend/Tag/Cloud/Decorator/HtmlCloud.php';

/**
* @category Zend
Expand Down
1 change: 0 additions & 1 deletion test/Cloud/_classes/CloudDummy1.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* @version $Id$
*/

require_once 'Zend/Tag/Cloud/Decorator/HtmlCloud.php';

/**
* @category Zend
Expand Down
1 change: 0 additions & 1 deletion test/Cloud/_classes/CloudDummy2.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* @version $Id$
*/

require_once 'Zend/Tag/Cloud/Decorator/HtmlCloud.php';

/**
* @category Zend
Expand Down
1 change: 0 additions & 1 deletion test/Cloud/_classes/TagDummy.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* @version $Id$
*/

require_once 'Zend/Tag/Cloud/Decorator/HtmlTag.php';

/**
* @category Zend
Expand Down
3 changes: 0 additions & 3 deletions test/ItemListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
/**
* Test helper
*/
require_once dirname(__FILE__) . '/../../TestHelper.php';

require_once 'Zend/Tag/Item.php';
require_once 'Zend/Tag/ItemList.php';

/**
* @category Zend
Expand Down
3 changes: 0 additions & 3 deletions test/ItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
/**
* Test helper
*/
require_once dirname(__FILE__) . '/../../TestHelper.php';

require_once 'Zend/Config.php';
require_once 'Zend/Tag/Item.php';

/**
* @category Zend
Expand Down

0 comments on commit fc03ad1

Please sign in to comment.