-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Showing
11 changed files
with
102 additions
and
26 deletions.
There are no files selected for viewing
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
...stract/with-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php declare(strict_types=1); | ||
/* | ||
* This file is part of PHPUnit. | ||
* | ||
* (c) Sebastian Bergmann <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace PHPUnit\TestFixture; | ||
|
||
final class ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest extends AbstractTest | ||
{ | ||
} |
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
.../without-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php declare(strict_types=1); | ||
/* | ||
* This file is part of PHPUnit. | ||
* | ||
* (c) Sebastian Bergmann <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace PHPUnit\TestFixture; | ||
|
||
final class ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest extends AbstractTestCase | ||
{ | ||
} |
6 changes: 3 additions & 3 deletions
6
...abstract-test-class-with-test-suffix.phpt → ...abstract-test-class-with-test-suffix.phpt
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,12 +1,12 @@ | ||
--TEST-- | ||
phpunit ../../_files/AbstractTest.php | ||
phpunit ../../../_files/abstract/with-test-suffix/AbstractTest.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../_files/AbstractTest.php'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/with-test-suffix/AbstractTest.php'; | ||
|
||
require_once __DIR__ . '/../../bootstrap.php'; | ||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- | ||
Class PHPUnit\TestFixture\AbstractTest declared in %sAbstractTest.php is abstract |
6 changes: 3 additions & 3 deletions
6
...tract-test-class-without-test-suffix.phpt → ...tract-test-class-without-test-suffix.phpt
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,12 +1,12 @@ | ||
--TEST-- | ||
phpunit ../../_files/AbstractTestCase.php | ||
phpunit ../../../_files/abstract/without-test-suffix/AbstractTestCase.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../_files/AbstractTestCase.php'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/without-test-suffix/AbstractTestCase.php'; | ||
|
||
require_once __DIR__ . '/../../bootstrap.php'; | ||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- | ||
Class PHPUnit\TestFixture\AbstractTestCase declared in %sAbstractTestCase.php is abstract |
20 changes: 20 additions & 0 deletions
20
...stract-test-class/concrete-test-class-extending-abstract-test-class-with-test-suffix.phpt
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,20 @@ | ||
--TEST-- | ||
phpunit ../../../_files/abstract/with-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/with-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest.php'; | ||
|
||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
Runtime: %s | ||
|
||
. 1 / 1 (100%) | ||
|
||
Time: %s, Memory: %s | ||
|
||
OK (1 test, 1 assertion) |
14 changes: 14 additions & 0 deletions
14
...act-test-class/concrete-test-class-extending-abstract-test-class-without-test-suffix.phpt
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,14 @@ | ||
--TEST-- | ||
phpunit ../../../_files/abstract/without-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest.php | ||
--SKIPIF-- | ||
<?php declare(strict_types=1); | ||
print 'skip: https://github.com/sebastianbergmann/phpunit/issues/4979'; | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/without-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest.php'; | ||
|
||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- |
14 changes: 14 additions & 0 deletions
14
...st-class/directory-with-concrete-test-class-and-abstract-test-class-with-test-suffix.phpt
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,14 @@ | ||
--TEST-- | ||
phpunit ../../../_files/abstract/with-test-suffix | ||
--SKIPIF-- | ||
<?php declare(strict_types=1); | ||
print 'skip: https://github.com/sebastianbergmann/phpunit/issues/4979'; | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/with-test-suffix'; | ||
|
||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- |
20 changes: 20 additions & 0 deletions
20
...class/directory-with-concrete-test-class-and-abstract-test-class-without-test-suffix.phpt
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,20 @@ | ||
--TEST-- | ||
phpunit ../../../_files/abstract/without-test-suffix | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/without-test-suffix'; | ||
|
||
require_once __DIR__ . '/../../../bootstrap.php'; | ||
PHPUnit\TextUI\Application::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
Runtime: %s | ||
|
||
. 1 / 1 (100%) | ||
|
||
Time: %s, Memory: %s | ||
|
||
OK (1 test, 1 assertion) |
This file was deleted.
Oops, something went wrong.