CommonAuthorityFactoryTest changes for revisions 11005:11096

The test added by this commit will not be ported to SIS. Replaced by GIGS tests.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r11005:11096 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/test/java/org/geotools/referencing/factory/wms/CRSTest.java
Revision 11096
/*
 * Geotools 2 - OpenSource mapping toolkit
 * (C) 2004, Geotools Project Managment Committee (PMC)
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2.1 of the License, or (at your option) any later version.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package org.geotools.referencing.crs;

import junit.framework.TestCase;

import org.geotools.referencing.CRS;
import org.opengis.referencing.crs.CoordinateReferenceSystem;

/**
 * Ensure that FactoryFinder can cope.
 *
 * @author Jody Garnett
 * @since 2.1.M3
 * @version 2.1.M3
 */
public class AUTOTest extends TestCase {
    AUTOCRSAuthorityFactory factory;
    /*
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        factory = new AUTOCRSAuthorityFactory();
    }
    /** UDIG requires this to work */
    public void test42001() throws Exception {
        CoordinateReferenceSystem utm =
            (CoordinateReferenceSystem) factory.createObject("AUTO:42001,0.0,0.0");
        assertNotNull( "auto-utm", utm );
    }
}