aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* added missing directory "signed" with its filesJiri Vanek2011-10-037-0/+330
|
* Add tests for CDATA sectionsOmair Majid2011-09-213-4/+101
|
* added first signed reproducer as example and testing read properties signed ↵Jiri Vanek2011-09-221-2/+2
| | | | behaviour.
* Reproducers engine enchanced for signed reproducersJiri Vanek2011-09-221-2/+10
|
* current reproducers (see changelog) done more verboseJiri Vanek2011-09-1512-56/+93
|
* reproducers compilation extended for directory structureJiri Vanek2011-08-021-1/+2
|
* minor changes in reproducers engineJiri Vanek2011-07-261-43/+84
|
* Added algorithm that compares signed JNLP application/template file with ↵Saad Mohammad2011-07-1921-0/+779
| | | | launching JNLP file (with test case and its resources)
* classes are now collapsable in html reportJiri Vanek2011-06-231-2/+3
|
* added first set of reproducersJiri Vanek2011-06-2128-0/+1071
|
* added engine for lunching reproducersJiri Vanek2011-06-1912-0/+1459
|
* added styles for junit xml reportJiri Vanek2011-06-163-0/+270
|
* added posibility to export junit testsuite results as xmlJiri Vanek2011-05-172-0/+228
|
* Reverting unapproved change 235:114a981d3552Andrew John Hughes2011-05-116-556/+0
|
* added posibility for junit to export reports to xml, addes set of styles for ↵Jiri Vanek2011-05-106-0/+556
| | | | easy navigation inside tests-output file (transformed to html)
* Innerclasses and jnlp files are now skipped during testing without warning ↵Jiri Vanek2011-05-091-0/+2
| | | | or eror
* Backed out changeset 1cce62b89f07 - unapproved patchAndrew John Hughes2011-04-111-5/+6
|
* added support for testngJiri Vanek2011-04-111-6/+5
|
* Add unit tests for the parserOmair Majid2011-03-317-0/+619
| | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds support for JUnit4 tests to icedtea-web. It also adds some parser tests that check that the parser works. make check will now run these tests if JUnit is available. 2011-03-31 Omair Majid <[email protected]> Add unit tests for the parser * Makefile.am: Add TESTS_DIR,TESTS_SRCDIR, NETX_UNIT_TEST_DIR, and NETX_UNIT_TEST_SRCDIR, JUNIT_RUNNER_DIR, JUNIT_RUNNER_SRCDIR, and JUNIT_RUNNER_JAR. Conditionally define RHINO_TESTS and UNIT_TESTS. (clean-local): Use RHINO_TESTS and UNIT_TESTS. (clean-tests): Depend on clean-netx-tests. Delete directory. (junit-runner-source-files.txt, $(JUNIT_RUNNER_JAR)), (next-unit-tests-sources-files.txt stamps/netx-unit-tests-compile.stamp), (run-netx-unit-tests, clean-netx-tests, clean-junit-runner) (clean-netx-unit-tests): New targets. * configure.ac: Add new optional dependency on junit. * tests/junit-runner/CommandLine.java, * tests/junit-runner/LessVerboseTextListener.java, * tests/junit-runner/README, * tests/netx/unit/net/sourceforge/jnlp/ParserBasicTests.java, * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCaseTests.java, * tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXmlTests.java, * tests/netx/unit/net/sourceforge/jnlp/basic.jnlp: New files.
* Make sure hostname used for testIsResolvable is really not resolvable.Mark Wielaard2011-03-111-1/+1
| | | | | | | | 2011-03-10 Mark Wielaard <[email protected]> * tests/netx/pac/pac-funcs-test.js (testIsResolvable): Change single host name icedtea to NotIcedTeaHost to make sure it really isn't resolvable.
* Make output of PAC function tests more jtreg-like to help the buildbotOmair Majid2011-03-101-7/+4
| | | | | | | | | | | The buildbot already has support for parsing the results of jtreg tests; this changeset makes the output of PAC function tests more like jtreg's output. 2011-03-10 Omair Majid <[email protected]> * tests/netx/pac/pac-funcs-test.js (main): Make test summary output more jtreg-like. (runTests): Change test output format to be more jtreg-like.
* Add Proxy Auto Config (PAC) supportOmair Majid2011-03-071-0/+446
This patch adds support for reading, parsing and evaluating PAC files using rhino. 2011-03-07 Omair Majid <[email protected]> * NEWS: Update. * Makefile.am (RHINO_RUNTIME): Define to point to rhino jars, or empty. (RUNTIME, LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH): Include RHINO_RUNTIME. (PHONY): Add check-pac-functions, clean-jrunscript and clean-tests. (check-local): New target. Depends on check-pac-functions. (check-pac-functions): New target. (jrunscript): New target. (clean-tests): New target. (clean-jrunscript): New target. (netx-source-files.txt): Remove rhino related files if not building with rhino. (build.properties): New target. (stamps/netx.stamp): Depend on build.properties and copy new files to build location. (clean-netx): Remove build.properties. (stamps/bootstrap-directory.stamp): Add java to bootstrap programs. * acinclude.m4 (IT_FIND_RHINO_JAR): New macro. * configure.ac: Invoke IT_FIND_RHINO_JAR. * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: Add browserProxyAutoConfig. (initFromBrowserConfig): Initialize browserProxyAutoConfig if needed. (getFromBrowserPAC): Use browserProxyAutoConfig to find proxies. * netx/net/sourceforge/jnlp/resources/Messages.properties: Replace RPRoxyPacNotImplemented with RPRoxyPacNotSupported. * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Add pacEvaluator. (parseConfiguration): Initialize pacEvaluator if needed. (getFromPAC): Use pacEvaulator to find proxies. (getProxiesFromPacResult): New method. Converts a proxy string to a list or proxies. * netx/net/sourceforge/jnlp/runtime/PacEvaluator.java: New file. Defines a Java interface for a PAC evaluator. * netx/net/sourceforge/jnlp/runtime/FakePacEvaluator.java: New file. Dummy implementation of a PAC evaluator. * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java: New file. A rhino-based PAC evaluator. * netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: New file. A factory for creating the right PAC evaulator. * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: New file. Defines helper functions needed while evaluating PAC files. * tests/netx/pac/pac-funcs-test.js: New file. Tests the PAC helper functions.