Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1841395
CalAddressTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
661 B
Subscribers
None
CalAddressTest.php
View Options
<?php
namespace
Sabre\VObject\Property\ICalendar
;
class
CalAddressTest
extends
\PHPUnit_Framework_TestCase
{
/**
* @dataProvider values
*/
function
testGetNormalizedValue
(
$expected
,
$input
)
{
$vobj
=
new
\Sabre\VObject\Component\VCalendar
();
$property
=
$vobj
->
add
(
'ATTENDEE'
,
$input
);
$this
->
assertEquals
(
$expected
,
$property
->
getNormalizedValue
()
);
}
function
values
()
{
return
array
(
array
(
'mailto:a@b.com'
,
'mailto:a@b.com'
),
array
(
'mailto:a@b.com'
,
'MAILTO:a@b.com'
),
array
(
'/foo/bar'
,
'/foo/bar'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jan 7, 3:14 PM (2 d, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
916872
Default Alt Text
CalAddressTest.php (661 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment