public void GetResponseFileCmdArgs_Deny_FileIO() { CodeCompilerTest cc = new CodeCompilerTest(); try { cc._GetResponseFileCmdArgs(new CompilerParameters(), String.Empty); } catch (NotImplementedException) { Assert.Ignore("GetResponseFileCmdArgs not implemented"); } }
public void GetResponseFileCmdArgs_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); try { Assert.IsNotNull(cc._GetResponseFileCmdArgs(new CompilerParameters(), String.Empty)); } catch (NotImplementedException) { // mono } }
[Category("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromSourceBatch_Deny_Environment() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromSourceBatch(new CompilerParameters(), new string[] { String.Empty }); }
[Category("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromSource_Deny_Environment() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromSource(new CompilerParameters(), String.Empty); }
public void FromSource_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromSource(new CompilerParameters(), String.Empty); }
[Category("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromFile_Deny_Environment() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromFile(new CompilerParameters(), filename); }
[Category("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromDomBatch_Deny_Environment() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDomBatch(new CompilerParameters(), new CodeCompileUnit[] { new CodeCompileUnit() }); }
public void FromDomBatch_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDomBatch(new CompilerParameters(), new CodeCompileUnit[] { new CodeCompileUnit() }); }
public void FromDom_Deny_UnmanagedCode() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDom(new CompilerParameters(), new CodeCompileUnit()); }
[Category ("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromFile_Deny_Environment () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromFile (new CompilerParameters (), filename); }
public void FromFile_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromFile (new CompilerParameters (), filename); }
[Category ("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromDomBatch_Deny_Environment () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDomBatch (new CompilerParameters (), new CodeCompileUnit[] { new CodeCompileUnit () }); }
public void FromDomBatch_Deny_UnmanagedCode () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDomBatch (new CompilerParameters (), new CodeCompileUnit[] { new CodeCompileUnit () }); }
public void FromDomBatch_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDomBatch (new CompilerParameters (), new CodeCompileUnit[] { new CodeCompileUnit () }); }
[Category ("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromDom_Deny_Environment () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDom (new CompilerParameters (), new CodeCompileUnit ()); }
public void FromDom_Deny_UnmanagedCode () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDom (new CompilerParameters (), new CodeCompileUnit ()); }
public void FromFileBatch_Deny_FileIO () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromFileBatch (new CompilerParameters (), new string[] { String.Empty }); }
[Category("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromDom_Deny_Environment() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDom(new CompilerParameters(), new CodeCompileUnit()); }
public void FromSource_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromSource (new CompilerParameters (), String.Empty); }
public void FromDomBatch_Deny_UnmanagedCode() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDomBatch(new CompilerParameters(), new CodeCompileUnit[] { new CodeCompileUnit() }); }
public void FromSource_Deny_UnmanagedCode () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromSource (new CompilerParameters (), String.Empty); }
public void FromFile_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromFile(new CompilerParameters(), filename); }
[Category ("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromSource_Deny_Environment () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromSource (new CompilerParameters (), String.Empty); }
public void FromFileBatch_Deny_FileIO() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromFileBatch(new CompilerParameters(), new string[] { String.Empty }); }
public void FromSourceBatch_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromSourceBatch (new CompilerParameters (), new string[] { String.Empty }); }
public void FromSource_Deny_UnmanagedCode() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromSource(new CompilerParameters(), String.Empty); }
[Category ("NotDotNet")] // MS doesn't check for Environment under 1.x #endif public void FromSourceBatch_Deny_Environment () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromSourceBatch (new CompilerParameters (), new string[] { String.Empty }); }
public void FromSourceBatch_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromSourceBatch(new CompilerParameters(), new string[] { String.Empty }); }
public void GetResponseFileCmdArgs_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); try { Assert.IsNotNull (cc._GetResponseFileCmdArgs (new CompilerParameters (), String.Empty)); } catch (NotImplementedException) { // mono } }
public void GetResponseFileCmdArgs_Deny_FileIO () { CodeCompilerTest cc = new CodeCompilerTest (); try { cc._GetResponseFileCmdArgs (new CompilerParameters (), String.Empty); } catch (NotImplementedException) { Assert.Ignore ("GetResponseFileCmdArgs not implemented"); } }
public void FromDom_PermitOnly() { CodeCompilerTest cc = new CodeCompilerTest(); cc._FromDom(new CompilerParameters(), new CodeCompileUnit()); }
public void JoinStringArray() { string[] data = new string[] { "a", "b", "c" }; Assert.AreEqual("\"a\"#\"b\"#\"c\"", CodeCompilerTest._JoinStringArray(data, "#"), "JoinStringArray"); }
public void FromDom_PermitOnly () { CodeCompilerTest cc = new CodeCompilerTest (); cc._FromDom (new CompilerParameters (), new CodeCompileUnit ()); }