Difference between revisions of "How-Tos"

From CDOT Wiki
Jump to: navigation, search
Line 17: Line 17:
 
<hr style="height:5px;width:15%;background-color:Peru;">
 
<hr style="height:5px;width:15%;background-color:Peru;">
 
Here are two ways to create a wiki page:
 
Here are two ways to create a wiki page:
 +
 +
{|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;"
 +
|width="25" align="left" style="color:Darkred;"|'''A)'''
 +
|
 +
|- style="height:30px;"
 +
|
 +
|style="background-color:Peru;color:white;"|'''Step 1'''
 +
|- style="height:30px"
 +
|
 +
|Enter a title of a page into the search box on the left side and click on go.
 +
|- style="height:30px"
 +
|
 +
|[[Image:How-tos-wiki-page-search.JPG]]
 +
|- style="height:30px"
 +
|
 +
|style="background-color:Peru;color:white;"|'''Step 2'''
 +
|- style="height:30px"
 +
|
 +
|A new page appears saying that the page could not be found. Click on create this page.
 +
|- style="height:30px"
 +
|
 +
|[[Image:How-tos-wiki-page-create.JPG]]
 +
|- style="height:30px"
 +
|
 +
|style="background-color:Peru;color:white;"|'''Step 3'''
 +
|- style="height:30px"
 +
|
 +
|Enter anything into the text box and press save.
 +
|- style="height:30px"
 +
|
 +
|[[Image:How-tos-wiki-page-save.JPG]]
 +
|}
 +
 +
 +
<!--
 
{|style="padding:5px;background-color:LightYellow;border-collapse:collapse;"
 
{|style="padding:5px;background-color:LightYellow;border-collapse:collapse;"
 
|-valign="top" align="center"
 
|-valign="top" align="center"
Line 98: Line 133:
 
|style="background-color:LightYellow;"|
 
|style="background-color:LightYellow;"|
 
|[[Image:How-tos-wiki-page-save.JPG]]
 
|[[Image:How-tos-wiki-page-save.JPG]]
|} <!-- end of Outer Steps Table -->
+
|}  
 +
-->
 +
<!-- end of Outer Steps Table -->
  
 
A new page has been created.
 
A new page has been created.

Revision as of 21:44, 30 November 2008

Welcome

Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related.

Wiki


Adding 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.


Creating a Wiki page


Here are two ways to create a wiki page:

A)
Step 1
Enter a title of a page into the search box on the left side and click on go.
How-tos-wiki-page-search.JPG
Step 2
A new page appears saying that the page could not be found. Click on create this page.
How-tos-wiki-page-create.JPG
Step 3
Enter anything into the text box and press save.
How-tos-wiki-page-save.JPG


A new page has been created.

To create a page in a sub-directory. Change the link to testing/test_page.

Mozilla

Firefox

 

Automated Tests



For an overview on Automated testing with Mozilla can be found on the Mozilla Developer Center.

A requirement for all test is to make sure that Firefox is compiled with tests enabled.
Modify the .mozconfig file to include ac_add_options --enable-tests
Build Firefox from source.


Mochitests


Run all Mochitests
A)

Step 1

cd $(OBJDIR)/_tests/testing/mochitest

Step 2

python runtests.py

B)

Step 1

cd $(OBJDIR)

Step 2

make -C $(OBJDIR) mochitest

Specific Mochitests can be run by the following:

Step 1

cd $(OBJDIR)/_tests/testing/mochitest

Step 2

python runtests.py --test-path=content/base/test/test_CrossSiteXHR.html

There are more options that are available for running Mochitests.


XPCShell


Step 1

cd path/to/source/
make check

How to make xpcshell tests.


Reftests


Step 1

cd path/to/source/
path/to/dist/bin/firefox -no-remote -reftest layout/reftests/reftest.list

Here is a readme on reftests.

Thunderbird

Open Office

Eclipse

Linux

Fedora