Re: GWTTest case mapping URI to file for testing

2010-12-01 Thread Raphael André Bauer
On Mon, Nov 29, 2010 at 3:54 PM, ep eplisc...@googlemail.com wrote: have you registered a servlet in your GWT module? servlet class=yourServletClass path=/test.json/ Hi ep, you were totally right. I was confused with web.xml and the servlets defined in the gwt.xml module. The other

GWTTest case mapping URI to file for testing

2010-11-29 Thread Raphael André Bauer
Hi folks, I want to write a GWTTestcase that fetches a file from the server. My setup is maven + headless htmlunit for integration testing (target integration-test). Say I got a json file (named test.json I want to read from the server in directory root. Where do I have to put my json file in

Re: GWTTest case mapping URI to file for testing

2010-11-29 Thread ep
have you registered a servlet in your GWT module? servlet class=yourServletClass path=/test.json/ On 29 Nov., 14:54, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi folks, I want to write a GWTTestcase that fetches a file from the server. My setup is maven + headless htmlunit for

Re: GWTTest case mapping URI to file for testing

2010-11-29 Thread Raphael André Bauer
On Mon, Nov 29, 2010 at 2:54 PM, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi folks, I want to write a GWTTestcase that fetches a file from the server. My setup is maven + headless htmlunit for integration testing (target integration-test). Say I got a json file (named

Re: GWTTest case mapping URI to file for testing

2010-11-29 Thread Raphael André Bauer
On Mon, Nov 29, 2010 at 3:54 PM, ep eplisc...@googlemail.com wrote: have you registered a servlet in your GWT module? servlet class=yourServletClass path=/test.json/ thanks for that hint... However - are you sure it still works?