ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
CalAddressTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject\Property\ICalendar
;
4
5
use
PHPUnit\Framework\TestCase
;
6
7
class
CalAddressTest
extends
TestCase {
8
12
function
testGetNormalizedValue
($expected,
$input
) {
13
14
$vobj
= new \Sabre\VObject\Component\VCalendar();
15
$property =
$vobj
->add(
'ATTENDEE'
,
$input
);
16
17
$this->assertEquals(
18
$expected,
19
$property->getNormalizedValue()
20
);
21
22
}
23
24
function
values
() {
25
26
return
[
27
[
'mailto:a@b.com'
,
'mailto:a@b.com'
],
28
[
'mailto:a@b.com'
,
'MAILTO:a@b.com'
],
29
[
'/foo/bar'
,
'/foo/bar'
],
30
];
31
32
}
33
34
}
Sabre\CalDAV\ICalendar\CalAddressTest\testGetNormalizedValue
testGetNormalizedValue($expected, $input)
values
Definition:
CalAddressTest.php:12
Sabre\VObject\Property\ICalendar
Definition:
CalAddress.php:3
Sabre\VObject\$input
if($argc< 3) $input
Definition:
mergeduplicates.php:35
Sabre\CalDAV\ICalendar\CalAddressTest
Definition:
CalAddressTest.php:7
$vobj
$vobj
Definition:
rrulebench.php:21
Sabre\CalDAV\ICalendar\CalAddressTest\values
values()
Definition:
CalAddressTest.php:24
php
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
Property
ICalendar
CalAddressTest.php
Generated on Thu Feb 27 2025 19:01:31 for ILIAS by
1.8.13 (using
Doxyfile
)