Justin Deoliveira wrote:

>Rob Atkinson wrote:
>  
>
>>Have played some more with this, and the postgis online tests...
>>
>>AbstractPostgisOnlineTestCase  does this...
>>
>>protected void setUp() throws Exception {
>>        super.setUp();
>>        //connect
>>        fixture = PostgisTests.newFixture("fixture.properties");
>>        Map params = PostgisTests.getParams(fixture);
>>
>>which seems to load the local fixture if it is present, regardless of 
>>the fixture properties in ~/.geotools
>>    
>>
>Yes, postgis has not been converted to the new online tests system. 
>Unfortunatley its not a good example for you to base off of for now. I 
>think Cory set up one somewhere. Perhaps he can point us in the right 
>direction.
>  
>
Some notes here (in the pending section):

http://docs.codehaus.org/display/GEOT/5.+7+Testing

In particular, the classes you can trust are:

PostgisOnlineTestCase - Abstract Testcase class which connects to a 
specified database and creates a datastore
PostgisPermissionOnlineTest - Simple online test which makes use of 
PostgisOnlineTestCase

(on trunk)

Cheers,
Cory.

-------------------------------------------------------------------------
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