From e15c254996d209fca3614f037242510ad6c361e9 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Wed, 20 May 2015 19:13:36 +0000 Subject: [PATCH] Add verification unit test for bug 47169 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680657 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/ss/usermodel/BaseTestSheetShiftRows.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java index 4c9d25de07..512b4a7e6e 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java +++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java @@ -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(); + } +} -- 2.39.5