You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/05/07 20:45:38 UTC

[3/5] [lang] add expected=IllegalArgumentException.class to ToStringBuilderTest.testReflectionNull

add expected=IllegalArgumentException.class to ToStringBuilderTest.testReflectionNull


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/0e266204
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/0e266204
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/0e266204

Branch: refs/heads/master
Commit: 0e266204f535aa48f74d4f2480b2268c13e26b22
Parents: 39380da
Author: Jack <79...@qq.com>
Authored: Wed May 6 13:34:37 2015 +0800
Committer: Jack <79...@qq.com>
Committed: Wed May 6 13:34:37 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/builder/ToStringBuilderTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/0e266204/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
index 3101071..c55fe2f 100644
--- a/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
+++ b/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
@@ -1041,7 +1041,7 @@ public class ToStringBuilderTest {
         static final int staticInt2 = 67890;
     }
 
-    @Test
+    @Test(expected=IllegalArgumentException.class)
     public void testReflectionNull() {
         assertEquals("<null>", ReflectionToStringBuilder.toString(null));
     }