PHP Class Cake\Upgrade\Test\TestCase\Shell\Task\AppUsesTaskTest

Inheritance: extends Cake\TestSuite\TestCase
Show file Open project: cakephp/upgrade

Public Properties

Property Type Description
$sut mixed Task instance

Public Methods

Method Description
setUp ( ) : void setUp
testAppUses ( ) : void Testing the use transformation.
testAppUsesImplicit ( ) : void Testing the implicit use adding.
testAppUsesImplicitTestCase ( ) : void Testing the implicit use adding.

Method Details

setUp() public method

Create a mock for all tests to use
public setUp ( ) : void
return void

testAppUses() public method

Testing the use transformation.
public testAppUses ( ) : void
return void

testAppUsesImplicit() public method

Testing the implicit use adding.
public testAppUsesImplicit ( ) : void
return void

testAppUsesImplicitTestCase() public method

Asserts that TestCase (former CakeTestCase) gets also added, and that already existing use statements are skipped.
public testAppUsesImplicitTestCase ( ) : void
return void

Property Details

$sut public property

Task instance
public mixed $sut
return mixed