Difference between revisions of "How-Tos"
(→Mozilla) |
(→Mozilla) |
||
Line 15: | Line 15: | ||
{|style="background-color:PaleGoldenrod;width:100%;padding:10px" | {|style="background-color:PaleGoldenrod;width:100%;padding:10px" | ||
− | + | | | |
====Automated Tests==== | ====Automated Tests==== | ||
<p> | <p> | ||
Line 25: | Line 25: | ||
Build Firefox from source. | Build Firefox from source. | ||
</p> | </p> | ||
− | + | |- | |
+ | | | ||
=====Mochitests===== | =====Mochitests===== | ||
{|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | {|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | ||
Line 31: | Line 32: | ||
'''<span style="color:DarkRed">Step 1</span>''' | '''<span style="color:DarkRed">Step 1</span>''' | ||
<blockquote> | <blockquote> | ||
− | + | <span style="color:DarkRed">A)</span><br/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Run the Mochitests | Run the Mochitests | ||
<pre>cd $(OBJDIR)/_tests/testing/mochitest | <pre>cd $(OBJDIR)/_tests/testing/mochitest | ||
Line 45: | Line 38: | ||
or | or | ||
<pre>make -C $(OBJDIR) mochitest</pre> | <pre>make -C $(OBJDIR) mochitest</pre> | ||
− | B)<br/> | + | <span style="color:DarkRed">B)</span><br/> |
Specific Mochitests can be run by the following: | Specific Mochitests can be run by the following: | ||
<pre>cd $(OBJDIR)/_tests/testing/mochitest | <pre>cd $(OBJDIR)/_tests/testing/mochitest | ||
Line 54: | Line 47: | ||
|} <!-- end of Mochitest Section --> | |} <!-- end of Mochitest Section --> | ||
+ | |- | ||
+ | | | ||
=====XPCShell===== | =====XPCShell===== | ||
− | + | {|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | |
− | ''' | + | | |
− | + | '''<span style="color:DarkRed">Step 1</span>''' | |
<blockquote> | <blockquote> | ||
− | + | <pre>cd path/to/source/ | |
− | <pre></ | + | make check</pre> |
− | < | + | </blockquote> |
− | - | + | How to make [https://developer.mozilla.org/en/Writing_xpcshell-based_unit_tests xpcshell] tests. |
+ | |} <!-- end of XPCShell tests --> | ||
+ | |- | ||
+ | | | ||
=====Reftests===== | =====Reftests===== | ||
Revision as of 15:11, 28 November 2008
Contents
Welcome
Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related.
Wiki
How to add a how-to
To add a how-to to this page add a heading under the correct category OR create a category if one doesn't exist. There are currently no formatting or style rules. The suggestion is to be clean and well laid out. Look over the current how-to's to get a feel on how your tutorial should be laid out. Thank you for the contribution.
Mozilla
Firefox |
|||||||
|