Closed
Bug 861620
Opened 13 years ago
Closed 13 years ago
Improve test coverage in backend components
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
2.5
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(1 file)
|
99.67 KB,
patch
|
mmecca
:
review+
|
Details | Diff | Splinter Review |
The components in base/src/ can easily be tested using unit tests, we should improve our test coverage in that area.
While creating a patch for this bug, I have also found some issues with our code.
| Assignee | ||
Comment 1•13 years ago
|
||
These are the testcases that will cover the other patches.
Attachment #737267 -
Flags: review?(matthew.mecca)
Comment 2•13 years ago
|
||
Comment on attachment 737267 [details] [diff] [review]
New and Improved Testcases - v1
Review of attachment 737267 [details] [diff] [review]:
-----------------------------------------------------------------
Everything looks good as far as I can see. r=mmecca
::: calendar/test/unit/test_alarm.js
@@ +145,5 @@
> } catch (e) {}
>
> + // No attendee yet, should not be initialized
> + do_check_throws(function() {
> + alarm.icalComponent;
nit - a 4 space indent would match the rest of the file
::: calendar/test/unit/test_recur.js
@@ +385,3 @@
> // removeOccurrenceAt/restoreOccurreceAt
> + var occDate1 = cal.createDateTime("20020403T114500Z");
> + var occDate2 = cal.createDateTime("20020404T114500Z");
A few var's could be changed to let's in this file
Attachment #737267 -
Flags: review?(matthew.mecca) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Pushed to comm-central changeset d1605239dd10
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.5
You need to log in
before you can comment on or make changes to this bug.
Description
•