public void DisableExecutionSucceeds() { runtime_.DisableExecution(); Assert.Succeeded(); // Got past DisableExecution thrown; see RuntimeBaseTests.DisableExecutionResultsInException engine_.EvaluateScriptText(@"(function() {})();"); }
public void DisableExecutionSucceeds() { runtime_.DisableExecution(); Assert.IsTrue(true); // Got past DisableExecution thrown; see RuntimeBaseTests.DisableExecutionResultsInException // UNDONE: original test checked for COMException, is Exception OK? TestHelper.ExpectedException <Exception>(() => { engine_.EvaluateScriptText(@"(function() {})();"); }); }
public void DisableExecutionResultsInException() { runtime_.DisableExecution(); }
public void DisableExecutionResultsInException() { TestHelper.ExpectedException <COMException>(() => runtime_.DisableExecution()); }