Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unit test fixes.

  • Loading branch information...
commit 57d3e376e21a528a61ff260d8d039aa3202c7ce7 1 parent a1f2bcd
@LouisLandry LouisLandry authored
View
4 tests/suites/unit/joomla/google/JGoogleAuthOauth2Test.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogleAuthOauth2Test .
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleAuthOauth2Test extends PHPUnit_Framework_TestCase
+class JGoogleAuthOauth2Test extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataAdsenseTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/adsense.php';
-
/**
* Test class for JGoogleDataAdsense.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataAdsenseTest extends PHPUnit_Framework_TestCase
+class JGoogleDataAdsenseTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataCalendarTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/calendar.php';
-
/**
* Test class for JGoogleDataCalendar.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataCalendarTest extends PHPUnit_Framework_TestCase
+class JGoogleDataCalendarTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPicasaAlbumTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaAlbumTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaAlbumTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPicasaPhotoTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaPhotoTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaPhotoTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPicasaTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPlusActivitiesTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusActivities.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusActivitiesTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusActivitiesTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPlusCommentsTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusComments.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusCommentsTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusCommentsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPlusPeopleTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusPeople.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusPeopleTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusPeopleTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleDataPlusTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlus.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleEmbedAnalyticsTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleEmbedAnalyticsTest extends PHPUnit_Framework_TestCase
+class JGoogleEmbedAnalyticsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleEmbedMapsTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleEmbedMapsTest extends PHPUnit_Framework_TestCase
+class JGoogleEmbedMapsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/google/JGoogleTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
@@ -15,7 +13,7 @@
* @subpackage Google
* @since 12.3
*/
-class JGoogleTest extends PHPUnit_Framework_TestCase
+class JGoogleTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
View
4 tests/suites/unit/joomla/oauth2/JOauth2ClientTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/oauth2/client.php';
-
/**
* Test class for JOAuth2Client.
*
@@ -16,7 +14,7 @@
* @subpackage Oauth
* @since 12.3
*/
-class JOAuth2ClientTest extends PHPUnit_Framework_TestCase
+class JOAuth2ClientTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
Please sign in to comment.
Something went wrong with that request. Please try again.