Inheritance: ScriptElement
Esempio n. 1
0
        public void CanImplicitlyConvertToString()
        {
            var testCase = new TestCase(@"..\..\Scripts\TestFile1.js", "function1");

            String script = testCase;

            Assert.Equal(testCase.ToScriptFragment(), script);
        }
Esempio n. 2
0
 internal JavaScriptFact(TestCase testCase)
     : base(testCase.TestFile, testCase.TestFunction)
 { }
Esempio n. 3
0
        public String RunTest(TestCase testCase, String setup, String teardown)
        {
            Verify.NotNull(testCase, "testCase");

            return RunTest(testCase.ToScriptFragment(), setup, teardown);
        }
Esempio n. 4
0
 public String RunTest(TestCase testCase)
 {
     return RunTest(testCase, NoAction, NoAction);
 }