forked from delassiter/bav
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pierre Dedy
committed
Nov 14, 2019
1 parent
915ab5e
commit d1edab3
Showing
24 changed files
with
83 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @license WTFPL | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class BackendTest extends \PHPUnit_Framework_TestCase | ||
class BackendTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -14,7 +16,7 @@ | |
* @license WTFPL | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class UpdatePlanTest extends \PHPUnit_Framework_TestCase | ||
class UpdatePlanTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
@@ -65,7 +67,7 @@ public function testIsOutdated($mtime, $time, $expectedIsOutdated) | |
} | ||
|
||
/** | ||
* @expectedException \PHPUnit_Framework_Error_Warning | ||
* @expectedException \PHPUnit\Framework\Error\Warning | ||
*/ | ||
public function testLogUpdatePlan() | ||
{ | ||
|
@@ -74,7 +76,7 @@ public function testLogUpdatePlan() | |
} | ||
|
||
/** | ||
* @expectedException \PHPUnit_Framework_Error_Notice | ||
* @expectedException \PHPUnit\Framework\Error\Notice | ||
* @medium | ||
*/ | ||
public function testAutomaticUpdatePlanNotice() | ||
|
@@ -86,7 +88,7 @@ public function testAutomaticUpdatePlanNotice() | |
} | ||
|
||
/** | ||
* @expectedException \PHPUnit_Framework_Error_Notice | ||
* @expectedException \PHPUnit\Framework\Error\Notice | ||
* @medium | ||
*/ | ||
public function testAutomaticUpdatePlan() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -10,7 +12,7 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @licends GPL | ||
*/ | ||
class AgencyQueryTest extends \PHPUnit_Framework_TestCase | ||
class AgencyQueryTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @see BAV | ||
*/ | ||
class BAVFacadeTest extends \PHPUnit_Framework_TestCase | ||
class BAVFacadeTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @see BICUtil | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class BICUtilTest extends \PHPUnit_Framework_TestCase | ||
class BICUtilTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -10,7 +12,7 @@ | |
* @license WTFPL | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class BackendContainerTest extends \PHPUnit_Framework_TestCase | ||
class BackendContainerTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,15 +13,15 @@ | |
* @see ContextValidation | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class ContextValidationTest extends \PHPUnit_Framework_TestCase | ||
class ContextValidationTest extends TestCase | ||
{ | ||
|
||
/** | ||
* @var ContextValidation | ||
*/ | ||
private $validation; | ||
|
||
protected function setUp() | ||
protected function setUp(): void | ||
{ | ||
$bav = new BAV(); | ||
$this->validation = new ContextValidation($bav->getDataBackend()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -10,7 +12,7 @@ | |
* @license WTFPL | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class DownloaderTest extends \PHPUnit_Framework_TestCase | ||
class DownloaderTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @license WTFPL | ||
*/ | ||
class FileUtilTest extends \PHPUnit_Framework_TestCase | ||
class FileUtilTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @see BAV | ||
*/ | ||
class FileValidatorTest extends \PHPUnit_Framework_TestCase | ||
class FileValidatorTest extends TestCase | ||
{ | ||
|
||
public function testValidate() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,7 +13,7 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @see Lock | ||
*/ | ||
class LockTest extends \PHPUnit_Framework_TestCase | ||
class LockTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -11,15 +13,15 @@ | |
* @author Markus Malkusch <[email protected]> | ||
* @see StatementContainer | ||
*/ | ||
class StatementContainerTest extends \PHPUnit_Framework_TestCase | ||
class StatementContainerTest extends TestCase | ||
{ | ||
|
||
/** | ||
* @var StatementContainer | ||
*/ | ||
private $statementContainer; | ||
|
||
public function setUp() | ||
public function setUp(): void | ||
{ | ||
$this->statementContainer = new StatementContainer(PDOFactory::makePDO()); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
namespace malkusch\bav; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
require_once __DIR__ . "/../bootstrap.php"; | ||
|
||
/** | ||
|
@@ -10,7 +12,7 @@ | |
* @license WTFPL | ||
* @author Markus Malkusch <[email protected]> | ||
*/ | ||
class URIPickerTest extends \PHPUnit_Framework_TestCase | ||
class URIPickerTest extends TestCase | ||
{ | ||
|
||
/** | ||
|
Oops, something went wrong.