They seems to be quite slow on later versions, but work. Signed-off-by: Michal Čihař <michal@cihar.com>
51 lines
1.0 KiB
PHP
51 lines
1.0 KiB
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* tests for PMA\libraries\properties\plugins\PluginPropertyItem class
|
|
*
|
|
* @package PhpMyAdmin-test
|
|
*/
|
|
|
|
/**
|
|
* Tests for PMA\libraries\properties\plugins\PluginPropertyItem class
|
|
*
|
|
* @package PhpMyAdmin-test
|
|
*/
|
|
class PluginPropertyItemTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
protected $stub;
|
|
|
|
/**
|
|
* Configures global environment.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function setup()
|
|
{
|
|
$this->stub = $this->getMockForAbstractClass('PMA\libraries\properties\plugins\PluginPropertyItem');
|
|
}
|
|
|
|
/**
|
|
* tearDown for test cases
|
|
*
|
|
* @return void
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
unset($this->stub);
|
|
}
|
|
|
|
/**
|
|
* Test for PMA\libraries\properties\plugins\PluginPropertyItem::getPropertyType
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testGetPropertyType()
|
|
{
|
|
$this->assertEquals(
|
|
"plugin",
|
|
$this->stub->getPropertyType()
|
|
);
|
|
}
|
|
}
|