Lines Matching refs:SCTool
45 import testlib.gui.SCTool;
175 assertEquals("A3 should be =1+3", "4", SCTool.getCellText("A3")); in testRunMacro()
242 SCTool.selectRange("C1"); in testInsertPictureInSpreadsheet()
337 SCTool.selectRange("A1"); in testFindFormulasAndValues()
348 SCTool.selectRange("A1"); in testFindFormulasAndValues()
371 SCTool.selectRange("C5"); in testFillInSpreadsheet()
373 SCTool.selectRange("C5:C10"); in testFillInSpreadsheet()
375 assertArrayEquals("Fill Down:", expected1, SCTool.getCellTexts("C5:C10")); in testFillInSpreadsheet()
377 SCTool.selectRange("D10"); in testFillInSpreadsheet()
379 SCTool.selectRange("D5:D10"); in testFillInSpreadsheet()
381 assertArrayEquals("Fill Up:", expected2, SCTool.getCellTexts("D5:D10")); in testFillInSpreadsheet()
383 SCTool.selectRange("A1"); in testFillInSpreadsheet()
385 SCTool.selectRange("A1:D1"); in testFillInSpreadsheet()
387 assertArrayEquals("Fill Right:", expected3, SCTool.getCellTexts("A1:D1")); in testFillInSpreadsheet()
389 SCTool.selectRange("D2"); in testFillInSpreadsheet()
391 SCTool.selectRange("A2:D2"); in testFillInSpreadsheet()
393 assertArrayEquals("Fill left:", expected4, SCTool.getCellTexts("A2:D2")); in testFillInSpreadsheet()
395 SCTool.selectRange("E1"); in testFillInSpreadsheet()
398 SCTool.selectRange("E1:F5"); in testFillInSpreadsheet()
402 assertArrayEquals("Fill series..", expected5, SCTool.getCellTexts("E1:F5")); in testFillInSpreadsheet()
426 SCTool.selectRange("A1:A10"); in testSort()
432 assertArrayEquals("Sorted Data", expected1, SCTool.getCellTexts("A1:A10")); in testSort()
433 SCTool.selectRange("B1:C10"); in testSort()
454 assertArrayEquals("Sorted Data", expected2, SCTool.getCellTexts("B1:C10")); in testSort()
455 SCTool.selectRange("D1:D7"); in testSort()
464 assertArrayEquals("Sorted Data", expected3, SCTool.getCellTexts("D1:D7")); in testSort()
466 SCTool.selectRange("E1:E10"); in testSort()
471 assertArrayEquals("Sorted Data", expected4, SCTool.getCellTexts("E1:E10")); in testSort()
645 SCTool.selectRange("A1"); in testSumInFormulaBar()
647 SCTool.selectRange("B1"); in testSumInFormulaBar()
650 SCTool.selectRange("C1"); in testSumInFormulaBar()
654 assertEquals("The calculated result", expectedResult, SCTool.getCellText("C1")); in testSumInFormulaBar()
672 SCTool.selectRange("A1"); in testInsertFunctionViaFormulaBar()
676 SCTool.selectRange("D1"); in testInsertFunctionViaFormulaBar()
681 assertEquals("The calculated result", expectedResult, SCTool.getCellText("D1")); in testInsertFunctionViaFormulaBar()
699 SCTool.selectRange("A1"); in testFunctionWizardInFormulaBar()
703 SCTool.selectRange("B1"); in testFunctionWizardInFormulaBar()
711 assertEquals("The calculated result", expectedResult, SCTool.getCellText("B1")); in testFunctionWizardInFormulaBar()