public void CanImplicitlyConvertToString() { var testCase = new TestCase(@"..\..\Scripts\TestFile1.js", "function1"); String script = testCase; Assert.Equal(testCase.ToScriptFragment(), script); }
internal JavaScriptFact(TestCase testCase) : base(testCase.TestFile, testCase.TestFunction) { }
public String RunTest(TestCase testCase, String setup, String teardown) { Verify.NotNull(testCase, "testCase"); return RunTest(testCase.ToScriptFragment(), setup, teardown); }
public String RunTest(TestCase testCase) { return RunTest(testCase, NoAction, NoAction); }