ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CalAddressTest.php
Go to the documentation of this file.
1 <?php
2 
4 
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 }
testGetNormalizedValue($expected, $input)
values
if($argc< 3) $input
$vobj
Definition: rrulebench.php:21