CommonAuthorityFactoryTest changes for revisions 24867:25050

The only change in this commit is to rename FactoryFinder as ReferencingFactoryFinder. However this change does not apply to SIS since we do not plan to port [Referencing]FactoryFinder. The plan is to replace them by some dependency injection mechanism.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r24867:25050 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/test/java/org/geotools/referencing/factory/wms/CRSTest.java
Revision 24867Revision 25050
// Geotools dependencies
import org.geotools.referencing.CRS;
import org.geotools.resources.Arguments;
import org.geotools.referencing.FactoryFinder;
import org.geotools.referencing.crs.DefaultGeographicCRS;
import org.geotools.referencing.factory.AbstractAuthorityFactory;
// Geotools dependencies
import org.geotools.referencing.CRS;
import org.geotools.resources.Arguments;
import org.geotools.referencing.ReferencingFactoryFinder;
import org.geotools.referencing.crs.DefaultGeographicCRS;
import org.geotools.referencing.factory.AbstractAuthorityFactory;
}

/**
 * Tests the registration in {@link FactoryFinder}.
 */
public void testFactoryFinder() {
    final Collection authorities = FactoryFinder.getAuthorityNames();
    assertTrue(authorities.contains("CRS"));
    factory = FactoryFinder.getCRSAuthorityFactory("CRS", null);
    assertTrue(factory instanceof WebCRSFactory);
}
}

/**
 * Tests the registration in {@link ReferencingFactoryFinder}.
 */
public void testFactoryFinder() {
    final Collection authorities = ReferencingFactoryFinder.getAuthorityNames();
    assertTrue(authorities.contains("CRS"));
    factory = ReferencingFactoryFinder.getCRSAuthorityFactory("CRS", null);
    assertTrue(factory instanceof WebCRSFactory);
}