Closed
Bug 368097
Opened 18 years ago
Closed 9 years ago
XUL Widget Tests
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: enndeakin, Assigned: enndeakin)
References
Details
Attachments
(1 file, 1 obsolete file)
This is about checking in the XUL widget test suite I've been working on. Currently, I'm going to put them in toolkit/tests and can run during the make check phase.
Comment 1•18 years ago
|
||
Nice. How do they run?
Assignee | ||
Comment 2•18 years ago
|
||
It should run by opening a browser and running through the tests for each widget. It works in the same way as the reftests do.
It doesn't output any pass/fail state to the console though as I'm not sure what should happen there. It does display a table of green pass and red fail rows.
Assignee | ||
Comment 3•18 years ago
|
||
This adds tests to test the following widgets and xul features:
datepicker, key, scale, stringbundle, textbox, spellchecking textbox,
timepicker, notificationbox, menu, menu buttons, trees and templates
The patch in bug 364508 is needed for the tests to work. Some subtests don't work if the window isn't raised, and three of the spellchecking subtests don't work on Windows.
To run the tests:
cd [outputdir]/toolkit/tests
make lcheck
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Comment 4•18 years ago
|
||
That patch doesn't include happy.png (naturally, since it's binary)...
Comment 5•18 years ago
|
||
So when I run these, it runs the "Menu Toolbar Button" tests what looks like partway (according to the progress meter) then stops... Is that expected?
Also, given a test failure is there a reasonable way to view that test?
Finally, there are 0 tests for toolbar, images, etc? Or am I doing something wrong?
Assignee | ||
Comment 6•18 years ago
|
||
The patch here for the tests are works in progress, so only the elements listed in comment 3 have tests.
> So when I run these, it runs the "Menu Toolbar Button"
> tests what looks like partway (according to the progress meter)
> then stops... Is that expected?
No, but that was an issue on Windows. It's possible I made the patch before I fixed that issue.
Assignee | ||
Comment 7•18 years ago
|
||
Attachment #253251 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
These tests are old and mostly either have been added or have equivalents added.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•