On 28 avr, 18:50, "[email protected]" <[email protected]>
wrote:
> Hi.
>
> I apologize if this was already asked before, but i couldn't find
> anything in the archives or in the docs.
>
> I'm using an external javascript library, using JSNI for accessing the
> native javascript from my GWT java code.
>
> I include these libraries in my host page using the <script> tag. My
> question is regarding GWTTestCase(s). It seems that a www-test
> directory gets created with some specific hosted.html page, which i
> guess is the host page being used to run the tests.
>
> How do i make the external javascript library i want to use available
> to the test case?
Reference them in your test module's gwt.xml using a <script />
element (you could do the same in your "non-test" module instead of
including the <script></script> elements in your host page).
This means you should create a test module, if you haven't already,
and adjust the getModuleName return value of you GWTTestCase classes
accordingly.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---