コード例 #1
0
        public void StartProcess_ToolPathAsGetToolPathViaManualInstallation()
        {
            var settings = new SomeSettings(new PlatformOptions());
            var process  = ProcessHelper.StartProcess(settings);

            Assert.NotNull(process);
            process.Close();
        }
コード例 #2
0
        public void StartProcess_ToolPathAsBaseProcessesPath()
        {
            var settings = new SomeSettings(new PlatformOptions {
                ProcessesPath = "c:\\wkhtmltopdf"
            });
            var process = ProcessHelper.StartProcess(settings);

            Assert.NotNull(process);
            process.Close();
        }