aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix for PR1204, handling of query strings and absolute paths.Andrew Azores2013-09-265-2/+308
| | | | | | | | | | | | | | | | | | | | | | | | Absolute paths in resource URLs are correctly handled when appended to host URLs and URL query strings are not removed. * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getVersionedUrlUsingQuery) renamed to getVersionedUrl, refactored construction of URL * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (requestPluginProxyInfo) extracted proxy URI logic. (processProxyUri) new method for finding proxy URIs, handles absolute resource paths correctly * tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java: added tests for ResourceUrlCreator#getVersionedUrl * tests/netx/unit/sun/applet/PluginAppletViewerTest.java: added tests for PluginAppletViewer.processProxyUri * tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.html: new reproducer checks that absolute paths and query strings in resource URLs are properly handled, and caching still works * tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.jnlp: same * tests/reproducers/simple/AbsolutePathsAndQueryStrings/testcases/AbsolutePathsAndQueryStrings.java: same
* Introduced logging bottleneckJiri Vanek2013-09-259-67/+794
|
* PR1474: Can't get javaws to use SOCKS proxyOmair Majid2013-09-241-7/+20
| | | | | | | | If there is a SOCKS proxy specified, use it for https, http, and ftp protocols too (as a fallback). 'sameProxy' now affects the https, http and ftp protocols, but not the socket protocol.
* Unit tests for JNLPProxySelectorOmair Majid2013-09-231-0/+321
| | | | | | | | | | This contains one functional change: - String host = uri.getSchemeSpecificPart().split(":")[0]; + String host = uri.getHost(); Given the URI of "socket://example.org", the first line evaluates to "//example.org", while the second one (correctly) evaluates to "example.org".
* Unit test for InformationDescOmair Majid2013-09-201-0/+209
| | | | | | Also remove the references to JNLPFile from InformationDesc. This makes it much easier to instantiate InformationDesc for tests.
* adding xsl style for generating text summary after reproducers or unit tests runJana Fabrikova2013-09-191-0/+63
|
* Fixed minor typo in JEditorPaneBasedExceptionDialogTest (mus -> must) ↵Jiri Vanek2013-09-181-4/+4
| | | | | | severla times "message from dialog mus be same as pattern" -> "message from dialog must be same as pattern"
* Fix ResourcesTest to not assert the existence of ~/.mozilla/plugins/ directoryAndrew Azores2013-09-161-47/+31
|
* Use Arrays.asList instead of custom implementationOmair Majid2013-09-162-26/+12
| | | | | | | | | | | 2013-09-16 Omair Majid <[email protected]> * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java (toList): Remove. (checkForMainFileLeakTest): Use Arrays.asList. * tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java (toList): Remove. (testToRelativePaths): Use Arrays.asList.
* Added new utility class for retrieving localized messages for reproducers.Andrew Azores2013-09-133-13/+182
|
* PR1533: Inherit jnlp.packEnabled and jnlp.versionEnabled like other propertiesOmair Majid2013-09-091-0/+68
| | | | | | | | | | | | | | | | | | | | | | Treat jnlp.packEnabled and jnlp.versionEnabled just like other properties that can be set in one resource element and inherited/filtered in others. 2013-09-09 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/JNLPFile.java (getDownloadOptionsForJar): Rename to ... (getDownloadOptions): New method. Look up jnlp.packEnabled and jnlp.versionEnabled in any resources element. * netx/net/sourceforge/jnlp/PluginBridge.java (getDownloadOptionsForJar): Rename to ... (getDownloadOptions): New method. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeResources): Invoke file.getDownloadResources. (getDownloadOptionsForJar): Remove. * tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java (testDownloadOptionsAppliedEverywhere): New method. (testDownloadOptionsFilteredOut): New method.
* Fixed "could not clear cache" message and cache location in CacheReproducerAndrew Azores2013-09-041-40/+55
|
* mergingAndrew Azores2013-09-042-8/+67
|\
| * Test case for PR1533Omair Majid2013-08-301-0/+60
| | | | | | | | | | | | | | | | | | | | | | Add a unit test that checks the behaviour of JNLPFile when combining and filtering properties. 2013-08-29 Omair Majid <[email protected]> * tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java (testPropertyRestrictions): New method. Check that properties in resources are are combined and filtered as approp
| * Do not wait for applet initialization when binding Java applets for NPAPI.Adam Domurad2013-08-271-8/+7
| |
* | Extracted integer response casting/handling logic in SecurityDialogs to new ↵Andrew Azores2013-09-041-0/+70
|/ | | | method, added test for this method
* Spawn Java side during C++ unit tests. Many new tests.Adam Domurad2013-08-2311-23/+731
|
* Fix PR1271: icedtea-web does not handle javascript:-protocol URLsAdam Domurad2013-08-194-0/+156
|
* Fix and tests for PR974, extension JNLPs unavailable when embedded in HTML ↵Andrew Azores2013-08-158-0/+436
| | | | applet tags
* Removed HTTP 400 BAD REQUEST as it was unneeded (test server won't be ↵Andrew Azores2013-08-132-10/+0
| | | | checking anyway)
* Refactored TinyHttpdImpl. Changed constructor, reflect this in ↵Andrew Azores2013-08-124-151/+325
| | | | ServerLauncher. Unit tests moved out of ServerAccessTest into new TinyHttpdImplTest. New unit tests added.
* Fix many memory leaks due to utf8fromidentifier misuseAdam Domurad2013-07-302-2/+24
|
* tests/reproducers/simple/simpletest1/resources/favicon.ico: new file hould ↵Jiri Vanek2013-07-301-0/+0
| | | | | | be served by test server in reproducers run and so prevent FNF exception ChangeLog: fixed few entries below (added emty line between author and body)
* IcedTea-Web is now following XDG .config and .cache specification(RH947647)Jiri Vanek2013-07-185-29/+1119
|
* About dialogue made accessible from pluginJiri Vanek2013-07-171-3/+6
|
* JNLP file is now re-downloading only if is local and have href. Real couse ↵Jiri Vanek2013-06-244-3/+286
| | | | of PR1473
* Move 'get_scriptable_java_package_object' and 'get_scriptable_java_object' ↵Adam Domurad2013-06-211-18/+18
| | | | into their correct respective classes.
* More unit tests for scriptable object creation, destructionAdam Domurad2013-06-215-19/+146
|
* Added tagsup (optional dependence) as sanitizer for (possibly) invalid xml filesJiri Vanek2013-06-217-151/+187
|
* Extract URL to file logic in TinyHttpdImpl.java, with unit testsAndrew Azores2013-06-182-4/+62
|
* Handled semicolon in internal server (with reproducers)Jiri Vanek2013-06-106-0/+272
|
* Made all tests running wit junit4.10 and higherJiri Vanek2013-06-061-2/+1
| | | | | * tests/junit-runner/CommandLine.java: (runMain) is no longer overriding and (runMainAndExit) is now calling System.exit rather then system.exit
* Silenced deployment.properties and zero size applet exceptions with testsJiri Vanek2013-06-064-1/+158
|
* Fix PR1465 - java.io.FileNotFoundException while trying to download a JAR fileAdam Domurad2013-06-052-3/+27
|
* Add NativeLibraryStorageTEstAdam Domurad2013-06-033-74/+333
|
* Extract NativeLibraryStorage class from JNLPClassLoaderAdam Domurad2013-06-031-14/+0
|
* Move inner test class MockedOneJarJNLPFile to top-level DummyJNLPFileWithJarAdam Domurad2013-05-292-51/+61
|
* Fixed possible deadlock for applet->js->applet call with testcaseJiri Vanek2013-05-203-0/+239
|
* Reproducer for PR854Adam Domurad2013-05-173-0/+194
|
* modification of JavawsAWTRobotUsageSample reproducericedtea-web-1.4-branchpointJana Fabrikova2013-05-022-0/+328
|
* change to the Makefile.am, all icons from reproducersJana Fabrikova2013-05-025-2/+364
|
* Introduce PluginPipeMock utility methods.Adam Domurad2013-05-022-57/+179
|
* MethodOverloadResolve array casting testsAdam Domurad2013-05-021-10/+77
|
* Merge with: Fix for portalbank.no (trying get after failed head requests) ↵Jiri Vanek2013-05-021-13/+32
|\ | | | | | | and tests
| * refactoring of AWTHelper (class from AWTFramework)Jana Fabrikova2013-05-021-13/+32
| |
* | Fix for portalbank.no (trying get after failed head requests) and testsJiri Vanek2013-05-026-46/+704
|/
* Renamed cz locales to be more generalJiri Vanek2013-05-022-3/+4
| | | | | netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties renamed to netx/net/sourceforge/jnlp/resources/Messages_cs.properties tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java and tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java adapted to new cz locales filename.
* modifying makefile for awtframework default iconJana Fabrikova2013-05-029-7/+607
|
* Add missing copyright headersAdam Domurad2013-04-303-0/+111
|
* Modularised initialization of AwtHelper and improoved performance of ↵Jiri Vanek2013-04-293-19/+100
| | | | ImageSeeker. Added masking to ImageSeeker