public void SetupFixture()
 {
     if (EnvironmentUtils.Is64BitProcess)
     {
         // Server
         _lic.Checkout();
     }
     else
     {
         // Creating FeataureClasses requires standard
         _lic.Checkout(EsriProduct.ArcEditor);
     }
 }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs =
                TestWorkspaceUtils.CreateInMemoryWorkspace("QaVertexCoincidenceSelfTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _spatialReference = SpatialReferenceUtils.CreateSpatialReference(
                WellKnownHorizontalCS.LV95);
        }
Beispiel #4
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _featureWorkspace = TestWorkspaceUtils.CreateInMemoryWorkspace(
                "EqualFieldValuesConditionTest");
        }
Beispiel #5
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateInMemoryWorkspace(
                "QaNodeLineCoincidenceTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs =
                TestWorkspaceUtils.CreateInMemoryWorkspace("QaMpVertexNotNearFaceTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace(
                "GdbConstraintUtilsTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _spatialReference = CreateLV95();
            _featureWorkspace = TestWorkspaceUtils.CreateInMemoryWorkspace(
                "QaEdgeMatchCrossingAreasTest");
        }
Beispiel #9
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _largeData = GetMultiPatch(50000);

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace("TestMultipatchUtils");
        }
Beispiel #10
0
        public void SetupFixture()
        {
            // TestEnvironment.ConfigureLogging();
            _msg.IsVerboseDebugEnabled = true;

            _lic.Checkout();
            _simpleGdbPath = TestData.GetGdb1Path();
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _spatialReference = CreateLV95();
            _testWs           = TestWorkspaceUtils.CreateInMemoryWorkspace(
                "QaRegularExpressionTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestAccessWorkspace("QaGroupConstraintsTest");
            _fgdbWs =
                TestWorkspaceUtils.CreateTestFgdbWorkspace("QaGroupConstraintsTest");
        }
Beispiel #13
0
        public void SetupFixture()
        {
            _lic.Checkout();

            const string databaseName = "TestUnique";

            _pgdbWorkspace = TestWorkspaceUtils.CreateTestAccessWorkspace(databaseName);
            _fgdbWorkspace = TestWorkspaceUtils.CreateTestFgdbWorkspace(databaseName);
        }
Beispiel #14
0
        public void SetupFixture()
        {
            TestUtils.ConfigureUnittestLogging();

            _msg.IsVerboseDebugEnabled = true;

            _lic.Checkout();
            _simpleGdbPath = TestData.GetGdb1Path();
        }
Beispiel #15
0
        private static bool CheckoutLicense()
        {
            ArcGISLicenses lic = new ArcGISLicenses();

            lic.Checkout();

            _msg.Debug("Successfully checked out ArcGIS license.");

            return(true);
        }
Beispiel #16
0
        public void SetupFixture()
        {
            TestUtils.ConfigureUnittestLogging();

            _msg.IsVerboseDebugEnabled = true;

            _lic.Checkout();

            _nonDefaultRepositoryName = "TOPGIS_DDX";
            _dbName = TestUtils.OracleDbNameSde;
        }
Beispiel #17
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _spatialReference =
                SpatialReferenceUtils.CreateSpatialReference(
                    (int)esriSRProjCS2Type.esriSRProjCS_CH1903Plus_LV95,
                    (int)esriSRVerticalCSType.esriSRVertCS_Landeshohennetz1995);
            SpatialReferenceUtils.SetXYDomain(_spatialReference,
                                              -100, -100, 1000, 1000,
                                              0.0001, 0.001);
            SpatialReferenceUtils.SetZDomain(_spatialReference,
                                             -100, 5000,
                                             0.0001, 0.001);
        }
 public void SetupFixture()
 {
     _lic.Checkout();
 }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace("QaMeasuresAtPointsTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace("TestZRange");
        }
Beispiel #21
0
 public void TestFixtureSetUp()
 {
     _lic.Checkout();
 }
Beispiel #22
0
        public void SetupFixture()
        {
            TestUtils.ConfigureUnittestLogging();

            _lic.Checkout();
        }
Beispiel #23
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _workspace = TestWorkspaceUtils.CreateTestFgdbWorkspace("QaForeignKeyTest");
        }
Beispiel #24
0
 public void SetupFixture()
 {
     _lic.Checkout(EsriProduct.ArcEditor);
 }
Beispiel #25
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateInMemoryWorkspace("QaMustBeNearOtherTest");
        }
Beispiel #26
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _workspace = TestWorkspaceUtils.CreateTestFgdbWorkspace(GetType().Name);
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            CreateSpatialReferences();
        }
Beispiel #28
0
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace("QaPointOnLineTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateTestFgdbWorkspace("QaDuplicateGeometrySelfTest");
        }
        public void SetupFixture()
        {
            _lic.Checkout();

            _testWs = TestWorkspaceUtils.CreateInMemoryWorkspace("QaMinSegAngleTest");
        }