Lines Matching refs:SCTool

42 import testlib.gui.SCTool;
74 SCTool.selectRange("A1"); in testSortOptionsCaseSensitive()
76 SCTool.selectRange("A6"); in testSortOptionsCaseSensitive()
86 assertArrayEquals("Wrong Sorted result", expectedSortedResult, SCTool.getCellTexts("A2:A6")); in testSortOptionsCaseSensitive()
90 assertArrayEquals("Wrong Undo sorted result", data, SCTool.getCellTexts("A2:A6")); in testSortOptionsCaseSensitive()
92 assertArrayEquals("Wrong Redo sorted result", expectedSortedResult, SCTool.getCellTexts("A2:A6")); in testSortOptionsCaseSensitive()
99 assertArrayEquals("Saved sorted result", expectedSortedResult, SCTool.getCellTexts("A2:A6")); in testSortOptionsCaseSensitive()
111 SCTool.selectRange("A1"); in testSortOptionsCopyResultTo()
113 SCTool.selectRange("B1"); in testSortOptionsCopyResultTo()
124 …assertArrayEquals("Copy sorted result to", expectedSortedResult, SCTool.getCellTexts("$Sheet3.$A4:… in testSortOptionsCopyResultTo()
128 assertEquals("Undo sorted result", "", SCTool.getCellText("$Sheet3.$A4")); in testSortOptionsCopyResultTo()
130 …assertArrayEquals("Redo sorted result", expectedSortedResult, SCTool.getCellTexts("$Sheet3.$A4:$B9… in testSortOptionsCopyResultTo()
134 SCTool.selectRange("$Sheet2.$A1:$B3"); in testSortOptionsCopyResultTo()
140 SCTool.selectRange("$Sheet1.$B1"); in testSortOptionsCopyResultTo()
148 …assertArrayEquals("Copy sorted result to cell range", expectedSortedResult, SCTool.getCellTexts("$… in testSortOptionsCopyResultTo()
152 assertEquals("Undo sorted result", "", SCTool.getCellText("$Sheet2.$A1")); in testSortOptionsCopyResultTo()
154 …assertArrayEquals("Redo sorted result", expectedSortedResult, SCTool.getCellTexts("$Sheet2.$A1:$B6… in testSortOptionsCopyResultTo()
162 …assertArrayEquals("Saved sorted result", expectedSortedResult, SCTool.getCellTexts("$Sheet3.$A4:$B… in testSortOptionsCopyResultTo()
163 …assertArrayEquals("Saved sorted result to cell range", expectedSortedResult, SCTool.getCellTexts("… in testSortOptionsCopyResultTo()
178 SCTool.selectRange("A1"); in testSortCriteriaSortFirstBy()
180 SCTool.selectRange("B1"); in testSortCriteriaSortFirstBy()
190 …assertArrayEquals("Sorted result", expectedResultSortByColumnBAscending, SCTool.getCellTexts("A1:B… in testSortCriteriaSortFirstBy()
194 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:B6")); in testSortCriteriaSortFirstBy()
196 …assertArrayEquals("Redo sorted result", expectedResultSortByColumnBAscending, SCTool.getCellTexts(… in testSortCriteriaSortFirstBy()
212 …assertArrayEquals("Saved sorted result", expectedResultSortByColumnADescending, SCTool.getCellText… in testSortCriteriaSortFirstBy()
227 SCTool.selectRange("A1"); in testSortCriteriaSortSecondBy()
229 SCTool.selectRange("B1"); in testSortCriteriaSortSecondBy()
239 assertArrayEquals("Sorted result", expectedResultSortFirstByB, SCTool.getCellTexts("A1:B6")); in testSortCriteriaSortSecondBy()
243 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:B6")); in testSortCriteriaSortSecondBy()
245 assertArrayEquals("Redo sorted result", expectedResultSortFirstByB, SCTool.getCellTexts("A1:B6")); in testSortCriteriaSortSecondBy()
264 …assertArrayEquals("Saved sorted result", expectedResultSortSecondByA, SCTool.getCellTexts("A1:B6")… in testSortCriteriaSortSecondBy()
284 SCTool.selectRange("A1"); in testSortCriteriaSortThirdBy()
286 SCTool.selectRange("B1"); in testSortCriteriaSortThirdBy()
288 SCTool.selectRange("C1"); in testSortCriteriaSortThirdBy()
298 assertArrayEquals("Sorted result", expectedResultSortFirstByB, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
302 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
304 assertArrayEquals("Redo sorted result", expectedResultSortFirstByB, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
323 assertArrayEquals("Sorted result", expectedResultSortSecondByC, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
337 assertArrayEquals("Sorted result", expectedResultSortThirdByA, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
341 …assertArrayEquals("Undo sorted result", expectedResultSortSecondByC, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
343 assertArrayEquals("Redo sorted result", expectedResultSortThirdByA, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
351 …assertArrayEquals("Saved sorted result", expectedResultSortThirdByA, SCTool.getCellTexts("A1:C9")); in testSortCriteriaSortThirdBy()
364 SCTool.selectRange("A1"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
366 SCTool.selectRange("A1:A6"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
372 SCTool.selectRange("A1:A6"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
400 SCTool.selectRange("A1"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
402 SCTool.selectRange("A2:A7"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
408 SCTool.selectRange("A1:A7"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
419 …rted result without custom sort order", expectedResultNoCustomSortOrder, SCTool.getCellTexts("A1:A… in testSortOptionsCustomSortOrderPredefineFromCopyList()
423 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:A7")); in testSortOptionsCustomSortOrderPredefineFromCopyList()
425 …assertArrayEquals("Redo sorted result", expectedResultNoCustomSortOrder, SCTool.getCellTexts("A1:A… in testSortOptionsCustomSortOrderPredefineFromCopyList()
429 SCTool.selectRange("A1:A7"); in testSortOptionsCustomSortOrderPredefineFromCopyList()
449 …assertArrayEquals("Sorted result with custom sort order", expectedResultCustomSortOrder, SCTool.ge… in testSortOptionsCustomSortOrderPredefineFromCopyList()
453 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:A7")); in testSortOptionsCustomSortOrderPredefineFromCopyList()
455 …assertArrayEquals("Redo sorted result", expectedResultCustomSortOrder, SCTool.getCellTexts("A1:A7"… in testSortOptionsCustomSortOrderPredefineFromCopyList()
466 assertArrayEquals("Original data", data, SCTool.getCellTexts("$A1:$A7")); in testSortOptionsCustomSortOrderPredefineFromCopyList()
470 …assertArrayEquals("Saved sorted result", expectedResultCustomSortOrder, SCTool.getCellTexts("$A1:$… in testSortOptionsCustomSortOrderPredefineFromCopyList()
511 SCTool.selectRange("A1"); in testSortOptionsCustomSortOrderPredefineFromNewList()
513 SCTool.selectRange("A2:A7"); in testSortOptionsCustomSortOrderPredefineFromNewList()
519 SCTool.selectRange("A1:A7"); in testSortOptionsCustomSortOrderPredefineFromNewList()
530 …rted result without custom sort order", expectedResultNoCustomSortOrder, SCTool.getCellTexts("A1:A… in testSortOptionsCustomSortOrderPredefineFromNewList()
534 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:A7")); in testSortOptionsCustomSortOrderPredefineFromNewList()
536 …assertArrayEquals("Redo sorted result", expectedResultNoCustomSortOrder, SCTool.getCellTexts("A1:A… in testSortOptionsCustomSortOrderPredefineFromNewList()
540 SCTool.selectRange("A1:A7"); in testSortOptionsCustomSortOrderPredefineFromNewList()
560 …assertArrayEquals("Sorted result with custom sort order", expectedResultCustomSortOrder, SCTool.ge… in testSortOptionsCustomSortOrderPredefineFromNewList()
564 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:A7")); in testSortOptionsCustomSortOrderPredefineFromNewList()
566 …assertArrayEquals("Redo sorted result", expectedResultCustomSortOrder, SCTool.getCellTexts("A1:A7"… in testSortOptionsCustomSortOrderPredefineFromNewList()
577 assertArrayEquals("Original data", data, SCTool.getCellTexts("$A1:$A7")); in testSortOptionsCustomSortOrderPredefineFromNewList()
581 …assertArrayEquals("Saved sorted result", expectedResultCustomSortOrder, SCTool.getCellTexts("$A1:$… in testSortOptionsCustomSortOrderPredefineFromNewList()
595 SCTool.selectRange("A1"); in testSortOptionsDirectionSortColumns()
611 assertArrayEquals("Sorted result", expectedSortedResult, SCTool.getCellTexts("A1:G1")); in testSortOptionsDirectionSortColumns()
615 assertArrayEquals("Undo sorted result", data, SCTool.getCellTexts("A1:G1")); in testSortOptionsDirectionSortColumns()
617 assertArrayEquals("Redo sorted result", expectedSortedResult, SCTool.getCellTexts("A1:G1")); in testSortOptionsDirectionSortColumns()
625 assertArrayEquals("Saved sorted result", expectedSortedResult, SCTool.getCellTexts("A1:G1")); in testSortOptionsDirectionSortColumns()
649 assertArrayEquals("source", dataWithCurrencyFormats, SCTool.getCellTexts("A1:A7")); in testSortOptionsIncludeFormats()
663 …assertArrayEquals("Sorted result include formats", expectedSortedResultIncludeFormat, SCTool.getCe… in testSortOptionsIncludeFormats()
667 assertArrayEquals("Undo sorted result", dataWithCurrencyFormats, SCTool.getCellTexts("A1:A7")); in testSortOptionsIncludeFormats()
669 …assertArrayEquals("Redo sorted result", expectedSortedResultIncludeFormat, SCTool.getCellTexts("A1… in testSortOptionsIncludeFormats()
673 SCTool.selectRange("A1:A7"); in testSortOptionsIncludeFormats()
675 SCTool.selectRange("Sheet2.A1"); in testSortOptionsIncludeFormats()
690 …assertArrayEquals("Sorted result exclude formats", expectedSortedResultExcludeFormat, SCTool.getCe… in testSortOptionsIncludeFormats()
694 assertArrayEquals("Undo sorted result", dataWithCurrencyFormats, SCTool.getCellTexts("A1:A7")); in testSortOptionsIncludeFormats()
696 …assertArrayEquals("Redo sorted result", expectedSortedResultExcludeFormat, SCTool.getCellTexts("A1… in testSortOptionsIncludeFormats()
704 …assertArrayEquals("Original data", dataWithCurrencyFormats, SCTool.getCellTexts("$Sheet1.$A1:$A7")… in testSortOptionsIncludeFormats()
705 …assertArrayEquals("Saved sorted result exclude format", expectedSortedResultExcludeFormat, SCTool.… in testSortOptionsIncludeFormats()
721 SCTool.selectRange("A1"); in testSortOptionsMultipleSortDataOverlap()
736 assertArrayEquals("Sorted result", expectedSortedResult1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortDataOverlap()
740 assertArrayEquals("Undo sorted result", data1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortDataOverlap()
742 assertArrayEquals("Redo sorted result", expectedSortedResult1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortDataOverlap()
745 SCTool.selectRange("G10"); in testSortOptionsMultipleSortDataOverlap()
750 SCTool.selectRange("G10"); in testSortOptionsMultipleSortDataOverlap()
762 …assertArrayEquals("Sorted result data overlap", expectedSortedResultDataOverlap, SCTool.getCellTex… in testSortOptionsMultipleSortDataOverlap()
770 …assertArrayEquals("Saved sorted result", expectedSortedResultDataOverlap, SCTool.getCellTexts("A1:… in testSortOptionsMultipleSortDataOverlap()
771 assertArrayEquals("Original data2", data2, SCTool.getCellTexts("G10:G14")); in testSortOptionsMultipleSortDataOverlap()
788 SCTool.selectRange("A1"); in testSortOptionsMultipleSortSortParameterSaved()
806 assertArrayEquals("Sorted result1", expectedSortedResult1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortSortParameterSaved()
810 assertArrayEquals("Undo sorted result", data1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortSortParameterSaved()
812 assertArrayEquals("Redo sorted result", expectedSortedResult1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortSortParameterSaved()
815 SCTool.selectRange("G10"); in testSortOptionsMultipleSortSortParameterSaved()
821 SCTool.selectRange("G10"); in testSortOptionsMultipleSortSortParameterSaved()
833 assertArrayEquals("Sorted result2", expectedSortedResult2, SCTool.getCellTexts("G10:G15")); in testSortOptionsMultipleSortSortParameterSaved()
837 assertArrayEquals("Undo sorted result", data2, SCTool.getCellTexts("G10:G15")); in testSortOptionsMultipleSortSortParameterSaved()
839 assertArrayEquals("Redo sorted result", expectedSortedResult2, SCTool.getCellTexts("G10:G15")); in testSortOptionsMultipleSortSortParameterSaved()
855 assertArrayEquals("Saved sorted result1", expectedSortedResult1, SCTool.getCellTexts("A1:A5")); in testSortOptionsMultipleSortSortParameterSaved()
856 assertArrayEquals("Saved sorted result2", expectedSortedResult2, SCTool.getCellTexts("G10:G15")); in testSortOptionsMultipleSortSortParameterSaved()