Ejemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldAddToSpatialIndexWithModifiedSettings() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void ShouldAddToSpatialIndexWithModifiedSettings()
        {
            // given
            SpatialIndexProvider provider = NewSpatialIndexProvider(_config2);

            AddUpdates(provider, _schemaIndexDescriptor2, _layoutUtil2);

            // then
            VerifySpatialSettings(IndexFile(_indexId2), _configuredSettings2.forCRS(_crs));
        }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldAddToSpatialIndexWithDefaults() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void ShouldAddToSpatialIndexWithDefaults()
        {
            // given
            SpatialIndexProvider provider = NewSpatialIndexProvider(_config1);

            AddUpdates(provider, _schemaIndexDescriptor1, _layoutUtil1);

            // then
            VerifySpatialSettings(IndexFile(_indexId1), _configuredSettings1.forCRS(_crs));
        }