Because much of this infrastructure needs an EPSG database around in order to be tested - you cannot test the class right in the gt-referencing module.
Can I recommend adding a test to the gt-epsh-hsql module - since that is a "pure java" implementation which can run your test without needing an external database. -- Jody Garnett On Tue, 16 Jul 2019 at 13:59, Fenil Jain <fenil.j...@int.com> wrote: > Hi, > > I was trying to create patch for first time and I am facing little issues > could anyone guide me through it. > > I needed a guidance regarding creating test data for my test class for > below patch for 19.x branch, > > I have updated below method in AbstractCachedAuthorityFactory > > public createCoordinateReferenceSystem(String code){] > > To test it I was trying to access MS ACCESS from my local system using > "ucanaccess" driver. Is there any other way where i can test this method. > > Thanks in Advance. > > Thanks and Regards, > > *Fenil Jain* > > *Software Developer* > > > > fenil.j...@int.com <fabrice.bu...@int.com> > > INT, Inc. - *Empowering Visualization* > > *Celebrate our 30th anniversary with us!* > > > > On Mon, Jul 15, 2019 at 4:35 PM Fenil Jain <fenil.j...@int.com> wrote: > >> Hi, >> I would like to submit a patch for the issue >> "AbstractCachedAuthorityFactory is improperly caching dissimilar objects >> with the same key" which is still open, >> >> *Issue Description: * >> >> I am trying to export the CRS NAD27 / Michigan South with EPSG code 6202 >> from the latest EPSG database. While doing so I am getting the following >> ClassCastException >> >> java.lang.ClassCastException: >> org.geotools.referencing.datum.DefaultGeodeticDatum cannot be cast to >> >> *Ticket details:* >> https://osgeo-org.atlassian.net/browse/GEOT-4849 >> >> Thanks and Regards, >> >> *Fenil Jain* >> >> *Software Developer* >> >> >> >> fenil.j...@int.com <fabrice.bu...@int.com> >> >> INT, Inc. - *Empowering Visualization* >> >> *Celebrate our 30th anniversary with us!* >> >> >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> >> Virus-free. >> www.avast.com >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> >> <#m_-3284530660733029916_m_-5275300242442808491_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel >
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel