Skip to content

Commit a384f05

Browse files
Reorganize
1 parent 612a8da commit a384f05

9 files changed

+70
-24
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php declare(strict_types=1);
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <sebastian@phpunit.de>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
namespace PHPUnit\TestFixture;
11+
12+
final class ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest extends AbstractTest
13+
{
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php declare(strict_types=1);
2+
/*
3+
* This file is part of PHPUnit.
4+
*
5+
* (c) Sebastian Bergmann <sebastian@phpunit.de>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
namespace PHPUnit\TestFixture;
11+
12+
final class ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest extends AbstractTestCase
13+
{
14+
}

tests/end-to-end/generic/abstract-test-class-with-test-suffix.phpt renamed to tests/end-to-end/generic/abstract-test-class/abstract-test-class-with-test-suffix.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
--TEST--
2-
phpunit ../../_files/AbstractTest.php
2+
phpunit ../../../_files/abstract/with-test-suffix/AbstractTest.php
33
--FILE--
44
<?php declare(strict_types=1);
55
$_SERVER['argv'][] = '--do-not-cache-result';
66
$_SERVER['argv'][] = '--no-configuration';
77
$_SERVER['argv'][] = 'AbstractTest';
8-
$_SERVER['argv'][] = __DIR__ . '/../../_files/AbstractTest.php';
8+
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/with-test-suffix/AbstractTest.php';
99

10-
require_once __DIR__ . '/../../bootstrap.php';
10+
require_once __DIR__ . '/../../../bootstrap.php';
1111
PHPUnit\TextUI\Command::main();
1212
--EXPECTF--
1313
PHPUnit %s by Sebastian Bergmann and contributors.

tests/end-to-end/generic/abstract-test-class-without-test-suffix.phpt renamed to tests/end-to-end/generic/abstract-test-class/abstract-test-class-without-test-suffix.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
--TEST--
2-
phpunit ../../_files/AbstractTestCase.php
2+
phpunit ../../../_files/abstract/without-test-suffix/AbstractTestCase.php
33
--FILE--
44
<?php declare(strict_types=1);
55
$_SERVER['argv'][] = '--do-not-cache-result';
66
$_SERVER['argv'][] = '--no-configuration';
77
$_SERVER['argv'][] = 'AbstractTestCase';
8-
$_SERVER['argv'][] = __DIR__ . '/../../_files/AbstractTestCase.php';
8+
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/without-test-suffix/AbstractTestCase.php';
99

10-
require_once __DIR__ . '/../../bootstrap.php';
10+
require_once __DIR__ . '/../../../bootstrap.php';
1111
PHPUnit\TextUI\Command::main();
1212
--EXPECTF--
1313
PHPUnit %s by Sebastian Bergmann and contributors.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--TEST--
2+
phpunit ../../../_files/abstract/with-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest.php
3+
--FILE--
4+
<?php declare(strict_types=1);
5+
$_SERVER['argv'][] = '--do-not-cache-result';
6+
$_SERVER['argv'][] = '--no-configuration';
7+
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/with-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithTestSuffixTest.php';
8+
9+
require_once __DIR__ . '/../../../bootstrap.php';
10+
PHPUnit\TextUI\Command::main();
11+
--EXPECTF--
12+
PHPUnit %s by Sebastian Bergmann and contributors.
13+
14+
. 1 / 1 (100%)
15+
16+
Time: %s, Memory: %s
17+
18+
OK (1 test, 1 assertion)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--TEST--
2+
phpunit ../../../_files/abstract/without-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest.php
3+
--FILE--
4+
<?php declare(strict_types=1);
5+
$_SERVER['argv'][] = '--do-not-cache-result';
6+
$_SERVER['argv'][] = '--no-configuration';
7+
$_SERVER['argv'][] = __DIR__ . '/../../../_files/abstract/without-test-suffix/ConcreteTestClassExtendingAbstractTestClassWithoutTestSuffixTest.php';
8+
9+
require_once __DIR__ . '/../../../bootstrap.php';
10+
PHPUnit\TextUI\Command::main();
11+
--EXPECTF--
12+
PHPUnit %s by Sebastian Bergmann and contributors.
13+
14+
. 1 / 1 (100%)
15+
16+
Time: %s, Memory: %s
17+
18+
OK (1 test, 1 assertion)

tests/end-to-end/generic/concrete-test-class.phpt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)