aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/TestPOITestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/TestPOITestCase.java')
-rw-r--r--src/testcases/org/apache/poi/TestPOITestCase.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/TestPOITestCase.java b/src/testcases/org/apache/poi/TestPOITestCase.java
index fd9f3d1ad9..314009604c 100644
--- a/src/testcases/org/apache/poi/TestPOITestCase.java
+++ b/src/testcases/org/apache/poi/TestPOITestCase.java
@@ -34,6 +34,13 @@ import org.junit.Test;
*/
public final class TestPOITestCase {
@Test
+ public void assertStartsWith() {
+ POITestCase.assertStartsWith("Apache POI", "");
+ POITestCase.assertStartsWith("Apache POI", "Apache");
+ POITestCase.assertStartsWith("Apache POI", "Apache POI");
+ }
+
+ @Test
public void assertContains() {
POITestCase.assertContains("There is a needle in this haystack", "needle");
/*try {