public virtual void GhostScriptEnvVarIsExplicitlySpecified() { String gsExec = SystemUtil.GetEnvironmentVariable(GhostscriptHelper.GHOSTSCRIPT_ENVIRONMENT_VARIABLE); if (gsExec == null) { gsExec = SystemUtil.GetEnvironmentVariable(GhostscriptHelper.GHOSTSCRIPT_ENVIRONMENT_VARIABLE_LEGACY); } GhostscriptHelper ghostscriptHelper = new GhostscriptHelper(gsExec); NUnit.Framework.Assert.IsNotNull(ghostscriptHelper.GetCliExecutionCommand()); }
public virtual void GhostScriptEnvVarIsNull() { GhostscriptHelper ghostscriptHelper = new GhostscriptHelper(null); NUnit.Framework.Assert.IsNotNull(ghostscriptHelper.GetCliExecutionCommand()); }