XSLT Tests: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:


# [http://developer.mozilla.org/en/docs/Configuring_Build_Options#Choose_an_Application Compile Seamonkey].  This is needed to run the tests until the user interface is ported to Firefox.
# [http://developer.mozilla.org/en/docs/Configuring_Build_Options#Choose_an_Application Compile Seamonkey].  This is needed to run the tests until the user interface is ported to Firefox.
# From now on, we will refer to <code>${TESTHOME}/xml-xalan/test/tests</code> (this is the directory that has <code>conf</code> and <code>conf-gold</code> as subdirectories) as <code>$TESTDIR</code>.  Go to <code>$TESTDIR<</code> and run the script found at <code>content/xslt/tests/buster/helper/generate-rdf.pl</code> in your Mozilla source tree.  This will generate a file called <code>xalan.rdf</code> in <code>$TESTDIR</code>.
# From now on, we will refer to <code>${TESTHOME}/xml-xalan/test/tests</code> (this is the directory that has <code>conf</code> and <code>conf-gold</code> as subdirectories) as <code>$TESTDIR</code>.  We will refer to your Mozilla source directory as <code>$MOZDIR</code>.
# Go to <code>$TESTDIR<</code> and run <code>$MOZDIR/content/xslt/tests/buster/helper/generate-rdf.pl</code>.  This will generate a file called <code>xalan.rdf</code> in <code>$TESTDIR</code>.
# Start a build that does NOT have the changes being tested in it.  Go to the Tools > Web Development > Xalan Tests menu option.  This opens a "Xalan testcase harness" window.  Resize this window to be big enough to show at least three lines of the tree at the bottom of the window.
# Start a build that does NOT have the changes being tested in it.  Go to the Tools > Web Development > Xalan Tests menu option.  This opens a "Xalan testcase harness" window.  Resize this window to be big enough to show at least three lines of the tree at the bottom of the window.
# Click the "Browse" button and browse for the <code>xalan.rdf</code> file that you created in step 2.
# Click the "Browse" button and browse for the <code>xalan.rdf</code> file that you created in step 3.
# Select the "conf" item in the tree at the bottom of the "Xalan testcase harness" window.
# Select the "conf" item in the tree at the bottom of the "Xalan testcase harness" window.
# Click the button labeled "run checked tests"
# Click the button labeled "run checked tests"
# Wait until the test completes.
# Wait until the test completes.
# Go to File > Save Results and save the results to a file of your choice.
# Go to File > Save Results and save the results to a file of your choice.
# Repeat step 3 with a build that DOES have the changes being tested in it.
# Repeat step 4 with a build that DOES have the changes being tested in it.
# Go to File > Import results and import the results you saved in step 8.
# Go to File > Import results and import the results you saved in step 8.
# Repeat steps 4-7.
# Repeat steps 5-8.
# Compare the results -- the "Success" column will have the results with the changes being tested, while the "Previously" column is the baseline.
# Compare the results -- the "Success" column will have the results with the changes being tested, while the "Previously" column is the baseline.
308

edits

Navigation menu