]> source.dussan.org Git - poi.git/commitdiff
Add verification unit test for bug 47169
authorDominik Stadler <centic@apache.org>
Wed, 20 May 2015 19:13:36 +0000 (19:13 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 20 May 2015 19:13:36 +0000 (19:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680657 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java

index 4c9d25de074b2e1b489c6dd54c7f8d45ab4cb5ad..512b4a7e6e92bb65263cf732433f7cd22c525997 100644 (file)
@@ -417,4 +417,13 @@ public abstract class BaseTestSheetShiftRows extends TestCase {
         }
        }
 
-}
\ No newline at end of file
+    public void test47169() throws IOException {
+        Workbook wb = _testDataProvider.createWorkbook();
+        Sheet sheet = wb.createSheet();
+        sheet.createRow(30);
+        sheet.shiftRows(29, 29, 1, true, true);
+        sheet.createRow(30);
+
+        wb.close();
+    }
+}