Opened 12 years ago
Closed 12 years ago
#4649 closed enhancement (fixed)
[patch] [CLI] Add assertError and tiny fix
Reported by: | wolfram | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | TestFramework | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
1) This patch adds assertError() so you can also test for certain errors.
t.assertError(dojox.data.QueryReadStore.InvalidAttributeError, store, "getValue", [item, "NOT THERE"]); t.assertError(dojox.data.QueryReadStore.InvalidItemError, store, "getValue", ["not an item", "NOT THERE"]);
2) fixed a comparison for undefined, use === for it
Attachments (1)
Change History (2)
Changed 12 years ago by
Attachment: | assertError.patch added |
---|
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
add assertError()