Closed
Bug 352248
Opened 19 years ago
Closed 19 years ago
should make it clear what is public and what's not in head.js
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: asqueella, Assigned: asqueella)
Details
Attachments
(1 file)
5.87 KB,
patch
|
davel
:
review+
|
Details | Diff | Splinter Review |
For example, do_check_eq is public, while do_main and do_quit are not.
Assignee | ||
Comment 1•19 years ago
|
||
This fixed the mentioned problem, updates the doc link to point to MDC, and fixes the problem with DEPTH I mentioned earlier.
Attachment #237859 -
Flags: review?(davel)
Comment 2•19 years ago
|
||
Comment on attachment 237859 [details] [diff] [review]
patch
did you run "make check" after applying this patch to a tree, and check for failures?
Also, DEPTH needs to be set depending on where this example Makefile.in is instantiated in the tree. Is there some text we could put in there that would instruct the test writer to "%REPLACE_ME%" with the correct number of ../'s?
Assignee | ||
Comment 3•19 years ago
|
||
I've ran netwerk tests before attaching the patch and now the complete 'make check' per your request. Yes, they don't fail.
We could (in order of developer-friendliness):
- add a few comments to the files that are part of the example explaining what can be changed and what should be done.
- just link to the docs from all the files
- leave it as is, since example's Readme already contains a link to the docs.
I changed DEPTH just to confuse people less. If you think more comments are needed, I can do it in a separate bug.
Comment 4•19 years ago
|
||
Comment on attachment 237859 [details] [diff] [review]
patch
ok. Please open another bug to more clearly mark the parts of the example makefile that need to be customized.
Attachment #237859 -
Flags: review?(davel) → review+
Comment 5•19 years ago
|
||
Checking in xpcshell-simple/README;
/cvsroot/mozilla/tools/test-harness/xpcshell-simple/README,v <-- README
new revision: 1.2; previous revision: 1.1
done
Checking in xpcshell-simple/head.js;
/cvsroot/mozilla/tools/test-harness/xpcshell-simple/head.js,v <-- head.js
new revision: 1.5; previous revision: 1.4
done
Checking in xpcshell-simple/tail.js;
/cvsroot/mozilla/tools/test-harness/xpcshell-simple/tail.js,v <-- tail.js
new revision: 1.2; previous revision: 1.1
done
Checking in xpcshell-simple/example/Makefile.in;
/cvsroot/mozilla/tools/test-harness/xpcshell-simple/example/Makefile.in,v <-- Makefile.in
new revision: 1.2; previous revision: 1.1
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•19 years ago
|
||
Comment on attachment 237859 [details] [diff] [review]
patch
>Index: tools/test-harness/xpcshell-simple/head.js
>+ * for more informaton
Could someone with more time than me fix this, please? :-)
Assignee | ||
Comment 7•19 years ago
|
||
D'oh!
BTW, I filed bug 352305 for the issue raised in comment 2, as requested.
Comment 8•19 years ago
|
||
fixed typo
/cvsroot/mozilla/tools/test-harness/xpcshell-simple/head.js,v <-- head.js
new revision: 1.6; previous revision: 1.5
done
(thanks for catching this)
Assignee | ||
Comment 9•19 years ago
|
||
Thanks Dave, and sorry for the trouble.
Updated•17 years ago
|
Component: Testing → TUnit
Product: Core → Testing
QA Contact: testing → tunit
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•