Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Move more classes to legacy. #1283

Merged
merged 1 commit into from

2 participants

@realityking
Collaborator

Unit tests for legacy run fine with this,

@ianmacl ianmacl commented on the diff
tests/suites/legacy/table/JTableContentTest.php
@@ -59,7 +59,7 @@ protected function getDataSet()
$stubpath = JPATH_TESTS . '/suites/unit/joomla/table/stubs';
$dataSet->addTable('jos_assets', $stubpath . '/jos_assets.csv');
@ianmacl
ianmacl added a note

I'll merge but we should probably change the other $stubpath just to be consistent.

@realityking Collaborator

Not sure what you mean, the file is still in the joomla suit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@ianmacl ianmacl merged commit 27df363 into joomla:staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 14, 2012
  1. @realityking
This page is out of date. Refresh to see the latest.
View
1  libraries/joomla/html/language/en-GB/index.html
@@ -1 +0,0 @@
-<!DOCTYPE html><title></title>
View
1  libraries/joomla/html/language/index.html
@@ -1 +0,0 @@
-<!DOCTYPE html><title></title>
View
2  libraries/legacy/categories/categories.php
@@ -373,7 +373,7 @@ protected function _load($id)
/**
* Helper class to load Categorytree
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Categories
* @since 11.1
*/
View
4 libraries/joomla/table/category.php → libraries/legacy/table/category.php
@@ -1,6 +1,6 @@
<?php
/**
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
@@ -12,7 +12,7 @@
/**
* Category table
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
* @since 11.1
*/
View
4 libraries/joomla/table/menu.php → libraries/legacy/table/menu.php
@@ -1,6 +1,6 @@
<?php
/**
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
@@ -12,7 +12,7 @@
/**
* Menu table
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
* @since 11.1
*/
View
4 libraries/joomla/table/menutype.php → libraries/legacy/table/menu/type.php
@@ -1,6 +1,6 @@
<?php
/**
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
@@ -12,7 +12,7 @@
/**
* Menu Types table
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
* @since 11.1
*/
View
4 libraries/joomla/table/module.php → libraries/legacy/table/module.php
@@ -1,6 +1,6 @@
<?php
/**
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
@@ -12,7 +12,7 @@
/**
* Module table
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
* @since 11.1
*/
View
4 libraries/joomla/table/session.php → libraries/legacy/table/session.php
@@ -1,6 +1,6 @@
<?php
/**
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
@@ -12,7 +12,7 @@
/**
* Session table
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Table
* @since 11.1
*/
View
2  libraries/legacy/toolbar/button.php
@@ -117,7 +117,7 @@ public function fetchIconClass($identifier)
/**
* Deprecated class placeholder. You should use JToolbarButton instead.
*
- * @package Joomla.Platform
+ * @package Joomla.Legacy
* @subpackage Toolbar
* @since 11.1
* @deprecated 12.3
View
2  ...s/suites/unit/joomla/table/JTableCategoryTest.php → tests/suites/legacy/table/JTableCategoryTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM.'/joomla/table/category.php';
-
/**
* Test class for JTableCategory.
* Generated by PHPUnit on 2011-12-06 at 03:25:19.
View
2  tests/suites/legacy/table/JTableContentTest.php
@@ -59,7 +59,7 @@ protected function getDataSet()
$stubpath = JPATH_TESTS . '/suites/unit/joomla/table/stubs';
$dataSet->addTable('jos_assets', $stubpath . '/jos_assets.csv');
@ianmacl
ianmacl added a note

I'll merge but we should probably change the other $stubpath just to be consistent.

@realityking Collaborator

Not sure what you mean, the file is still in the joomla suit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
- $dataSet->addTable('jos_categories', $stubpath . '/jos_categories.csv');
+ $dataSet->addTable('jos_categories', __DIR__ . '/stubs/jos_categories.csv');
$dataSet->addTable('jos_content', __DIR__ . '/stubs/jos_content.csv');
return $dataSet;
View
2  tests/suites/unit/joomla/table/JTableMenuTest.php → tests/suites/legacy/table/JTableMenuTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/menu.php';
-
/**
* Test class for JTableMenu.
* Generated by PHPUnit on 2011-12-06 at 03:31:05.
View
2  tests/suites/unit/joomla/table/JTableModuleTest.php → tests/suites/legacy/table/JTableModuleTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/module.php';
-
/**
* Test class for JTableModule.
* Generated by PHPUnit on 2011-12-06 at 03:36:30.
View
2  tests/suites/unit/joomla/table/JTableSessionTest.php → tests/suites/legacy/table/JTableSessionTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/session.php';
-
/**
* Test class for JTableSession.
* Generated by PHPUnit on 2011-12-06 at 03:38:23.
View
2  ...s/suites/unit/joomla/table/JTableMenuTypeTest.php → ...s/suites/legacy/table/menu/JTableMenuTypeTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/menutype.php';
-
/**
* Test class for JTableMenuType.
* Generated by PHPUnit on 2011-12-06 at 03:34:21.
View
0  ...suites/unit/joomla/table/stubs/jos_categories.csv → tests/suites/legacy/table/stubs/jos_categories.csv
File renamed without changes
View
0  tests/suites/unit/joomla/table/stubs/jos_menu.csv → tests/suites/legacy/table/stubs/jos_menu.csv
File renamed without changes
Something went wrong with that request. Please try again.