Ejemplo n.º 1
0
        public void TestInitializeFailed()
        {
            var reader = new FgdbDatasetReader();

            reader.SetSetting("GDB_PATH", "Path that does not exists");
            (new Action(reader.Initialize)).Should().Throw();
        }
Ejemplo n.º 2
0
        public void TestLoadDataWithoutInitializing()
        {
            var reader = new FgdbDatasetReader();

            (new Action(() => reader.ReadFeatureSet("\\GeoSource\\PolygonSample").GetFeatures().Count())).Should().Throw();
        }