Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1820895
MessageTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
660 B
Subscribers
None
MessageTest.php
View Options
<?php
namespace
Sabre\VObject\ITip
;
class
MessageTest
extends
\PHPUnit_Framework_TestCase
{
public
function
testNoScheduleStatus
()
{
$message
=
new
Message
();
$this
->
assertFalse
(
$message
->
getScheduleStatus
());
}
public
function
testScheduleStatus
()
{
$message
=
new
Message
();
$message
->
scheduleStatus
=
'1.2;Delivered'
;
$this
->
assertEquals
(
'1.2'
,
$message
->
getScheduleStatus
());
}
public
function
testUnexpectedScheduleStatus
()
{
$message
=
new
Message
();
$message
->
scheduleStatus
=
'9.9.9'
;
$this
->
assertEquals
(
'9.9.9'
,
$message
->
getScheduleStatus
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Dec 22, 9:06 PM (2 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
916567
Default Alt Text
MessageTest.php (660 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment