Closed
Bug 720525
Opened 14 years ago
Closed 8 years ago
Gloda test helpers can't be called outside of mailnews
Categories
(MailNews Core :: Testing Infrastructure, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Fallen, Assigned: Fallen)
Details
Attachments
(1 file)
|
1.38 KB,
patch
|
Details | Diff | Splinter Review |
While working on the implementation of Lightning's gloda nouns and attributes, I currently need to restart Lightning again and again to see how my implementation works. To optimize this, I'd like to use xpcshell unit tests, with the nice side effect that we have unit tests right from the start.
Whats blocking me here is that the unit test helpers rely on hard coded paths, which calendar cannot work around on. Instead of rewriting all of it or copying the needed parts, it would be nice if we could just reuse the existing files.
I can imagine this would also be helpful for the IM implementation.
| Assignee | ||
Comment 1•14 years ago
|
||
This might actually do it, although I haven't tested a lot. I got an initial test that does nothing execpt wait for the indexer to complete to run by using:
var gDEPTH = "../../..";
var gBasePath = "../../../mailnews";
load(gBasePath + "/db/gloda/test/unit/resources/glodaTestHelper.js");
Assignee: nobody → philipp
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•8 years ago
|
||
This patch is simple enough that if I ever have time to implement gloda for Lightning it would be simple enough to start from scratch. Closing.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•