|
From: <al...@us...> - 2013-06-15 20:51:17
|
Revision: 11692
http://sourceforge.net/p/xoops/svn/11692
Author: alain91
Date: 2013-06-15 20:51:13 +0000 (Sat, 15 Jun 2013)
Log Message:
-----------
Fix few bugs
Modified Paths:
--------------
XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/common_phpunit.php
XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/phpunit.xml
Modified: XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/common_phpunit.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/common_phpunit.php 2013-06-15 17:04:36 UTC (rev 11691)
+++ XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/common_phpunit.php 2013-06-15 20:51:13 UTC (rev 11692)
@@ -32,17 +32,11 @@
class MY_UnitTestCase extends PHPUnit_Framework_TestCase
{
- function testDummy() // Not really a test but make phpunit happy
- {
- $this->assertTrue(true);
- }
-
function assertIdentical($arg1, $arg2)
{
return $this->assertSame($arg2, $arg1);
}
-
function assertEqual($arg1, $arg2)
{
return $this->assertEquals($arg2, $arg1);
Modified: XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/phpunit.xml
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/phpunit.xml 2013-06-15 17:04:36 UTC (rev 11691)
+++ XoopsCore/branches/2.6.x/2.6.0_alain091/UnitTestXoops/phpunit.xml 2013-06-15 20:51:13 UTC (rev 11692)
@@ -1,12 +1,16 @@
<phpunit
colors="true"
verbose="true"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false"
bootstrap="bootstrap.php"
>
<testsuites>
<testsuite name="My Test Suite">
- <directory>phpunitXoops</directory>
+ <directory>UnitTestXoops</directory>
</testsuite>
</testsuites>
|