|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /*
- * ====================================================================
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ====================================================================
- */
- package org.apache.poi.hssf.usermodel;
-
- import java.io.IOException;
-
- import org.apache.poi.hssf.HSSFITestDataProvider;
- import org.apache.poi.hssf.HSSFTestDataSamples;
- import org.apache.poi.ss.usermodel.BaseTestSheetShiftColumns;
- import org.apache.poi.ss.usermodel.Workbook;
- import org.junit.Ignore;
- import org.junit.Test;
-
- public class TestHSSFSheetShiftColumns extends BaseTestSheetShiftColumns {
- public TestHSSFSheetShiftColumns() {
- super();
- workbook = new HSSFWorkbook();
- _testDataProvider = HSSFITestDataProvider.instance;
- }
-
- protected Workbook openWorkbook(String spreadsheetFileName)
- throws IOException {
- return HSSFTestDataSamples.openSampleWorkbook(spreadsheetFileName);
- }
-
- protected Workbook getReadBackWorkbook(Workbook wb) throws IOException {
- return HSSFTestDataSamples.writeOutAndReadBack((HSSFWorkbook)wb);
- }
-
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void shiftMergedColumnsToMergedColumnsLeft() throws IOException {
- // This override is used only in order to test failing for HSSF. Please remove method after code is fixed on hssf,
- // so that original method from BaseTestSheetShiftColumns can be executed.
- }
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void shiftMergedColumnsToMergedColumnsRight() throws IOException {
- // This override is used only in order to test failing for HSSF. Please remove method after code is fixed on hssf,
- // so that original method from BaseTestSheetShiftColumns can be executed.
- }
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void testBug54524() throws IOException {
- // This override is used only in order to test failing for HSSF. Please remove method after code is fixed on hssf,
- // so that original method from BaseTestSheetShiftColumns can be executed.
- }
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void testCommentsShifting() throws IOException {
- // This override is used only in order to test failing for HSSF. Please remove method after code is fixed on hssf,
- // so that original method from BaseTestSheetShiftColumns can be executed.
- }
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void testShiftWithMergedRegions() throws IOException {
- // This override is used only in order to test failing for HSSF. Please remove method after code is fixed on hssf,
- // so that original method from BaseTestSheetShiftColumns can be executed.
- // After removing, you can re-add 'final' keyword to specification of original method.
- }
- @Override
- @Ignore("see <https://bz.apache.org/bugzilla/show_bug.cgi?id=62030>")
- @Test
- public void testShiftHyperlinks() throws IOException {}
- }
|