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). >> 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 -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ 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
