ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
MessageTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject\ITip
;
4
5
use
PHPUnit\Framework\TestCase
;
6
7
class
MessageTest
extends
TestCase {
8
9
function
testNoScheduleStatus
() {
10
11
$message
=
new
Message
();
12
$this->assertFalse(
$message
->getScheduleStatus());
13
14
}
15
16
function
testScheduleStatus
() {
17
18
$message
=
new
Message
();
19
$message
->scheduleStatus =
'1.2;Delivered'
;
20
21
$this->assertEquals(
'1.2'
,
$message
->getScheduleStatus());
22
23
}
24
25
function
testUnexpectedScheduleStatus
() {
26
27
$message
=
new
Message
();
28
$message
->scheduleStatus =
'9.9.9'
;
29
30
$this->assertEquals(
'9.9.9'
,
$message
->getScheduleStatus());
31
32
}
33
34
}
Sabre\VObject\ITip\MessageTest
Definition:
MessageTest.php:7
Sabre\VObject\ITip\MessageTest\testUnexpectedScheduleStatus
testUnexpectedScheduleStatus()
Definition:
MessageTest.php:25
Sabre\VObject\ITip\MessageTest\testScheduleStatus
testScheduleStatus()
Definition:
MessageTest.php:16
Sabre\VObject\ITip\Message
This class represents an iTip message.
Definition:
Message.php:17
Sabre\VObject\ITip\MessageTest\testNoScheduleStatus
testNoScheduleStatus()
Definition:
MessageTest.php:9
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
php
Sabre\VObject\ITip
Definition:
Broker.php:3
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
ITip
MessageTest.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)