Esempio n. 1
0
 public void PartialTrust_PermitOnly_Environment()
 {
     MonoTests.System.EnvironmentTest et = new MonoTests.System.EnvironmentTest();
     // call most (all but arguments checking) unit tests from EnvironmentTest
     et.ExpandEnvironmentVariables_UnknownVariable();
     et.ExpandEnvironmentVariables_KnownVariable();
     et.ExpandEnvironmentVariables_NotVariable();
     et.ExpandEnvironmentVariables_Alone();
     et.ExpandEnvironmentVariables_End();
     et.ExpandEnvironmentVariables_None();
     et.ExpandEnvironmentVariables_EmptyVariable();
     et.ExpandEnvironmentVariables_Double();
     et.ExpandEnvironmentVariables_ComplexExpandable();
     et.ExpandEnvironmentVariables_ExpandableAndNonExpandable();
     et.ExpandEnvironmentVariables_ExpandableWithTrailingPercent();
     et.ExpandEnvironmentVariables_ComplexExpandable2();
     et.GetEnvironmentVariables();
     et.GetCommandLineArgs();
 }
Esempio n. 2
0
		public void PartialTrust_PermitOnly_Environment ()
		{
			MonoTests.System.EnvironmentTest et = new MonoTests.System.EnvironmentTest ();
			// call most (all but arguments checking) unit tests from EnvironmentTest
			et.ExpandEnvironmentVariables_UnknownVariable ();
			et.ExpandEnvironmentVariables_KnownVariable ();
			et.ExpandEnvironmentVariables_NotVariable ();
			et.ExpandEnvironmentVariables_Alone ();
			et.ExpandEnvironmentVariables_End ();
			et.ExpandEnvironmentVariables_None ();
			et.ExpandEnvironmentVariables_EmptyVariable ();
			et.ExpandEnvironmentVariables_Double ();
			et.ExpandEnvironmentVariables_ComplexExpandable ();
			et.ExpandEnvironmentVariables_ExpandableAndNonExpandable ();
			et.ExpandEnvironmentVariables_ExpandableWithTrailingPercent ();
			et.ExpandEnvironmentVariables_ComplexExpandable2 ();
			et.GetEnvironmentVariables ();
			et.GetCommandLineArgs ();
		}