Permalink
Browse files

MINOR Fixed test fixture paths and @package from 'sapphire' to 'cms'

  • Loading branch information...
1 parent 426f7e7 commit f1e1cbe09b8f55e0d712bf49721733b415162f19 @chillu chillu committed Mar 22, 2011
@@ -1,7 +1,7 @@
<?php
/**
* This interface lets us set up objects that will tell us what the current page is.
- * @package sapphire
+ * @package cms
* @subpackage model
*/
interface CurrentPageIdentifier {
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage filesystem
*/
class Folder_UnusedAssetsField extends CompositeField {
View
@@ -2,7 +2,7 @@
/**
* Base class for HTML cleaning classes.
*
- * @package sapphire
+ * @package cms
* @subpackage misc
*/
abstract class HTMLCleaner extends Object {
View
@@ -7,7 +7,7 @@
* You can use forms in widgets by implementing a {@link Widget_Controller}.
* See {@link Widget_Controller} for more information.
*
- * @package sapphire
+ * @package cms
* @subpackage widgets
*/
class Widget extends DataObject {
@@ -140,7 +140,7 @@ function populateFromPostData($data) {
* because the logic is implemented in {@link ContentController->handleWidget()}.
* Copy this logic and the URL rules to enable it for other controllers.
*
- * @package sapphire
+ * @package cms
* @subpackage widgets
*/
class Widget_Controller extends Controller {
@@ -222,7 +222,7 @@ function editablesegment() {
}
/**
- * @package sapphire
+ * @package cms
* @subpackage widgets
*/
class Widget_TreeDropdownField extends TreeDropdownField {
View
@@ -1,7 +1,7 @@
<?php
/**
* Represents a set of widgets shown on a page.
- * @package sapphire
+ * @package cms
* @subpackage widgets
*/
class WidgetArea extends DataObject {
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class ContentControllerPermissionTest extends FunctionalTest {
@@ -1,11 +1,11 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class ContentControllerTest extends FunctionalTest {
- public static $fixture_file = 'sapphire/tests/control/ContentControllerTest.yml';
+ public static $fixture_file = 'cms/tests/ContentControllerTest.yml';
public static $use_draft_site = true;
View
@@ -5,7 +5,7 @@
*/
class ErrorPageTest extends FunctionalTest {
- static $fixture_file = 'sapphire/tests/ErrorPageTest.yml';
+ static $fixture_file = 'cms/tests/ErrorPageTest.yml';
protected $orig = array();
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class MigrateSiteTreeLinkingTaskTest extends SapphireTest {
@@ -1,13 +1,13 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class ModelAsControllerTest extends FunctionalTest {
protected $usesDatabase = true;
- static $fixture_file = 'sapphire/tests/ModelAsControllerTest.yml';
+ static $fixture_file = 'cms/tests/ModelAsControllerTest.yml';
protected $autoFollowRedirection = false;
@@ -1,7 +1,7 @@
<?php
class RedirectorPageTest extends FunctionalTest {
- static $fixture_file = 'sapphire/tests/RedirectorPageTest.yml';
+ static $fixture_file = 'cms/tests/RedirectorPageTest.yml';
static $use_draft_site = true;
function testGoodRedirectors() {
@@ -27,12 +27,12 @@
*
* @author Ingo Schommer (<firstname>@silverstripe.com), SilverStripe Ltd.
*
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class RemoveOrphanedPagesTaskTest extends FunctionalTest {
- static $fixture_file = 'sapphire/tests/tasks/RemoveOrphanedPagesTaskTest.yml';
+ static $fixture_file = 'cms/tests/RemoveOrphanedPagesTaskTest.yml';
static $use_draft_site = false;
@@ -1,10 +1,10 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class RootURLControllerTest extends SapphireTest {
- static $fixture_file = 'sapphire/tests/control/RootURLControllerTest.yml';
+ static $fixture_file = 'cms/tests/RootURLControllerTest.yml';
function testHomepageForDomain() {
$originalHost = $_SERVER['HTTP_HOST'];
View
@@ -1,14 +1,14 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage testing
*
* @todo Fix unpublished pages check in testPublishedPagesMatchedByTitle()
* @todo All tests run on unpublished pages at the moment, due to the searchform not distinguishing between them
*/
class SearchFormTest extends FunctionalTest {
- static $fixture_file = 'sapphire/tests/search/SearchFormTest.yml';
+ static $fixture_file = 'cms/tests/SearchFormTest.yml';
protected $mockController;
View
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*
* Note: Most of the permission-related SiteConfig tests are located in
@@ -9,7 +9,7 @@
* - action_rollback
* - action_revert
*
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class SiteTreeActionsTest extends FunctionalTest {
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class SiteTreeBrokenLinksTest extends SapphireTest {
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*
* @todo Test canAddChildren()
View
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class SiteTreeTest extends SapphireTest {
@@ -1,7 +1,7 @@
<?php
class VirtualPageTest extends SapphireTest {
- static $fixture_file = 'sapphire/tests/model/VirtualPageTest.yml';
+ static $fixture_file = 'cms/tests/VirtualPageTest.yml';
/**
* Test that, after you update the source page of a virtual page, all the virtual pages
@@ -1,10 +1,10 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class WidgetControllerTest extends FunctionalTest {
- static $fixture_file = 'sapphire/tests/widgets/WidgetControllerTest.yml';
+ static $fixture_file = 'cms/tests/WidgetControllerTest.yml';
protected $extraDataObjects = array(
'WidgetControllerTestPage',
@@ -50,7 +50,7 @@ function testWidgetFormSubmission() {
}
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class WidgetControllerTest_Widget extends Widget implements TestOnly {
@@ -60,7 +60,7 @@ class WidgetControllerTest_Widget extends Widget implements TestOnly {
}
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class WidgetControllerTest_Widget_Controller extends Widget_Controller implements TestOnly {
@@ -1,6 +1,6 @@
<?php
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class WidgetControllerTestPage extends Page implements TestOnly {
@@ -10,7 +10,7 @@ class WidgetControllerTestPage extends Page implements TestOnly {
}
/**
- * @package sapphire
+ * @package cms
* @subpackage tests
*/
class WidgetControllerTestPage_Controller extends Page_Controller implements TestOnly {

0 comments on commit f1e1cbe

Please sign in to comment.