aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx
Commit message (Collapse)AuthorAgeFilesLines
* Fix for PR1204, handling of query strings and absolute paths.Andrew Azores2013-09-262-2/+91
| | | | | | | | | | | | | | | | | | | | | | | | 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-257-55/+792
|
* 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.
* 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"
* 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.
* 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.
* mergingAndrew Azores2013-09-041-0/+60
|\
| * 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
* | Extracted integer response casting/handling logic in SecurityDialogs to new ↵Andrew Azores2013-09-041-0/+70
|/ | | | method, added test for this method
* Fix and tests for PR974, extension JNLPs unavailable when embedded in HTML ↵Andrew Azores2013-08-151-0/+74
| | | | applet tags
* IcedTea-Web is now following XDG .config and .cache specification(RH947647)Jiri Vanek2013-07-182-2/+3
|
* About dialogue made accessible from pluginJiri Vanek2013-07-171-3/+6
|
* Added tagsup (optional dependence) as sanitizer for (possibly) invalid xml filesJiri Vanek2013-06-217-151/+187
|
* Fix PR1465 - java.io.FileNotFoundException while trying to download a JAR fileAdam Domurad2013-06-052-3/+27
|
* Add NativeLibraryStorageTEstAdam Domurad2013-06-032-74/+204
|
* Extract NativeLibraryStorage class from JNLPClassLoaderAdam Domurad2013-06-031-14/+0
|
* Move inner test class MockedOneJarJNLPFile to top-level DummyJNLPFileWithJarAdam Domurad2013-05-291-51/+7
|
* Introduce PluginPipeMock utility methods.Adam Domurad2013-05-021-57/+48
|
* MethodOverloadResolve array casting testsAdam Domurad2013-05-021-10/+77
|
* Fix for portalbank.no (trying get after failed head requests) and testsJiri Vanek2013-05-024-40/+663
|
* Renamed cz locales to be more generalJiri Vanek2013-05-021-2/+3
| | | | | 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-021-0/+56
|
* Add missing copyright headersAdam Domurad2013-04-303-0/+111
|
* Disabled accidentally enabled reprint of logs during locales testsJiri Vanek2013-04-291-1/+1
|
* Decode local-file URLs lenientlyAdam Domurad2013-04-261-2/+18
|
* Added polish transaltion and tests to itJiri Vanek2013-04-261-2/+3
| | | | Also minor changes to En and De files
* Fixed regressed unittest and "cause", Fixed compilation under jdk6, Silenced ↵Jiri Vanek2013-04-265-132/+137
| | | | unittests
* Add accidentally not included filesAdam Domurad2013-04-251-0/+249
|
* Unit tests for AsyncCall test extensionAdam Domurad2013-04-251-0/+93
|
* Splashscreen now strip commit id from released versionsJiri Vanek2013-04-251-0/+18
|
* Add tests for newly added UrlUtils functionsAdam Domurad2013-04-231-1/+37
|
* Introduce more UrlUtils functions.Adam Domurad2013-04-231-4/+4
|
* JNLPClassLoader unit tests for file leaksAdam Domurad2013-04-231-0/+263
|
* Rewrite of MethodOverloadResolverAdam Domurad2013-04-231-0/+383
|
* Move normalizeUrlAndStripParams to UrlUtilsAdam Domurad2013-03-282-20/+30
|
* Integration of unsigned applet confirmation dialogue.Adam Domurad2013-03-261-0/+59
|
* Path validator fixed to be correctly multiplatformJiri Vanek2013-03-261-0/+133
|
* Revert behaviour of PluginParameterParser#isInt to fail on overflowAdam Domurad2013-03-221-0/+4
|
* UnsignedAppletActionStorageImpl: (isMatching) is now ignring archives if empty.Jiri Vanek2013-03-221-1/+21
|
* Added tests for German i18nJiri Vanek2013-03-131-62/+136
| | | | | | | | * tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java: Enhanced to test also German localization . * tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java: Enhanced to handle de messages and be prepared for locales with one language but different nations
* Added backend and settings for extended applet securityJiri Vanek2013-02-272-0/+346
|
* Add unit tests for locales and locales fixedJiri Vanek2013-01-301-0/+244
| | | | | | | | * netx/net/sourceforge/jnlp/resources/Messages.properties: * netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: Added missing, filled empty and removed dangling items * tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java: New unittest for missing, empty, duplicate or dangling locales.
* Fix for PR1292: Javaws does not resolve versioned jar names with periods ↵Adam Domurad2013-01-301-0/+43
| | | | properly
* Splashscreen error report made more detailed by stored LaunchErrorsJiri Vanek2013-01-301-4/+5
| | | | | | | | | | | | | | | * netx/net/sourceforge/jnlp/LaunchException.java: (LaunchExceptionWithStamp) new inner class for storing timestamp togetehr with error. (launchExceptionChain) new static list to capture LaunchErrors during runtime. * /netx/net/sourceforge/jnlp/resources/Messages.properties: * netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: Added explanation string * netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java: Is now displaying launchExceptionChain in its error report and is copying it to clipboard. * tests/unit/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialogTest.java: (getTextTest) adapted calls of getText for new Date.
* Unit tests for PR1198: JSObject not passed correctly to JavascriptAdam Domurad2013-01-151-0/+185
|
* First part of fix of recreating desktop iconJiri Vanek2013-01-101-0/+188
| | | | Another fix can be addition of buttons like always/never
* Fixed unittest for InformationElementJiri Vanek2013-01-031-1/+1
|
* Fixed unittest for InformationElementJiri Vanek2013-01-021-1/+1
|