Azavea.NijPredictivePolicing.Test.IntegrationTests.FullImportTest C# (CSharp) Method

FullImportTest() private method

private FullImportTest ( ) : void
return void
        public void FullImportTest()
        {
            var myVariablesStr = @"
            B01001001,TOTALPOP
            B01001002,TOTALMALE
            B01001026,TOTALFEMALE
            ";
            File.WriteAllText("myVariablesFile.txt", myVariablesStr);

            var args = new string[] {
                "-s",
                "Wyoming",
                "-e",
                "150",
                "-v",
                "myVariablesFile.txt",
                "-jobName",
                "Test01",
                "–exportToShape"
            };

            _log.Debug("Starting Sample Import / Export");
            Program.Main(args);

            Assert.IsTrue(File.Exists("Test01.shp"), "Shapefile not generated!");
        }
IntegrationTests