public void Test_Method5() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireSaveAsEvent("s"); }
public void Test_Method8() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireSetCellContentEvent("=5+5"); }
public void Test_Method9() { string path = @"..\..\dfs.ss"; SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireOpenEvent(path); }
public void Test_Method7() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireSetCellContentEvent("hello"); stub.FireCloseEvent(); }
public void Test_Method2() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireNewEvent(); Assert.IsTrue(stub.CalledOpenNew); }
public void TestMethod1() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireCloseEvent(); Assert.IsTrue(stub.CalledDoClose); }
public void Test_Method11() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FileName = "file"; stub.FireSetCellContentEvent("text"); stub.FireSaveEvent(); }
public void Test_Method6() { SpreadSheetViewStub stub = new SpreadSheetViewStub(); Controller controller = new Controller(stub); stub.FireArrowKeyEvent("up"); stub.FireArrowKeyEvent("down"); stub.FireArrowKeyEvent("left"); stub.FireArrowKeyEvent("right"); }