GeodeticObjectFactoryTest changes for revisions 25889:25890

This commit contains a renaming of FactoryGroup class as ReferencingFactoryContainer. This change will not apply to SIS since we plan to avoid that class. The Hints will not be ported neither.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r25889:25890 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/test/java/org/geotools/referencing/FactoriesTest.java
Revision 25889Revision 25890
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import javax.units.NonSI;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.units.NonSI;
import org.opengis.util.ScopedName;

// Geotools dependencies
import org.geotools.referencing.factory.DatumAliases;
import org.geotools.referencing.factory.FactoryGroup;
import org.geotools.referencing.factory.GeotoolsFactory;
import org.geotools.referencing.cs.DefaultCartesianCS;
import org.geotools.referencing.cs.DefaultEllipsoidalCS;
import org.geotools.referencing.datum.DefaultEllipsoid;
import org.opengis.util.ScopedName;

// Geotools dependencies
import org.geotools.factory.Hints;
import org.geotools.referencing.factory.DatumAliases;
import org.geotools.referencing.factory.FactoryGroup;
import org.geotools.referencing.factory.GeotoolsFactory;
import org.geotools.referencing.factory.ReferencingFactoryContainer;
import org.geotools.referencing.cs.DefaultCartesianCS;
import org.geotools.referencing.cs.DefaultEllipsoidalCS;
import org.geotools.referencing.datum.DefaultEllipsoid;
out.println(cartCS); // No WKT for coordinate systems

final ProjectedCRS projCRS;
projCRS = new FactoryGroup(datumFactory, csFactory, crsFactory, mtFactory).
     createProjectedCRS(name("Great_Britian_National_Grid"), geogCRS, null, param, cartCS);
out.println();
out.println("create Coodinate System....9: ");
out.println(projCRS.toWKT());
out.println(cartCS); // No WKT for coordinate systems

final ProjectedCRS projCRS;

Map hints = new HashMap();
hints.put( Hints.DATUM_FACTORY, datumFactory );
hints.put( Hints.CS_FACTORY, csFactory );
hints.put( Hints.CRS_FACTORY, crsFactory );
hints.put( Hints.MATH_TRANSFORM_FACTORY, mtFactory );

ReferencingFactoryContainer container = new ReferencingFactoryContainer( new Hints(hints));
projCRS = container.createProjectedCRS(name("Great_Britian_National_Grid"), geogCRS, null, param, cartCS);

out.println();
out.println("create Coodinate System....9: ");
out.println(projCRS.toWKT());