| data |
|
|
- |
| head.js |
Return an item property as string.
@param {calIItemBase} aItem
@param {string} aProp - possible item properties: start, end, duration,
generation, title, id, calendar, creationDate, lastModifiedTime,
stampTime, priority, privacy, status, alarmLastAck, recurrenceStartDate
and any property that can be obtained using getProperty()
|
8390 |
- |
| providers |
|
|
- |
| test_alarm.js |
|
18182 |
- |
| test_alarmservice.js |
|
29354 |
- |
| test_alarmutils.js |
|
6165 |
- |
| test_attachment.js |
|
3902 |
- |
| test_attendee.js |
|
9516 |
- |
| test_auth_utils.js |
Tests the passwordManager{Get,Save,Remove} functions
|
3619 |
- |
| test_bug272411.js |
|
537 |
- |
| test_bug343792.js |
|
2251 |
- |
| test_bug350845.js |
|
1554 |
- |
| test_bug356207.js |
|
1628 |
- |
| test_bug485571.js |
|
2754 |
- |
| test_bug486186.js |
|
818 |
- |
| test_bug494140.js |
In bug 494140 we found out that creating an exception to a series duplicates
alarms. This unit test makes sure the alarms don't duplicate themselves. The
same goes for relations and attachments.
|
2231 |
- |
| test_bug523860.js |
|
632 |
- |
| test_bug653924.js |
|
804 |
- |
| test_bug668222.js |
|
1126 |
- |
| test_bug759324.js |
Checks if the capabilities.propagate-sequence feature of the storage calendar
still works
|
2216 |
- |
| test_bug1199942.js |
|
3086 |
- |
| test_bug1204255.js |
|
6092 |
- |
| test_bug1209399.js |
|
4085 |
- |
| test_bug1790339.js |
|
2553 |
- |
| test_caldav_identity_preference.js |
|
4036 |
- |
| test_caldav_offline_modify_playback.js |
Tests that playing back an offline modification does not corrupt other
events in the cache. The cached calendar hands its cache-update callback to
the CalDAV calendar through a member field; when that field outlives its
operation, the next direct modification - the offline playback - runs the
leftover callback and writes its own item paired with the previous
operation's old item, deleting that event from the cache.
|
6079 |
- |
| test_caldav_requests.js |
Encodes a string as a UTF-16LE binary string (one byte per character).
@param {string} str - The string to encode.
@returns {string} A binary string of the UTF-16LE bytes.
|
32862 |
- |
| test_CalendarFileImporter.js |
Test CalendarFileImporter can import a ics file encoded in charset=iso-8859-1.
|
2351 |
- |
| test_calIteratorUtils.js |
Tests for cal.iterate.*
|
1084 |
- |
| test_calmgr.js |
Tests the calICalendarManager interface.
@implements {calICalendarManagerObserver}
|
13352 |
- |
| test_calProviderUtils.js |
Tests the handling of calendarUserAddresses in calProviderUtils.sys.mjs
|
2975 |
- |
| test_calreadablestreamfactory.js |
Tests for the ReadableStreams generated by CalReadableStreamFactory.
|
5788 |
- |
| test_calStorageHelpers.js |
|
910 |
- |
| test_data_bags.js |
@type {calIOperationListener} |
4208 |
- |
| test_datetime.js |
|
3597 |
- |
| test_datetime_before_1970.js |
|
1168 |
- |
| test_datetimeformatter.js |
|
18174 |
- |
| test_deleted_items.js |
|
4039 |
- |
| test_detection.js |
|
1921 |
- |
| test_duration.js |
|
361 |
- |
| test_email_utils.js |
|
8659 |
- |
| test_extract.js |
eslint-disable no-restricted-syntax |
6630 |
- |
| test_filter.js |
globals calFilter, CalReadableStreamFactory |
17092 |
- |
| test_filter_mixin.js |
globals CalendarFilteredViewMixin, CalReadableStreamFactory |
44301 |
- |
| test_filter_tree_view.js |
globals CalendarFilteredTreeView |
13673 |
- |
| test_freebusy.js |
|
2606 |
- |
| test_freebusy_service.js |
@implements {calIFreeBusyProvider} |
5039 |
- |
| test_ics.js |
|
8348 |
- |
| test_ics_offline_playback.js |
Tests that changes made to a cached ICS calendar while offline are played
back to the server by the next synchronization instead of being silently
discarded (bug 2052714), and that the playback does not corrupt other
events in the cache.
|
10274 |
- |
| test_ics_parser.js |
|
6225 |
- |
| test_ics_service.js |
TODO consider removing period support, ics throws badarg
let rdateperiod = checkComp(cal.createRecurrenceDate.bind(cal),
"RDATE;VALUE=PERIOD;20120101T000000Z/20120102T000000Z");
equal(rdate.date.compare(cal.createDateTime("20120101T000000Z")), 0);
|
9681 |
- |
| test_imip.js |
|
1696 |
- |
| test_invitationutils.js |
@typedef {object} FullIcsValue
@property {object} params - Parameters for the ics property,
mapping from the parameter name to its value. Each name should be in camel
case. For example, to set "PARTSTAT=ACCEPTED" on the "attendee" property,
use `{ partstat: "ACCEPTED" }`.
@property {string} value - The property value.
|
53221 |
- |
| test_items.js |
|
13197 |
- |
| test_itip_message_sender.js |
Creates a calendar event mimicking an event to which we have received an
invitation.
@param {string} organizerEmail - The email address of the event organizer.
@param {string} attendeeEmail - The email address of an attendee who has
accepted the invitation.
@returns {calIItemBase} - The new calendar event.
|
13870 |
- |
| test_itip_utils.js |
Helper function to get an ics for testing sequence and stamp comparison
@param {string[]} aProperties - Array of serialized ICS property strings.
Each entry can represent one of the following:
- `ATTENDEE`: A serialized ATTENDEE property.
- `SEQUENCE`: A serialized SEQUENCE property.
- `DTSTAMP`: A serialized DTSTAMP property.
- `X-MOZ-RECEIVED-SEQUENCE`: A serialized X-MOZ-RECEIVED-SEQUENCE property.
- `X-MOZ-RECEIVED-STAMP`: A serialized X-MOZ-RECEIVED-STAMP property.
|
27548 |
- |
| test_l10n_utils.js |
notEqual(
info2.locale,
info.locale,
"caching retest - value for locale is different in both objects (test #" + i + ")"
);
|
3356 |
- |
| test_lenient_parsing.js |
Tests that ICAL.design.strict is set to false in both the main thread and
the ICS parsing worker. If either or both is set to true, this will fail.
|
1275 |
- |
| test_multiple_usernames.js |
Tests there can be calendars with different usernames on the same server.
|
3650 |
- |
| test_providers.js |
eslint no-useless-concat: "off" |
16334 |
- |
| test_recur.js |
|
45871 |
- |
| test_recurrence_utils.js |
Incomplete - still missing test coverage for:
recurrenceRule2String
splitRecurrenceRules
checkRecurrenceRule
|
11867 |
- |
| test_relation.js |
|
3368 |
- |
| test_rfc3339_parser.js |
Some notes about the differences between calIDateTime and the RFC 3339
specification:
1. calIDateTime does not support fractions of a second, they are
stripped.
2. If a timezone cannot be matched to the given time offset, the
date/time is returned as a UTC date/time.
3. The first timezone (alphabetically) that has the same offset is
chosen.
4. Leap seconds are not supported by calIDateTime, it resets to
[0-23]:[0-59]:[0-59].
All tests are done under the default timezone and UTC (although both
should give the same time).
|
7004 |
- |
| test_storage.js |
|
2957 |
- |
| test_storage_connection.js |
Tests that local storage calendars share a database connection.
|
4466 |
- |
| test_storage_get_items.js |
Tests for the CalStorageCalendar.getItems method.
|
9302 |
- |
| test_timezone.js |
|
2315 |
- |
| test_timezone_changes.js |
add_test(function testCaracas() {
let time = cal.createDateTime();
let zone = cal.timezoneService.getTimezone("America/Caracas");
for (let month = JANUARY; month <= DECEMBER; month++) {
time.resetTo(2015, month, 1, 0, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_430, time.toString());
}
for (let month = JANUARY; month <= APRIL; month++) {
time.resetTo(2016, month, 1, 0, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_430, time.toString());
}
time.resetTo(2016, MAY, 1, 1, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_430, time.toString());
time.resetTo(2016, MAY, 1, 3, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_4, time.toString());
for (let month = JUNE; month <= DECEMBER; month++) {
time.resetTo(2016, month, 1, 0, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_4, time.toString());
}
for (let month = JANUARY; month <= DECEMBER; month++) {
time.resetTo(2017, month, 1, 0, 0, 0, zone);
equal(time.timezoneOffset, UTC_MINUS_4, time.toString());
}
run_next_test();
}); |
3242 |
- |
| test_timezone_definition.js |
|
2804 |
- |
| test_transaction_manager.js |
Tests for the CalTransactionManager and the various CalTransaction instances.
|
11218 |
- |
| test_unifinder_utils.js |
|
4221 |
- |
| test_utils.js |
|
5830 |
- |
| test_view_utils.js |
|
2952 |
- |
| test_webcal.js |
|
1442 |
- |
| test_weekinfo_service.js |
|
1476 |
- |
| xpcshell.toml |
|
2292 |
- |