Skip to content
Browse files

Line endings

  • Loading branch information...
1 parent fe80cd6 commit 427cab655d3d3ccb5d303ead33b678ae7a93fd83 Mat Gadd committed May 6, 2010
Showing with 34 additions and 34 deletions.
  1. +31 −31 tests/AllTests.php
  2. +1 −1 tests/XMPPHP/LogTest.php
  3. +1 −1 tests/XMPPHP/XMLObjTest.php
  4. +1 −1 tests/XMPPHP/XMPPTest.php
View
62 tests/AllTests.php
@@ -1,31 +1,31 @@
-<?php
-if (!defined('PHPUnit_MAIN_METHOD')) {
- define('PHPUnit_MAIN_METHOD', 'AllTests::main');
-}
-
-require_once 'XMPPHP/LogTest.php';
-require_once 'XMPPHP/XMLObjTest.php';
-require_once 'XMPPHP/XMPPTest.php';
-
-class AllTests
-{
- public static function main()
- {
- PHPUnit_TextUI_TestRunner::run(self::suite());
- }
-
- public static function suite()
- {
- $suite = new PHPUnit_Framework_TestSuite();
-
- $suite->addTestSuite('XMPPHP_LogTest');
- $suite->addTestSuite('XMPPHP_XMLObjTest');
- $suite->addTestSuite('XMPPHP_XMPPTest');
-
- return $suite;
- }
-}
-
-if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
- AllTests::main();
-}
+<?php
+if (!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'AllTests::main');
+}
+
+require_once 'XMPPHP/LogTest.php';
+require_once 'XMPPHP/XMLObjTest.php';
+require_once 'XMPPHP/XMPPTest.php';
+
+class AllTests
+{
+ public static function main()
+ {
+ PHPUnit_TextUI_TestRunner::run(self::suite());
+ }
+
+ public static function suite()
+ {
+ $suite = new PHPUnit_Framework_TestSuite();
+
+ $suite->addTestSuite('XMPPHP_LogTest');
+ $suite->addTestSuite('XMPPHP_XMLObjTest');
+ $suite->addTestSuite('XMPPHP_XMPPTest');
+
+ return $suite;
+ }
+}
+
+if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
+ AllTests::main();
+}
View
2 tests/XMPPHP/LogTest.php
@@ -1,6 +1,6 @@
<?php
-require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/Log.php';
+require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/Log.php';
class XMPPHP_LogTest extends PHPUnit_Framework_TestCase
{
View
2 tests/XMPPHP/XMLObjTest.php
@@ -1,6 +1,6 @@
<?php
-require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/XMLObj.php';
+require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/XMLObj.php';
class XMPPHP_XMLObjTest extends PHPUnit_Framework_TestCase
{
View
2 tests/XMPPHP/XMPPTest.php
@@ -1,6 +1,6 @@
<?php
-require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/XMPP.php';
+require_once dirname(dirname(dirname(__FILE__))) . '/XMPPHP/XMPP.php';
class XMPPHP_XMPPTest extends PHPUnit_Framework_TestCase
{

0 comments on commit 427cab6

Please sign in to comment.
Something went wrong with that request. Please try again.