◆ testSignificantChangesNoChange()
Sabre\VObject\ITip\BrokerSignificantChangesTest::testSignificantChangesNoChange |
( |
| ) |
|
Check significant changes detection (no change)
Definition at line 10 of file BrokerSignificantChangesTest.php.
References Sabre\VObject\ITip\BrokerTester\parse().
18 UID:20140813T153116Z-12176-1000-1065-6@johnny-lubuntu
19 DTSTAMP:20140813T142829Z
20 DTSTART;TZID=America/Toronto:20140815T110000
22 SUMMARY:Evo makes
a Meeting
26 ORGANIZER:MAILTO:martin@fruux.com
27 ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
28 TRUE;LANGUAGE=en:MAILTO:dominik@fruux.com
29 CREATED:20140813T153211Z
30 LAST-MODIFIED:20140813T155353Z
36 $expected = [[
'significantChange' =>
false, ]];
38 $this->
parse($old, $new, $expected,
'mailto:martin@fruux.com');
parse($oldMessage, $newMessage, $expected=[], $currentUser='mailto:one @example.org')
◆ testSignificantChangesRRuleNoChange()
Sabre\VObject\ITip\BrokerSignificantChangesTest::testSignificantChangesRRuleNoChange |
( |
| ) |
|
Check significant changes detection (no change)
Definition at line 44 of file BrokerSignificantChangesTest.php.
References Sabre\VObject\ITip\BrokerTester\parse().
52 UID:20140813T153116Z-12176-1000-1065-6@johnny-lubuntu
53 DTSTAMP:20140813T142829Z
54 DTSTART;TZID=America/Toronto:20140815T110000
56 SUMMARY:Evo makes
a Meeting
60 ORGANIZER:MAILTO:martin@fruux.com
61 ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
62 TRUE;LANGUAGE=en:MAILTO:dominik@fruux.com
63 CREATED:20140813T153211Z
64 LAST-MODIFIED:20140813T155353Z
69 $new = str_replace(
'FREQ=WEEKLY',
'FREQ=WEEKLY;INTERVAL=1', $old);
70 $expected = [[
'significantChange' =>
false, ]];
72 $this->
parse($old, $new, $expected,
'mailto:martin@fruux.com');
parse($oldMessage, $newMessage, $expected=[], $currentUser='mailto:one @example.org')
◆ testSignificantChangesRRuleOrderNoChange()
Sabre\VObject\ITip\BrokerSignificantChangesTest::testSignificantChangesRRuleOrderNoChange |
( |
| ) |
|
Check significant changes detection (no change)
Definition at line 79 of file BrokerSignificantChangesTest.php.
References Sabre\VObject\ITip\BrokerTester\parse().
87 UID:20140813T153116Z-12176-1000-1065-6@johnny-lubuntu
88 DTSTAMP:20140813T142829Z
89 DTSTART;TZID=America/Toronto:20140815T110000
91 SUMMARY:Evo makes
a Meeting
94 RRULE:FREQ=WEEKLY;BYDAY=MO
95 ORGANIZER:MAILTO:martin@fruux.com
96 ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
97 TRUE;LANGUAGE=en:MAILTO:dominik@fruux.com
98 CREATED:20140813T153211Z
99 LAST-MODIFIED:20140813T155353Z
104 $new = str_replace(
'FREQ=WEEKLY;BYDAY=MO',
'BYDAY=MO;FREQ=WEEKLY', $old);
105 $expected = [[
'significantChange' =>
false, ]];
107 $this->
parse($old, $new, $expected,
'mailto:martin@fruux.com');
parse($oldMessage, $newMessage, $expected=[], $currentUser='mailto:one @example.org')
The documentation for this class was generated from the following file: