commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [lang] Some more tests
Date Wed, 12 Aug 2015 09:37:18 GMT
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 <sebb@apache.org>
Authored: Wed Aug 12 10:37:14 2015 +0100
Committer: Sebb <sebb@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 {


Mime
View raw message