AUTO doesn't work on my Macintosh but AUTO2 does work... Something is  
fishy here.  What versions are people using.  I tested with the OSX  
Java 5.

Jesse

On May 7, 2007, at 9:24 PM, Jody Garnett wrote:

> Changing the test case to confirm the presense of AUTO (rather than
> AUTO2) seems to work in all cases (and all machines). I am not sure  
> why
> "AUTO2" no longer registers? But I can confirm that the factory we are
> trying to check is around (the same factory acts for both AUTO and  
> AUTO2
> as far as I know?).
>
> Here is the test case:
>>     public void testAuthorityCodes() throws FactoryException {
>>         final CRSAuthorityFactory all  =  
>> AllAuthoritiesFactory.DEFAULT;
>>         final Collection codes =
>> all.getAuthorityCodes(CoordinateReferenceSystem.class);
>>         assertFalse(codes.isEmpty());
>>         assertTrue(codes.contains("CRS:84"));
>>         assertTrue(codes.contains("AUTO:42001"));
>>         //assertTrue(codes.contains("AUTO2:42001"));
>>     }
> Jody
>
>> Very odd ... looking at the unit test in question it is a check to
>> ensure that "AUTO2" is found.
>>
>> Cheers,
>> Jody
>>
>>
>>> Hi Martin - I have been able to verify the error on one machine:
>>>
>>> Windows Vista, Maven 2.0.5, Java 6:
>>>
>>>
>>>> C:\java\geotools\trunk\modules\library\referencing\target 
>>>> \surefire-reports>more
>>>> org.geotools.referencing.factory.AllAuthoritiesFactoryTest.txt
>>>> ------------------------------------------------------------------- 
>>>> ------------
>>>> Test set:  
>>>> org.geotools.referencing.factory.AllAuthoritiesFactoryTest
>>>> ------------------------------------------------------------------- 
>>>> ------------
>>>> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 0.032
>>>> sec <<< FAILURE!
>>>> testAuthorityCodes 
>>>> (org.geotools.referencing.factory.AllAuthoritiesFactoryTest)
>>>> Time elapsed: 0.016 sec  <<< FAILURE!  
>>>> junit.framework.AssertionFailedError
>>>>         at junit.framework.Assert.fail(Assert.java:47)
>>>>         at junit.framework.Assert.assertTrue(Assert.java:20)
>>>>         at junit.framework.Assert.assertTrue(Assert.java:27)
>>>>         at
>>>> org.geotools.referencing.factory.AllAuthoritiesFactoryTest.testAuth 
>>>> orityCodes(AllAuthoritiesFactoryTest.java:83)
>>>>
>>>>
>>> And I have one machine where the error does not occur:
>>>
>>> Windows XP, Maven 2.0.5, Java 5
>>>
>>> Cheers,
>>> Jody
>>>
>>>
>>>> Graham Davis a écrit :
>>>>
>>>>
>>>>> Running org.geotools.referencing.factory.AllAuthoritiesFactoryTest
>>>>> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.031
>>>>> sec <<< FAILURE!
>>>>>
>>>>>
>>>>>
>>>> Any stack trace? Which Maven / JDK version are you using? I have  
>>>> run "mvn
>>>> install" many time today with JDK 1.4 without any problem.
>>>>
>>>>    Martin
>>>>
>>>> ------------------------------------------------------------------- 
>>>> ------
>>>> This SF.net email is sponsored by DB2 Express
>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>> control of your XML. No limits. Just data. Click to get it now.
>>>> http://sourceforge.net/powerbar/db2/
>>>> _______________________________________________
>>>> Geotools-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>>
>>>>
>>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Geotools-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>
>>>
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Geotools-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to