blob: a60873a55139acb06fe29362dde087d4424d5e2f [file] [log] [blame]
<?php
require_once dirname( __FILE__ ) . '/webdav_property_test.php';
class ezcWebdavSourcePropertyTest extends ezcWebdavWebdavPropertyTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
protected function setUp()
{
$this->className = 'ezcWebdavSourceProperty';
$this->propertyName = 'source';
$this->defaultValues = array(
'links' => array(),
);
$this->workingValues = array(
'links' => array(
array(),
array(
new ezcWebdavSourcePropertyLink(),
new ezcWebdavSourcePropertyLink(),
),
),
);
$this->failingValues = array(
'links' => array(
23,
23.34,
'foobar',
true,
false,
new stdClass(),
),
);
}
}
?>