Exemplo n.º 1
0
        public void TestPyqgisLauncher()
        {
            AssertCustom.IgnoreOnBuildServer();

            var processUtilityResult = QgisRunner.ExecutePyqgisScript(NeptuneWebConfiguration.PathToPyqgisTestScript,
                                                                      NeptuneWebConfiguration.PyqgisWorkingDirectory);

            Assert.That(processUtilityResult.ReturnCode == 0);
        }
Exemplo n.º 2
0
        public void TestProcessing()
        {
            AssertCustom.IgnoreOnBuildServer();

            var processUtilityResult = QgisRunner.ExecutePyqgisScript(
                $"{NeptuneWebConfiguration.PyqgisWorkingDirectory}TestPyqgisProcessing.py",
                @"C:\Windows\System32\");

            Assert.That(processUtilityResult.ReturnCode == 0);
        }