IcedTea-Web test suite missing fundamental tests

Jiri Vanek jvanek at redhat.com
Tue May 29 08:30:52 PDT 2012


On 05/28/2012 06:35 PM, Danesh Dadachanji wrote:
>
>
> On 28/05/12 12:02 PM, Danesh Dadachanji wrote:
>> Hello team,
>>
>> Jiri and I have been discussing some of the missing testcases in IcedTea-Web and I'd like to
>> summarize them on here. We're missing many
>> tests against the various resource loader mechanisms we have. Here are all the ones we support
>> that are missing tests:
>> 1. Nested jars

This case  I would like to left for custom makefiles.

>> 2. Jars specified by classpath entries in jar manifests.
>> 3. Class files stored in dir of the app. [0]

I'm in temptation to add next automaticaly processed directory
we have simple - resutl is deployed unsigned jar; signed result is signed jar. What about classes? 
result will be class file. What baout list? Result will be jars with list.... BUt I'm not sure how 
necessary tehy are. If jsut few of them is necessary then I would rather to have them isn custom 
makefiles.

>
> This should only work applets run by the plugin (without jnlp_href). Thanks to Omair for catching
> this. The fact that this works with webstart/JNLPs is a bug that I am about to file.
>
>> 4. INDEX.LIST specifications. [1]

This should work in same way as manifests are working.

>> 5. JNLP extensions.
>>
>> As far as I can tell, our test engine does not support 1, 3 and 4. I suspect these can be solved
>> once the patch for custom Makefiles[2]
>> is pushed. However I believe Jiri had some thoughts on this.
>>
>> I am working on reproducers for manifest classpaths (pt 2) with my latest patch[3] adjusting this
>> feature. The others are up for grabs. =)
>>
>> Just a note for JNLP extensions, the plugin doesn't support jnlp_href + extensions yet so this
>> case can be skipped for now.
>>
>> If anyone can think of others, please mention them!
>>
   Thanx for summary!

    J.
>>
>> [0] For example, http://localhost/my_app.jnlp runs an app that references
>> some.package.MyClass.printSomething(), this can be found in
>> http://localhost/some/package/MyClass.class
>
> This can be http://localhost/my_app.html which has an applet tag without jnlp_href.
>
>> [1] http://docs.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#JARIndex
>> [2] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-May/018765.html
>> [3] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-May/018534.html




More information about the distro-pkg-dev mailing list