[rfc - concept][icedtea-web] plugin tests

Deepak Bhole dbhole at redhat.com
Thu Mar 1 12:27:19 PST 2012


* Jiri Vanek <jvanek at redhat.com> [2012-02-13 11:09]:
> Hi all!
> 
> I think, that I can use current reproducers approach to test applets.
> Current approch simple/signed src/resource/testcase and testing server with examination of stdin/out can and will be reused without any modification

This won't catch certain issues, like drawing issues for example, or
keyboard input related issues.

> Instead of jnlp files from resources will be used html file and instead of javaws will be used eg firefox (can use more testing browsers for testing, but can be hard to maintaining tests to all three mayor browsers). And I will always kill the browser before next test.

I think then we will miss certain issues, since the VM is shared. The
browser kill should be optional.

> On the other side I'm afraid I will lost advantage of -headless approach. And I'm not sure  if I will be able to use awt robot (as I have failed once already, but some screen-capture approach will be possible for sure). But at least lunching of graphical apps  must be solved, as firefox will always have gui! :)
> Also I will lost possibility to run plain cron job , But I remeber that "gui" tasks can be run via cron too.

Yes, you can use something like Xvfb and run it via cron.

> And it will be necessary to add code coverage for plugin.jar :) [some-when :D ]
> 

Agreed! :)

Thanks for taking this initiative!

Cheers,
Deepak



More information about the distro-pkg-dev mailing list