mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Add @group Others
to all other tests (#6770)
This commit is contained in:
parent
bf939d754f
commit
ce64c72c06
@ -24,6 +24,8 @@ use stdClass;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ResponseTraitTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -20,6 +20,8 @@ use UnnamespacedClass;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class AutoloaderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Modules;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FileLocatorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use RuntimeException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CLITest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CommandRunnerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use CodeIgniter\Test\Mock\MockCodeIgniter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ConsoleTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Cache;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CacheFactoryTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockCache;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CacheMockTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Tests\Support\Cache\RestrictiveHandler;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class BaseHandlerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DummyHandlerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Config\Cache;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FileHandlerTest extends AbstractHandlerTest
|
||||
{
|
||||
|
@ -27,6 +27,8 @@ use Tests\Support\Filters\Customfilter;
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CodeIgniterTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Tests\Support\Commands\AppInfo;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class BaseCommandTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ClearCacheTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ClearDebugbarTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ClearLogsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CommandGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Tests\Support\Commands\ParamsReveal;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CommandTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ConfigGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ConfigurableSortImportsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ControllerGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EntityGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EnvironmentCommandTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FilterGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class GeneratorsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class HelpCommandTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class InfoCacheTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class MigrationGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ModelGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Tests\Support\Publishers\TestPublisher;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class PublishCommandTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class RoutesTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -19,6 +19,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ScaffoldGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class SeederGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class AutoRouteCollectorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class AutoRouteCollectorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Tests\Support\Controllers\Remap;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ControllerMethodReaderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use Tests\Support\Controllers\Hello;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ControllerFinderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Tests\Support\Controllers\Remap;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ControllerMethodReaderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FilterCollectorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -28,6 +28,8 @@ use Config\Modules;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FilterFinderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Generator;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class SampleURIGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Filters\CITestStreamFilter;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ValidationGeneratorTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use Tests\Support\Autoloader\FatalLocator;
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*
|
||||
* @covers ::helper
|
||||
*/
|
||||
final class CommonHelperTest extends CIUnitTestCase
|
||||
|
@ -21,6 +21,8 @@ use ReflectionMethod;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CommonSingleServiceTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -20,6 +20,8 @@ use Tests\Support\Widgets\SomeWidget;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FactoriesTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use Config\Mimes;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class MimesTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -33,6 +33,8 @@ use Tests\Support\Config\Validation;
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ControllerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use DateTimeImmutable;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CookieStoreTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use LogicException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CookieTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -19,6 +19,8 @@ use Throwable;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class BaseConnectionTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class BaseQueryTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class AliasTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class BaseTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CountTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DeleteTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DistinctTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EmptyTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FromTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class GetTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class GroupTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class InsertTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -20,6 +20,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class JoinTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class LikeTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class LimitTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class OrderTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class PrefixTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ReplaceTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -20,6 +20,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class SelectTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class TruncateTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class UnionTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -19,6 +19,8 @@ use CodeIgniter\Test\Mock\MockQuery;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class UpdateTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -22,6 +22,8 @@ use stdClass;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class WhereTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\ReflectionHelper;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ConfigTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use Faker\Generator;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DatabaseSeederTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CreateTableTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\Mock\MockConnection;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DropForeignKeyTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class RawSqlTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -23,6 +23,8 @@ use RuntimeException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class ExceptionsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -15,6 +15,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class TimerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DatabaseTest extends CIUnitTestCase
|
||||
{
|
||||
@ -37,7 +39,7 @@ final class DatabaseTest extends CIUnitTestCase
|
||||
|
||||
$this->assertSame('1234.56 ms', $queries[0]['duration']);
|
||||
$this->assertSame('<strong>SHOW</strong> TABLES;', $queries[0]['sql']);
|
||||
$this->assertSame(clean_path(__FILE__) . ':33', $queries[0]['trace-file']);
|
||||
$this->assertSame(clean_path(__FILE__) . ':' . (__LINE__ - 7), $queries[0]['trace-file']);
|
||||
|
||||
foreach ($queries[0]['trace'] as $i => $trace) {
|
||||
// since we added the index numbering
|
||||
|
@ -17,6 +17,8 @@ use DateTime;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class HistoryTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,19 +18,21 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*
|
||||
* @covers \CodeIgniter\Exceptions\DebugTraceableTrait
|
||||
*/
|
||||
final class DebugTraceableTraitTest extends CIUnitTestCase
|
||||
{
|
||||
public function testFactoryInstanceReturnsWhereItIsRaised(): void
|
||||
{
|
||||
$e1 = new FrameworkException('I am on line 27.');
|
||||
$e1 = new FrameworkException('Hello.');
|
||||
$e2 = FrameworkException::forEnabledZlibOutputCompression();
|
||||
|
||||
$this->assertContainsEquals(DebugTraceableTrait::class, class_uses(FrameworkException::class));
|
||||
$this->assertSame(27, $e1->getLine());
|
||||
$this->assertSame(__LINE__ - 4, $e1->getLine());
|
||||
$this->assertSame(__FILE__, $e1->getFile());
|
||||
$this->assertSame(28, $e2->getLine());
|
||||
$this->assertSame(__LINE__ - 5, $e2->getLine());
|
||||
$this->assertSame(__FILE__, $e2->getFile());
|
||||
}
|
||||
}
|
||||
|
@ -18,6 +18,8 @@ use ErrorException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EmailTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Services;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EncryptionTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Encryption as EncryptionConfig;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class OpenSSLHandlerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use Config\Encryption as EncryptionConfig;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class SodiumHandlerTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -26,6 +26,8 @@ use Tests\Support\SomeEntity;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class EntityTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FileCollectionTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use ZipArchive;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FileTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use org\bovigo\vfs\vfsStream;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FileWithVfsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -18,6 +18,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CSRFTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -19,6 +19,8 @@ use Config\Filters as FilterConfig;
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class DebugToolbarTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -41,6 +41,8 @@ require_once __DIR__ . '/fixtures/Role.php';
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FiltersTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use CodeIgniter\Test\Mock\MockAppConfig;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class InvalidCharsTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class SecureHeadersTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class FormatTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use RuntimeException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class JSONFormatterTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use DOMDocument;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class XMLFormatterTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -21,6 +21,8 @@ use Config\App;
|
||||
* @backupGlobals enabled
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CLIRequestTest extends CIUnitTestCase
|
||||
{
|
||||
|
@ -22,6 +22,8 @@ use CURLFile;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @group Others
|
||||
*/
|
||||
final class CURLRequestDoNotShareOptionsTest extends CIUnitTestCase
|
||||
{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user