blob: f046c1025ff1eed62f6e4f1b1b3e10f631d2fdc2 [file]
<?php
require_once dirname( __FILE__ ) . '/webdav_property_test.php';
class ezcWebdavGetEtagPropertyTest extends ezcWebdavWebdavPropertyTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
protected function setUp()
{
$this->className = 'ezcWebdavGetEtagProperty';
$this->propertyName = 'getetag';
$this->defaultValues = array(
'etag' => null,
);
$this->workingValues = array(
'etag' => array(
null,
"foo bar",
"",
),
);
$this->failingValues = array(
'etag' => array(
23,
23.34,
true,
false,
new stdClass(),
array(),
),
);
}
}
?>