Permalink
Browse files

Unit test fixes.

  • Loading branch information...
1 parent a1f2bcd commit 57d3e376e21a528a61ff260d8d039aa3202c7ce7 @LouisLandry LouisLandry committed Oct 12, 2012
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogleAuthOauth2Test .
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleAuthOauth2Test extends PHPUnit_Framework_TestCase
+class JGoogleAuthOauth2Test extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/adsense.php';
-
/**
* Test class for JGoogleDataAdsense.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataAdsenseTest extends PHPUnit_Framework_TestCase
+class JGoogleDataAdsenseTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/calendar.php';
-
/**
* Test class for JGoogleDataCalendar.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataCalendarTest extends PHPUnit_Framework_TestCase
+class JGoogleDataCalendarTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaAlbumTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaAlbumTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaPhotoTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaPhotoTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/picasa.php';
-
/**
* Test class for JGoogleDataPicasa.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPicasaTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPicasaTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusActivities.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusActivitiesTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusActivitiesTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusComments.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusCommentsTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusCommentsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlusPeople.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusPeopleTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusPeopleTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/data/plus.php';
-
/**
* Test class for JGoogleDataPlus.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleDataPlusTest extends PHPUnit_Framework_TestCase
+class JGoogleDataPlusTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleEmbedAnalyticsTest extends PHPUnit_Framework_TestCase
+class JGoogleEmbedAnalyticsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleEmbedMapsTest extends PHPUnit_Framework_TestCase
+class JGoogleEmbedMapsTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -6,16 +6,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/google/google.php';
-
/**
* Test class for JGoogle.
*
* @package Joomla.UnitTest
* @subpackage Google
* @since 12.3
*/
-class JGoogleTest extends PHPUnit_Framework_TestCase
+class JGoogleTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.
@@ -7,16 +7,14 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/oauth2/client.php';
-
/**
* Test class for JOAuth2Client.
*
* @package Joomla.UnitTest
* @subpackage Oauth
* @since 12.3
*/
-class JOAuth2ClientTest extends PHPUnit_Framework_TestCase
+class JOAuth2ClientTest extends TestCase
{
/**
* @var JRegistry Options for the JOAuth2Client object.

0 comments on commit 57d3e37

Please sign in to comment.