public void FixtureSetUp() { var asmDirectory = new FileInfo(new Uri(typeof(EpsgDataTestBase<,>).Assembly.CodeBase).LocalPath).Directory; var dataFolderDirectory = new DirectoryInfo("../../../data"); var file = dataFolderDirectory.GetFiles("EPSG_v*.mdb").OrderByDescending(x => x.Name).First(); _repository = new DbRepository.EpsgRepository(file); }
public void FixtureSetUp() { var asmDirectory = new FileInfo(new Uri(typeof(EpsgDataTestBase <,>).Assembly.CodeBase).LocalPath).Directory; var dataFolderDirectory = new DirectoryInfo("../../../data"); var file = dataFolderDirectory.GetFiles("EPSG_v*.mdb").OrderByDescending(x => x.Name).First(); _repository = new DbRepository.EpsgRepository(file); }