You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/08/12 11:37:18 UTC
[lang] Some more tests
Repository: commons-lang
Updated Branches:
refs/heads/master e8a2c2972 -> 00fafe772
Some more tests
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/00fafe77
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/00fafe77
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/00fafe77
Branch: refs/heads/master
Commit: 00fafe772ceb91c9f26d79f5a2f6c3695a141115
Parents: e8a2c29
Author: Sebb <se...@apache.org>
Authored: Wed Aug 12 10:37:14 2015 +0100
Committer: Sebb <se...@apache.org>
Committed: Wed Aug 12 10:37:14 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/commons/lang3/CharSequenceUtilsTest.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/00fafe77/src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java b/src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java
index a57cafa..8518a89 100644
--- a/src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java
@@ -128,6 +128,12 @@ public class CharSequenceUtilsTest {
new TestData("a", true, 0, null, 0, 0, NullPointerException.class),
new TestData(null, true, 0, null, 0, 0, NullPointerException.class),
new TestData(null, true, 0, "", 0, 0, NullPointerException.class),
+ new TestData("Abc", true, 0, "abc", 0, 3, true),
+ new TestData("Abc", false, 0, "abc", 0, 3, false),
+ new TestData("Abc", true, 1, "abc", 1, 2, true),
+ new TestData("Abc", false, 1, "abc", 1, 2, true),
+ new TestData("Abcd",true, 1, "abcD",1, 2, true),
+ new TestData("Abcd",false, 1, "abcD",1, 2, true),
};
private static abstract class RunTest {