240 lines
6.8 KiB
YAML
240 lines
6.8 KiB
YAML
name: InteractsWithTestCaseLifecycle
|
|
class_comment: null
|
|
dependencies:
|
|
- name: CarbonImmutable
|
|
type: class
|
|
source: Carbon\CarbonImmutable
|
|
- name: Artisan
|
|
type: class
|
|
source: Illuminate\Console\Application
|
|
- name: EncryptCookies
|
|
type: class
|
|
source: Illuminate\Cookie\Middleware\EncryptCookies
|
|
- name: Model
|
|
type: class
|
|
source: Illuminate\Database\Eloquent\Model
|
|
- name: HandleExceptions
|
|
type: class
|
|
source: Illuminate\Foundation\Bootstrap\HandleExceptions
|
|
- name: RegisterProviders
|
|
type: class
|
|
source: Illuminate\Foundation\Bootstrap\RegisterProviders
|
|
- name: AboutCommand
|
|
type: class
|
|
source: Illuminate\Foundation\Console\AboutCommand
|
|
- name: ConvertEmptyStringsToNull
|
|
type: class
|
|
source: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
|
|
- name: PreventRequestsDuringMaintenance
|
|
type: class
|
|
source: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
|
|
- name: TrimStrings
|
|
type: class
|
|
source: Illuminate\Foundation\Http\Middleware\TrimStrings
|
|
- name: ValidateCsrfToken
|
|
type: class
|
|
source: Illuminate\Foundation\Http\Middleware\ValidateCsrfToken
|
|
- name: DatabaseMigrations
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\DatabaseMigrations
|
|
- name: DatabaseTransactions
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\DatabaseTransactions
|
|
- name: DatabaseTruncation
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\DatabaseTruncation
|
|
- name: RefreshDatabase
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\RefreshDatabase
|
|
- name: WithFaker
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\WithFaker
|
|
- name: WithoutMiddleware
|
|
type: class
|
|
source: Illuminate\Foundation\Testing\WithoutMiddleware
|
|
- name: TrustHosts
|
|
type: class
|
|
source: Illuminate\Http\Middleware\TrustHosts
|
|
- name: TrustProxies
|
|
type: class
|
|
source: Illuminate\Http\Middleware\TrustProxies
|
|
- name: Queue
|
|
type: class
|
|
source: Illuminate\Queue\Queue
|
|
- name: Carbon
|
|
type: class
|
|
source: Illuminate\Support\Carbon
|
|
- name: Facade
|
|
type: class
|
|
source: Illuminate\Support\Facades\Facade
|
|
- name: ParallelTesting
|
|
type: class
|
|
source: Illuminate\Support\Facades\ParallelTesting
|
|
- name: Once
|
|
type: class
|
|
source: Illuminate\Support\Once
|
|
- name: Sleep
|
|
type: class
|
|
source: Illuminate\Support\Sleep
|
|
- name: Str
|
|
type: class
|
|
source: Illuminate\Support\Str
|
|
- name: Component
|
|
type: class
|
|
source: Illuminate\View\Component
|
|
- name: Mockery
|
|
type: class
|
|
source: Mockery
|
|
- name: InvalidCountException
|
|
type: class
|
|
source: Mockery\Exception\InvalidCountException
|
|
- name: PHPUnitRegistry
|
|
type: class
|
|
source: PHPUnit\Metadata\Annotation\Parser\Registry
|
|
- name: Throwable
|
|
type: class
|
|
source: Throwable
|
|
properties:
|
|
- name: app
|
|
visibility: protected
|
|
comment: '# * The Illuminate application instance.
|
|
|
|
# *
|
|
|
|
# * @var \Illuminate\Foundation\Application'
|
|
- name: afterApplicationCreatedCallbacks
|
|
visibility: protected
|
|
comment: '# * The callbacks that should be run after the application is created.
|
|
|
|
# *
|
|
|
|
# * @var array'
|
|
- name: beforeApplicationDestroyedCallbacks
|
|
visibility: protected
|
|
comment: '# * The callbacks that should be run before the application is destroyed.
|
|
|
|
# *
|
|
|
|
# * @var array'
|
|
- name: callbackException
|
|
visibility: protected
|
|
comment: '# * The exception thrown while running an application destruction callback.
|
|
|
|
# *
|
|
|
|
# * @var \Throwable'
|
|
- name: setUpHasRun
|
|
visibility: protected
|
|
comment: '# * Indicates if we have made it through the base setUp function.
|
|
|
|
# *
|
|
|
|
# * @var bool'
|
|
methods:
|
|
- name: setUpTheTestEnvironment
|
|
visibility: protected
|
|
parameters: []
|
|
comment: "# * The Illuminate application instance.\n# *\n# * @var \\Illuminate\\\
|
|
Foundation\\Application\n# */\n# protected $app;\n# \n# /**\n# * The callbacks\
|
|
\ that should be run after the application is created.\n# *\n# * @var array\n\
|
|
# */\n# protected $afterApplicationCreatedCallbacks = [];\n# \n# /**\n# * The\
|
|
\ callbacks that should be run before the application is destroyed.\n# *\n# *\
|
|
\ @var array\n# */\n# protected $beforeApplicationDestroyedCallbacks = [];\n#\
|
|
\ \n# /**\n# * The exception thrown while running an application destruction callback.\n\
|
|
# *\n# * @var \\Throwable\n# */\n# protected $callbackException;\n# \n# /**\n\
|
|
# * Indicates if we have made it through the base setUp function.\n# *\n# * @var\
|
|
\ bool\n# */\n# protected $setUpHasRun = false;\n# \n# /**\n# * Setup the test\
|
|
\ environment.\n# *\n# * @internal\n# *\n# * @return void"
|
|
- name: tearDownTheTestEnvironment
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Clean up the testing environment before the next test.
|
|
|
|
# *
|
|
|
|
# * @internal
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
- name: setUpTraits
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Boot the testing helper traits.
|
|
|
|
# *
|
|
|
|
# * @return array'
|
|
- name: tearDownAfterClassUsingTestCase
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Clean up the testing environment before the next test case.
|
|
|
|
# *
|
|
|
|
# * @internal
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
- name: afterApplicationCreated
|
|
visibility: public
|
|
parameters:
|
|
- name: callback
|
|
comment: '# * Register a callback to be run after the application is created.
|
|
|
|
# *
|
|
|
|
# * @param callable $callback
|
|
|
|
# * @return void'
|
|
- name: beforeApplicationDestroyed
|
|
visibility: protected
|
|
parameters:
|
|
- name: callback
|
|
comment: '# * Register a callback to be run before the application is destroyed.
|
|
|
|
# *
|
|
|
|
# * @param callable $callback
|
|
|
|
# * @return void'
|
|
- name: callBeforeApplicationDestroyedCallbacks
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Execute the application''s pre-destruction callbacks.
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
traits:
|
|
- Carbon\CarbonImmutable
|
|
- Illuminate\Cookie\Middleware\EncryptCookies
|
|
- Illuminate\Database\Eloquent\Model
|
|
- Illuminate\Foundation\Bootstrap\HandleExceptions
|
|
- Illuminate\Foundation\Bootstrap\RegisterProviders
|
|
- Illuminate\Foundation\Console\AboutCommand
|
|
- Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
|
|
- Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
|
|
- Illuminate\Foundation\Http\Middleware\TrimStrings
|
|
- Illuminate\Foundation\Http\Middleware\ValidateCsrfToken
|
|
- Illuminate\Foundation\Testing\DatabaseMigrations
|
|
- Illuminate\Foundation\Testing\DatabaseTransactions
|
|
- Illuminate\Foundation\Testing\DatabaseTruncation
|
|
- Illuminate\Foundation\Testing\RefreshDatabase
|
|
- Illuminate\Foundation\Testing\WithFaker
|
|
- Illuminate\Foundation\Testing\WithoutMiddleware
|
|
- Illuminate\Http\Middleware\TrustHosts
|
|
- Illuminate\Http\Middleware\TrustProxies
|
|
- Illuminate\Queue\Queue
|
|
- Illuminate\Support\Carbon
|
|
- Illuminate\Support\Facades\Facade
|
|
- Illuminate\Support\Facades\ParallelTesting
|
|
- Illuminate\Support\Once
|
|
- Illuminate\Support\Sleep
|
|
- Illuminate\Support\Str
|
|
- Illuminate\View\Component
|
|
- Mockery
|
|
- Mockery\Exception\InvalidCountException
|
|
- Throwable
|
|
interfaces: []
|