Example #1
0
 public void PrepareAddBodyWithoutReturn()
 {
     RemoteExecuter.Execute("new Action(delegate() { }).Invoke();");
     RemoteExecuter.Execute("if (1==1);");
 }
Example #2
0
 public void PrepareAddBodyWithReturn()
 {
     Assert.IsTrue((int)RemoteExecuter.ExecuteReturn("return 5;") == 5);
 }
Example #3
0
 public void SimpleCompileRunWitouthNamespaceExpectedMissingNamespaceException()
 {
     RemoteExecuter.Execute(iexe);
 }
Example #4
0
 public void SimpleCompileRunOfRetFunc()
 {
     Assert.IsTrue(RemoteExecuter.ExecuteReturn(iexeret) == "potato");
 }
Example #5
0
 public void SimpleCompileRunWithNamespace()
 {
     RemoteExecuter.Execute(iexe, new [] { "System.Media" });
 }