-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor unit test structure and add Logger unit test
- Loading branch information
1 parent
bb995ba
commit 9c4d386
Showing
37 changed files
with
533 additions
and
221 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 |
---|---|---|
|
@@ -11,3 +11,4 @@ temp/ | |
.phpintel/ | ||
.DS_Store | ||
/.php_cs.cache | ||
test/runtime |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* This file is part of Swoft. | ||
* | ||
* @link https://swoft.org | ||
* @document https://doc.swoft.org | ||
* @contact [email protected] | ||
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE | ||
*/ | ||
|
||
namespace SwoftTest; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* @uses AbstractTestCase | ||
* @version 2017年11月03日 | ||
* @author huangzhhui <[email protected]> | ||
* @copyright Copyright 2010-2017 Swoft software | ||
* @license PHP Version 7.x {@link http://www.php.net/license/3_0.txt} | ||
*/ | ||
class AbstractTestCase extends TestCase | ||
{ | ||
} |
11 changes: 9 additions & 2 deletions
11
test/Testing/Aop/AllPointAspect.php → test/Cases/Aop/AllPointAspect.php
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
<?php | ||
|
||
namespace Swoft\Test\Testing\Aop; | ||
/** | ||
* This file is part of Swoft. | ||
* | ||
* @link https://swoft.org | ||
* @document https://doc.swoft.org | ||
* @contact [email protected] | ||
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE | ||
*/ | ||
namespace SwoftTest\Aop; | ||
|
||
use Swoft\Aop\JoinPoint; | ||
use Swoft\Aop\ProceedingJoinPoint; | ||
|
Oops, something went wrong.