aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-05-20 19:13:36 +0000
committerDominik Stadler <centic@apache.org>2015-05-20 19:13:36 +0000
commite15c254996d209fca3614f037242510ad6c361e9 (patch)
treef39b8003f405445fc4a2a5e24c619116f23e1189 /src/testcases/org
parentf3872cbcf4a307a3f9ba713a1ddf44792cb2e7e8 (diff)
downloadpoi-e15c254996d209fca3614f037242510ad6c361e9.tar.gz
poi-e15c254996d209fca3614f037242510ad6c361e9.zip
Add verification unit test for bug 47169
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1680657 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java11
1 files changed, 10 insertions, 1 deletions
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();
+ }
+}