ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
SupportedCollationSetTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\CalDAV\Xml\Property
;
4
5
use
Sabre\CalDAV
;
6
use
Sabre\DAV
;
7
8
class
SupportedCollationSetTest
extends
DAV\Xml\XmlTest
{
9
10
function
testSimple
() {
11
12
$scs =
new
SupportedCollationSet
();
13
$this->assertInstanceOf(
'Sabre\CalDAV\Xml\Property\SupportedCollationSet'
, $scs);
14
15
}
16
20
function
testSerialize
() {
21
22
$property =
new
SupportedCollationSet
();
23
24
$this->namespaceMap[
CalDAV\Plugin::NS_CALDAV
] =
'cal'
;
25
$xml
= $this->
write
([
'{DAV:}root'
=> $property]);
26
27
$this->assertXmlStringEqualsXmlString(
28
'<?xml version="1.0"?>
29
<d:root xmlns:d="DAV:" xmlns:cal="'
. CalDAV\
Plugin::NS_CALDAV
.
'">
30
<cal:supported-collation>i;ascii-casemap</cal:supported-collation>
31
<cal:supported-collation>i;octet</cal:supported-collation>
32
<cal:supported-collation>i;unicode-casemap</cal:supported-collation>
33
</d:root>'
,
$xml
);
34
35
}
36
37
}
Sabre\DAV
Sabre\CalDAV\Xml\Property\SupportedCollationSetTest\testSimple
testSimple()
Definition:
SupportedCollationSetTest.php:10
Sabre\DAV\Xml\XmlTest
Definition:
XmlTest.php:8
Sabre\CalDAV\Xml\Property\SupportedCollationSet
supported-collation-set property
Definition:
SupportedCollationSet.php:22
Sabre\CalDAV
Sabre\CalDAV\Xml\Property
Definition:
AllowedSharingModes.php:3
Sabre\CalDAV\Xml\Property\SupportedCollationSetTest\testSerialize
testSerialize()
testSimple
Definition:
SupportedCollationSetTest.php:20
$xml
$xml
Definition:
fetch_windows_zones.php:11
Sabre\CalDAV\Xml\Property\SupportedCollationSetTest
Definition:
SupportedCollationSetTest.php:8
php
Sabre\CalDAV\Plugin\NS_CALDAV
const NS_CALDAV
This is the official CalDAV namespace.
Definition:
Plugin.php:33
Sabre\DAV\Xml\XmlTest\write
write($input)
Definition:
XmlTest.php:14
libs
composer
vendor
sabre
dav
tests
Sabre
CalDAV
Xml
Property
SupportedCollationSetTest.php
Generated on Thu Feb 27 2025 19:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)