aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShawn Laubach <slaubach@apache.org>2003-11-04 19:29:55 +0000
committerShawn Laubach <slaubach@apache.org>2003-11-04 19:29:55 +0000
commit6787092d332134879823b0d3378ae7a895ce47ec (patch)
treeee998d7b5a0381c221329f7a71d23beec3055b48 /src
parent5a7b72b10f281ee1bb5f456f3cf03de40e6d0787 (diff)
downloadpoi-6787092d332134879823b0d3378ae7a895ce47ec.tar.gz
poi-6787092d332134879823b0d3378ae7a895ce47ec.zip
Fix supplied for bug 24397 where some compilation got ambiguous classes. Explicitly imports the classes. Patch supplied by Jean-Pierre Paris.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353437 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rwxr-xr-xsrc/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java b/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java
index a48fb683fc..e91003e4da 100755
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java
@@ -175,5 +175,18 @@ public class TestSheetShiftRows extends TestCase {
s.createRow(3).createCell((short)0).setCellValue("TEST2");
s.shiftRows(0,4,1);
}
+
+ /**
+ * Tests when shifting the first row.
+ *
+ * @author Toshiaki Kamoshida (kamoshida.toshiaki at future dot co dot jp)
+ */
+ public void testShiftRow0(){
+ HSSFWorkbook b = new HSSFWorkbook();
+ HSSFSheet s = b.createSheet();
+ s.createRow(0).createCell((short)0).setCellValue("TEST1");
+ s.createRow(3).createCell((short)0).setCellValue("TEST2");
+ s.shiftRows(0,4,1);
+ }
}