Closed Bug 462823 Opened 16 years ago Closed 10 years ago

make |test_interface()| function in |test_recur.js| more robust

Categories

(Calendar :: Internal Components, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dbo, Assigned: Fallen)

References

()

Details

(Whiteboard: [good first bug][mentor=Fallen][lang=js])

Attachments

(1 file, 1 obsolete file)

Those tests rely on a certain order of the RRULE's parameters which could change.
OS: Mac OS X → All
Hardware: x86 → All
Priority: -- → P2
Whiteboard: [good first bug][mentor=Fallen][lang=js]
Attached patch Fix - v1 (obsolete) β€” β€” Splinter Review
This is as far as I think we should fix the test for now. I've replaced exact checks with string/regex checks and it seems to be working, both for ical.js and libical.

This patch also removes enabling ical.js which I accidentally added in bug 973651.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #8384278 - Flags: review?(matthew.mecca)
Attached patch Fix - v1 β€” β€” Splinter Review
Attachment #8384278 - Attachment is obsolete: true
Attachment #8384278 - Flags: review?(matthew.mecca)
Attachment #8384279 - Flags: review?(matthew.mecca)
Comment on attachment 8384279 [details] [diff] [review]
Fix - v1

Review of attachment 8384279 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, r=mmecca

::: calendar/test/unit/test_recur.js
@@ +377,5 @@
>  
>      // deleteRecurrenceItemAt
>      rinfo.deleteRecurrenceItemAt(1);
>      itemString = item.icalString;
> +    dump(itemString);

dump left in intentionally?
Attachment #8384279 - Flags: review?(matthew.mecca) → review+
(In reply to Matthew Mecca [:mmecca] from comment #3)

> > +    dump(itemString);
> 
> dump left in intentionally?

Nope, thanks for catching that.
Pushed to comm-central changeset 3d40333df6e2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: