blob: 0bf30f0cc8d06b89476e87b8d440774fc2301f24 [file] [log] [blame]
<?php
require_once dirname( __FILE__ ) . '/webdav_property_test.php';
class ezcWebdavDisplayNamePropertyTest extends ezcWebdavWebdavPropertyTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
protected function setUp()
{
$this->className = 'ezcWebdavDisplayNameProperty';
$this->propertyName = 'displayname';
$this->defaultValues = array(
'displayName' => null,
);
$this->workingValues = array(
'displayName' => array(
null,
'',
'Foo Bar Baz',
),
);
$this->failingValues = array(
'displayName' => array(
23,
23.34,
true,
false,
array( 23, 42 ),
new stdClass(),
),
);
}
}
?>