bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject [24/50] bval git commit: BVAL-157 add a unit test for get() without name
Date Tue, 16 Oct 2018 17:35:25 GMT
BVAL-157 add a unit test for get() without name


Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/c24e3be2
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/c24e3be2
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/c24e3be2

Branch: refs/heads/master
Commit: c24e3be255a6d8524df0bc40fa62198ed9ea7ade
Parents: 7eaa335
Author: Mark Struberg <struberg@apache.org>
Authored: Sat Jun 9 10:10:15 2018 +0200
Committer: Matt Benson <mbenson@apache.org>
Committed: Tue Oct 16 12:28:20 2018 -0500

----------------------------------------------------------------------
 .../src/test/java/org/apache/bval/jsr/example/Book.java     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/c24e3be2/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
----------------------------------------------------------------------
diff --git a/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java b/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
index e548c9a..7782b3d 100644
--- a/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
+++ b/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
@@ -78,4 +78,13 @@ public class Book {
     @GroupSequence(value = { First.class, Second.class, Last.class })
     public interface All {
     }
+
+    /**
+     * a get() without any name blew up with a failure.
+     * See BVAL-157
+     */
+    public int get() {
+        return 42;
+    }
+
 }
\ No newline at end of file


Mime
View raw message