public StateMachineViewModel Setup(TestContext testContext) { context = testContext; return(new StateMachineViewModel(() => { QUnit.start(); QUnit.ok(true); context.Dispose(); })); }
public EventViewModel Setup(TestContext context) { testContext = context; context.Element.Attribute("data-bind", "attach: { keydown: OnKeyDown }"); return(new EventViewModel(() => { QUnit.start(); QUnit.ok(true); context.Dispose(); })); }
public void It_should_have_correct_reference() { QUnit.ok(!context.Element.Is(":enabled")); context.Dispose(); }
public void It_should_have_correct_reference() { context.Element.Click(); QUnit.ok(model.Success); context.Dispose(); }