зеркало из https://github.com/mozilla/gecko-dev.git
55 строки
1.5 KiB
HTML
55 строки
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<title>Pluglet API automated tests</title>
|
|
</head>
|
|
<body bgcolor=white>
|
|
<center><H1>Pluglet API automated tests</H1></center>
|
|
<H2>Table of contents.</H2>
|
|
<pre>
|
|
- <a href=test_draft.html>Preliminary specification</a>
|
|
- <a href=#build>How to build</A>
|
|
- <a href=#run>How to run</A>
|
|
Documentation on test cases:
|
|
- <a href=api/index.html>Browser side api tests </a>
|
|
- <a href=scenario/scenario.html>Scenario tests </a>
|
|
- <a href=security/index.html>Security tests </a>
|
|
- <a href=params/params.html>Tests on passed in client side api parameters </a>
|
|
- <a href=returns/returns.html>Tests on return values from client side api </a>
|
|
<!-- - <a href= >Tests on calling browser side api from different threads </a>
|
|
- <a href= > </a> -->
|
|
|
|
<A name=build>How to build.
|
|
- setup environment for mozilla building and running
|
|
- goto config directory and fill
|
|
CommonProperties and set_env.bat files.
|
|
(or set_env.sh in case of Unix build)
|
|
- run the config/set_env.bat file
|
|
(or source set_env.sh in case of Unix build)
|
|
- goto src/org/mozilla/pluglet/test/basic/ directory
|
|
and make with makefile in this directory
|
|
|
|
<A name=run>How to run.
|
|
There is autorun.pl script to run test cases and BWTest.lst.ORIG
|
|
with list of all test cases in src/org/mozilla/pluglet/test/basic/
|
|
directory.
|
|
To run all test cases in BWTest.lst.ORIG:
|
|
|
|
<B>perl autorun.pl</B>
|
|
|
|
It is possible to list required test cases in another file:
|
|
|
|
<B>perl autorun.pl -f <i>file_with_sub_list</i></B>
|
|
|
|
To run single test case:
|
|
|
|
<B>perl autorun.pl -t <i>test_case</i></B>
|
|
|
|
</pre>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|