PHP Class Xpressengine\Tests\DynamicField\DynamicFieldHandlerTest

Author: XE Developers ([email protected])
Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
ファイルを表示 Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$configHandler Mockery\MockInterface | Xpressengine\DynamicField\ConfigHandler
$conn Mockery\MockInterface | Xpressengine\Database\VirtualConnectionInterface
$registerHandler Mockery\MockInterface | Xpressengine\DynamicField\RegisterHandler
$view Mockery\MockInterface | Illuminate\View\Factory

Public Methods

Method Description
setUp ( ) : void set up
tearDown ( ) : void tear down
testCreate ( ) : void test create
testCreateAlreadyExist ( ) : void test create invalid config
testCreateInvalidConfig ( ) : void test create invalid config
testDrop ( ) : void test drop
testGet ( ) : void test get
testGetByConfig ( ) : void test get by config
testGetProperty ( ) : void test get property
testGetRules ( ) : void test get rules
testGetType ( ) : void test get type
testGets ( ) : void test gets
testHas ( ) : void test has
testPut ( ) : void test put
testSetConnection ( ) : void test set connection

Private Methods

Method Description
getConfigEntity ( ) : Mockery\MockInterface | ConfigEntity get config entity

Method Details

setUp() public method

set up
public setUp ( ) : void
return void

tearDown() public method

tear down
public tearDown ( ) : void
return void

testCreate() public method

test create
public testCreate ( ) : void
return void

testCreateAlreadyExist() public method

test create invalid config
public testCreateAlreadyExist ( ) : void
return void

testCreateInvalidConfig() public method

test create invalid config
public testCreateInvalidConfig ( ) : void
return void

testDrop() public method

test drop
public testDrop ( ) : void
return void

testGet() public method

test get
public testGet ( ) : void
return void

testGetByConfig() public method

test get by config
public testGetByConfig ( ) : void
return void

testGetProperty() public method

test get property
public testGetProperty ( ) : void
return void

testGetRules() public method

test get rules
public testGetRules ( ) : void
return void

testGetType() public method

test get type
public testGetType ( ) : void
return void

testGets() public method

test gets
public testGets ( ) : void
return void

testHas() public method

test has
public testHas ( ) : void
return void

testPut() public method

test put
public testPut ( ) : void
return void

testSetConnection() public method

test set connection
public testSetConnection ( ) : void
return void

Property Details

$configHandler protected_oe property

protected MockInterface,Mockery|ConfigHandler,Xpressengine\DynamicField $configHandler
return Mockery\MockInterface | Xpressengine\DynamicField\ConfigHandler

$conn protected_oe property

protected MockInterface,Mockery|VirtualConnectionInterface,Xpressengine\Database $conn
return Mockery\MockInterface | Xpressengine\Database\VirtualConnectionInterface

$registerHandler protected_oe property

protected MockInterface,Mockery|RegisterHandler,Xpressengine\DynamicField $registerHandler
return Mockery\MockInterface | Xpressengine\DynamicField\RegisterHandler

$view protected_oe property

protected MockInterface,Mockery|Factory,Illuminate\View $view
return Mockery\MockInterface | Illuminate\View\Factory