Name Description Size
data
head.js Return an item property as string. @param 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() 9487
providers
test_alarm.js 18231
test_alarmservice.js 20593
test_alarmutils.js 6188
test_attachment.js 3902
test_attendee.js 9624
test_auth_utils.js Tests the passwordManager{Get,Save,Remove} functions 3464
test_bug272411.js 537
test_bug343792.js 2298
test_bug350845.js 1554
test_bug356207.js 1623
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 2602
test_caldav_requests.js 30158
test_CalendarFileImporter.js Test CalendarFileImporter can import a ics file encoded in charset=iso-8859-1. 2424
test_calIteratorUtils.js Tests for cal.iterate.* 1084
test_calmgr.js Tests the calICalendarManager interface 13325
test_calreadablestreamfactory.js Tests for the ReadableStreams generated by CalReadableStreamFactory. 5788
test_calStorageHelpers.js 910
test_data_bags.js 3891
test_datetime.js 3644
test_datetime_before_1970.js 1168
test_datetimeformatter.js 16432
test_deleted_items.js 4053
test_duration.js 361
test_email_utils.js 8659
test_extract.js eslint-disable no-restricted-syntax 6630
test_extract_parser.js Tests for the CalExtractParser module. 4498
test_extract_parser_parse.js Tests for the CalExtractParser module. 30078
test_extract_parser_service.js Tests for the CalExtractParserService. These are modified versions of the text_extract.js tests, for now. 2399
test_extract_parser_tokenize.js Tests for the CalExtractParser module. 7436
test_filter.js globals calFilter, CalReadableStreamFactory 15932
test_filter_mixin.js globals CalendarFilteredViewMixin, CalReadableStreamFactory 44339
test_filter_tree_view.js globals CalendarFilteredTreeView 13663
test_freebusy.js 2744
test_freebusy_service.js 4762
test_ics.js 8348
test_ics_parser.js 6220
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); 9728
test_imip.js 1696
test_invitationutils.js typedef {Object} FullIcsValue @property {Object<string, string>} 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. 53336
test_items.js 13244
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. 13927
test_itip_utils.js Helper function to get an ics for testing sequence and stamp comparison @param {String} aAttendee - A serialized ATTENDEE property @param {String} aSequence - A serialized SEQUENCE property @param {String} aDtStamp - A serialized DTSTAMP property @param {String} aXMozReceivedSequence - A serialized X-MOZ-RECEIVED-SEQUENCE property @param {String} aXMozReceivedDtStamp - A serialized X-MOZ-RECEIVED-STAMP property 26100
test_l10n_utils.js Incomplete - still missing test coverage for: getAnyString getString getCalString getLtnString getDateFmtString formatMonth 3527
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_providers.js eslint no-useless-concat: "off" 16334
test_recur.js 45300
test_recurrence_utils.js Incomplete - still missing test coverage for: recurrenceRule2String splitRecurrenceRules checkRecurrenceRule 11890
test_relation.js 3419
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). 7051
test_startup_service.js 1297
test_storage.js 3006
test_storage_connection.js Tests that local storage calendars share a database connection. 4542
test_storage_get_items.js Tests for the CalStorageCalendar.getItems method. 9445
test_timezone.js 2423
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(); }); 3265
test_timezone_definition.js 989
test_transaction_manager.js Tests for the CalTransactionManager and the various CalTransaction instances. 11310
test_unifinder_utils.js 4221
test_utils.js 5877
test_view_utils.js 2999
test_webcal.js 1442
test_weekinfo_service.js 1476
xpcshell.ini 1889