Skip to content
Permalink
Browse files

Merged pull request zetacomponents#9

  • Loading branch information...
derickr committed Feb 17, 2019
2 parents 489e202 + 3b2f21f commit 68004df22086b802c6f8f595b47df475e1cc2d07
@@ -5,6 +5,7 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
@@ -92,7 +92,7 @@ public function testCallback3()
public static function suite()
{
return new PHPUnit_Framework_TestSuite("ezcBaseInitTest");
return new PHPUnit\Framework\TestSuite("ezcBaseInitTest");
}
}
?>
@@ -34,7 +34,7 @@ class ezcBaseOptionsTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite("ezcBaseOptionsTest");
return new PHPUnit\Framework\TestSuite("ezcBaseOptionsTest");
}
public function testGetAccessFailure()
@@ -449,7 +449,7 @@ public function testCheckDependencyVersion()
public function testInvalidClass()
{
$this->setExpectedException( 'ezcBaseAutoloadException', "Could not find a class to file mapping for 'ezcNoSuchClass'. Searched for no_such_autoload.php, no_autoload.php, autoload.php in:" );
$this->expectException( 'ezcBaseAutoloadException', "Could not find a class to file mapping for 'ezcNoSuchClass'. Searched for no_such_autoload.php, no_autoload.php, autoload.php in:" );
self::assertEquals( false, class_exists( 'ezcNoSuchClass', true ) );
}
@@ -539,7 +539,7 @@ public function teardown()
public static function suite()
{
return new PHPUnit_Framework_TestSuite("ezcBaseTest");
return new PHPUnit\Framework\TestSuite("ezcBaseTest");
}
}
?>
@@ -156,7 +156,7 @@ public function testClassExistsNotFoundAutoload()
public static function suite()
{
return new PHPUnit_Framework_TestSuite(__CLASS__);
return new PHPUnit\Framework\TestSuite(__CLASS__);
}
}
?>
@@ -156,7 +156,7 @@ public function testClassExistsNotFoundAutoload()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
return new PHPUnit\Framework\TestSuite( __CLASS__ );
}
}
?>
@@ -103,7 +103,7 @@ public function testEqual()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcBaseFileCalculateRelativePathTest" );
return new PHPUnit\Framework\TestSuite( "ezcBaseFileCalculateRelativePathTest" );
}
}
?>
@@ -247,7 +247,7 @@ public function testRecursiveCopyFailureNotWriteable()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
return new PHPUnit\Framework\TestSuite( __CLASS__ );
}
public function testRecursiveCopyDirCalled0()
@@ -93,7 +93,7 @@ public function testRecursive2()
);
self::assertEquals( $expected, ezcBaseFile::findRecursive( "vendor/zetacomponents/unit-test", array( '@^vendor/zetacomponents/unit-test/@' ), array( '@/docs/@', '@\.git@', '@\.swp$@' ), $stats ) );
self::assertEquals( array( 'size' => 191012, 'count' => 11 ), $stats );
self::assertEquals( 11, $stats['count'] );
}
public function testRecursive3()
@@ -160,7 +160,7 @@ public function testStatsEmptyArray()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcBaseFileFindRecursiveTest" );
return new PHPUnit\Framework\TestSuite( "ezcBaseFileFindRecursiveTest" );
}
}
?>
@@ -241,7 +241,7 @@ public static function testAbsoluteStreamWrapper()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcBaseFileIsAbsoluteTest" );
return new PHPUnit\Framework\TestSuite( "ezcBaseFileIsAbsoluteTest" );
}
}
?>
@@ -168,7 +168,7 @@ public function testRecursiveNotWritableParent()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcBaseFileRemoveRecursiveTest" );
return new PHPUnit\Framework\TestSuite( "ezcBaseFileRemoveRecursiveTest" );
}
}
?>
@@ -92,7 +92,7 @@ public static function testGetComponentDependencies3()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( 'ezcBaseMetaDataPearTest' );
return new PHPUnit\Framework\TestSuite( 'ezcBaseMetaDataPearTest' );
}
}
?>
@@ -64,7 +64,7 @@ public function testBaseRepositoryDirectorySetState()
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcBaseStructTest" );
return new PHPUnit\Framework\TestSuite( "ezcBaseStructTest" );
}
}
?>

0 comments on commit 68004df

Please sign in to comment.
You can’t perform that action at this time.