aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/net
Commit message (Collapse)AuthorAgeFilesLines
* JNLPClassLoader unit tests for file leaksAdam Domurad2013-04-231-0/+263
|
* 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
|
* 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.
* 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
|
* PR909: Unit test fixSaad Mohammad2012-12-201-5/+7
|
* Added and applied Remote annotation, added Remote tests.Jiri Vanek2012-12-201-0/+9
|
* Cleaned unit-tests in ↵Jiri Vanek2012-12-181-106/+80
| | | | tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
* Unit tests for PR1189Saad Mohammad2012-12-101-0/+20
|
* Remove redundant HTML-tag scanner from ITW. Do not reconstruct tags.Adam Domurad2012-12-042-23/+144
|
* Unit tests for PR1166Saad Mohammad2012-11-133-1/+286
|
* PR1186: System.getProperty("deployment.user.security.trusted.cacerts") is nullOmair Majid2012-10-291-0/+72
| | | | | Copy deployment configration read into system properties so it is visibile to target programs.
* Fix regression with trivially signed (eg, just META-INF/) jarsAdam Domurad2012-10-191-2/+2
|
* Major rework of JarCertVerifier certificate management.Danesh Dadachanji2012-10-221-2/+468
| | | | | | This is a long-planned rework of JarCertVerifier, allowing it to handle multiple certificates. The algorithms used to verify jars with multiple certificates vary between JNLPs and Applets.
* Fixed long term failing unit-test, fixed NPE from ClassLoaderJiri Vanek2012-08-271-33/+178
| | | | | | | | | | | | | | | * netx/net/sourceforge/jnlp/NullJnlpFileException.java: new class to distinguish plain NPE from null jnlp file. * netx/net/sourceforge/jnlp/SecurityDesc.java: (getSandBoxPermissions) added throw of NullJnlpFileException in case of null jnlp file. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (findClass) added Override annotation, add catch of NullJnlpFileException and re-throw of CNF exception. * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java: (testResourceLoadSuccessCaching) (testResourceLoadFailureCaching) (testParentClassLoaderIsAskedForClasses) - internal JNLPFile's (getSecurity) null in SecurityDesc constructorrepalced by this. (testNullFileSecurityDesc) new test to ensure NPE in null JNLPFile case.
* Added forgotten license headerAdam Domurad2012-08-141-0/+37
|
* Unit test for JCV.isMetaInfFile()Adam Domurad2012-08-141-0/+17
|
* Added splashscreen implementationJiri Vanek2012-08-1320-0/+3394
|
* Fix PR955: regression: SweetHome3D fails to runDanesh Dadachanji2012-08-082-0/+1464
|
* Fix JNLPMatcherTest timeout from being too restrictive.Danesh Dadachanji2012-08-011-1/+1
|
* Fix problem in resolving classesOmair Majid2012-06-281-1/+47
| | | | | | | | | | | | | | | | | The bug manifests when the following sequence of steps happen: 1. An applet with both a codebase and a jar (archive) is loaded 2. A class Foo is loaded using the codebase classloader 3. The Foo class tries to load a class Bar that is specified in the jar archive. The Bar class is not found. The following applet reproduces the problem: http://javadjvu.foxtrottechnologies.com/cgi-bin/djvuapplet.pl/examples/deer.djvu?zoom=page The fix addresses the problem by ensuring that the codebase classloader asks the classloader that knows about the jar archive to resolve classes too.
* rewritten deadlock testJiri Vanek2012-06-191-0/+2
|
* Added KnownToFail annotationJiri Vanek2012-06-053-0/+11
|
* Handle absolute paths passed into jnlp_href's value.Danesh Dadachanji2012-06-041-0/+99
|
* Get rid of repeated sout/serr in reproducers testcases/unit tests and ↵Jiri Vanek2012-05-283-7/+10
| | | | introduce bottleneck for loging.
* More tests for Spaces and characters in urlsJiri Vanek2012-05-182-0/+153
|
* 2012-05-14 Jiri Vanek <[email protected]>Jiri Vanek2012-05-162-5/+5
| | | | | | | | * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java: * tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: System.out replaced with System.err + fixed tabs in previous changelog
* Reduce no. of loads of the cache index fileThomas Meyer2012-05-112-0/+304
|
* PR918: java applet windows uses a low resulution black/white iconOmair Majid2012-04-191-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-04-19 Omair Majid <[email protected]> * NEWS: Update with fix. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon. (initialize): Do not call loadWindowIcon. (getWindowIcon): Remove. (setWindowIcon): Remove. (loadWindowIcon): Remove. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkTopLevelWindow): Do not set the icon for all top level windows. Use the default java icon instead. * netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides access to icons. * netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen), * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java (getListener), * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java (AdvancedProxySettingsDialog), * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer), * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel), * netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog), * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java (CertificateViewer), * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show), * plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize): Explicitly load icons. * tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test for ImageResources class.
* PR898: signed applications with big jnlp-file doesn't startOmair Majid2012-03-221-3/+36
| | | | | | JNLPMatcher was using PipedInputStream and PipedOutputStream without threads which was deadlocking on large files. Use ByteArrayOutputStream instead to avoid this.
* Fix unit test missing title and vendor tags in JNLP stream.Danesh Dadachanji2012-03-191-1/+2
|
* PR895: IcedTea-Web searches for missing classes on each loadClass or findClassDeepak Bhole2012-03-141-0/+142
|
* Launch errors are not being printed to terminalOmair Majid2012-03-142-0/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-14 Omair Majid <[email protected]> Print exceptions to terminal when running in gui mode too. * netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file. * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend AbstractLaunchHandler. (DefaultLaunchHandler): New method. (printMessage): Moved to parent class. * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend AbstractLaunchHandler. (GuiLauchHandler): New method. (launchError): Print the error too. (launchWarning,validationError): Call parent's printMessage. * netx/net/sourceforge/jnlp/LaunchException.java: Use standard java exception chaining. This removes compatibility with pre-java 1.3 class libraries. (LaunchException(JNLPFile,Exception,String,String,String,String)): Pass cause to parent so exceptions are chanined properly. (LaunchException(String,Throwable),LaunchException(Throwable)): Call parent's constructor. (printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause): Removed. Use parent's implementation instead. (getCauses): Removed. * netx/net/sourceforge/jnlp/LaunchHandler.java (validationError): Rename argument to clarify meaing. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Redirect output of all handlers to System.err. * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java (PluginAppletSecurityContext): Likewise. * tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java, * tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New file. Contains tests.
* Update JNLPs of tests to include required information/title/vendor tags.Danesh Dadachanji2012-03-121-0/+4
|
* sun.misc.BASE64Encoder replaced by internal implementationJiri Vanek2011-10-171-0/+128
|
* Add tests for CDATA sectionsOmair Majid2011-09-213-4/+101
|
* 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)
* 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-314-0/+514
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.