Hi all,
I've added a global variable and a maven profile to avoid window popups during 
the build
by default, but allow them to be seen on user choice.

Setting the org.geotools.test.interactive system variable to true when 
launching a single test,
it will show popup windows (-Dorg.geotools.test.interactive=true).

Also, enabling the tests.interactive profile during the maven build will 
provide the same effect
(starting maven with -Dorg.geotools.test.interactive=true on the command line 
won't work
because tests do run in a separate VM). Use "mvn -Ptests.interactive install" 
instead.

I mimicked what we already have for extensive tests, and moved the checks to 
the TestData class
in main from the old location in the TestData class in sample-data (which 
extends the previous one)
because most tests do use for former and do not depend on sample-data so far.

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to