Andrea Aime wrote: > Justin Deoliveira ha scritto: >> >>> >>> Ok, so in this case you'd have to create a temporary class with >>> a main to start the component, instead of adding it to the >>> component under test itself. >> I think I am missing something. I was thinking just add the class with >> the main method into svn and then perhaps just comment out the call to >> WicketTestApplication.start() ? Apologies if I am mis understanding. > > In order to do that the testing classes I provided earlier should > be in the component classpath, not vice-versa (the Eclipse module > containing the component won't see the testing classes otherwise). I still don't quite understand. So the component being tested (or the module containing the component being tested) needs to be be able to see the test classes you provided? Ie needs to depend on them? I admit I did not look at the them, just the code snippet you provided.
Anyways, instead of continuing to annoy you with questions I will put aside some time to actually look at the classes you provided. Then hopefully it will make sense. > >>> On the bright side, that would help reminding people of getting rid of >>> that test code before committing. >> We could add an svn:ignore that would prevent any commits? > > Could be a way, yeah. > > Cheers > Andrea > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
