google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

unable to test modules with no entry point #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I create a module with no host page, the framework dies with a "Cannot find 
the actual HTML host page..." type message.

You'd run into this in library-type modules or in pages hosted dynamic pages 
outside the module.

If you cannot find the host page, you should bootstrap with a blank document.

Encountered in gwt-test-utils-0.28 with gwt 2.2

In gwt-test-utils-0.29 with gwt 2.3, the same error seems to turn into a class 
not found error wrt Document.

Original issue reported on code.google.com by tbp...@gmail.com on 22 Jun 2011 at 12:32

GoogleCodeExporter commented 9 years ago
I will fix this by providing a default HTML element for Document.get() when no 
HTML hostpage is specified.

A warning will still be thrown with the old "Cannot find the actual HTML host 
page" so user would remember to override the GwtTest.getHostPagePath(..) method 
when necessary.

Original comment by gael.laz...@gmail.com on 22 Jun 2011 at 9:39

GoogleCodeExporter commented 9 years ago
I just deploy new snapshots with a fix for this.

Can you give it a try and give me some feedback so I could close the issue ?

Use 0.31-SNAPSHOT for GWT 2.3.0 or 0.28.5-SNAPSHOT for GWT 2.2.0

Thanks !

Original comment by gael.laz...@gmail.com on 22 Jun 2011 at 10:43

GoogleCodeExporter commented 9 years ago
That did it, thanks!

Original comment by tbp...@gmail.com on 23 Jun 2011 at 11:33

GoogleCodeExporter commented 9 years ago
great ! I'm closing the issue :-)

Original comment by gael.laz...@gmail.com on 24 Jun 2011 at 4:33