SortDialogSetting.java (fd348426) SortDialogSetting.java (300d4866)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 90 unchanged lines hidden (view full) ---

99 assertArrayEquals("Saved sorted result", expectedSortedResult, SCTool.getCellTexts("A2:A6"));
100 }
101
102 /**
103 * Test sort with options setting: copy sort result to
104 *
105 * @throws Exception
106 */
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 90 unchanged lines hidden (view full) ---

99 assertArrayEquals("Saved sorted result", expectedSortedResult, SCTool.getCellTexts("A2:A6"));
100 }
101
102 /**
103 * Test sort with options setting: copy sort result to
104 *
105 * @throws Exception
106 */
107 @Ignore("Bug #119035 - Redo is not work when sort result to other postion")
107 @Ignore("Bug #119035 - Redo is not work when sort result to other position")
108 public void testSortOptionsCopyResultTo() throws Exception {
109
110 String[][] expectedSortedResult = new String[][] { { "1", "AB" }, { "2", "BC" }, { "3", "D" }, { "4", "E" }, { "5", "FLK" }, { "6", "GE" }, };
111 SCTool.selectRange("A1");
112 typeKeys("3<down>5<down>4<down>2<down>6<down>1");
113 SCTool.selectRange("B1");
114 typeKeys("D<down>FLK<down>E<down>BC<down>GE<down>AB");
115

--- 751 unchanged lines hidden ---
108 public void testSortOptionsCopyResultTo() throws Exception {
109
110 String[][] expectedSortedResult = new String[][] { { "1", "AB" }, { "2", "BC" }, { "3", "D" }, { "4", "E" }, { "5", "FLK" }, { "6", "GE" }, };
111 SCTool.selectRange("A1");
112 typeKeys("3<down>5<down>4<down>2<down>6<down>1");
113 SCTool.selectRange("B1");
114 typeKeys("D<down>FLK<down>E<down>BC<down>GE<down>AB");
115

--- 751 unchanged lines hidden ---