tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hj...@apache.org
Subject [07/30] git commit: Revert "Fixed a missed compilation error in TestValidators."
Date Wed, 05 Nov 2014 09:52:03 GMT
Revert "Fixed a missed compilation error in TestValidators."

This reverts commit b3749a0931e4e2c5447d9ce4cdfe43245300ef61.


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

Branch: refs/heads/hbase_storage
Commit: 1d63dca5e7724ff680c553b8616af6b0b001acf4
Parents: b3749a0
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Mon Oct 27 18:16:36 2014 -0700
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Mon Oct 27 18:16:36 2014 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/tajo/validation/TestValidators.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/1d63dca5/tajo-common/src/test/java/org/apache/tajo/validation/TestValidators.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/org/apache/tajo/validation/TestValidators.java b/tajo-common/src/test/java/org/apache/tajo/validation/TestValidators.java
index a347bad..1da3591 100644
--- a/tajo-common/src/test/java/org/apache/tajo/validation/TestValidators.java
+++ b/tajo-common/src/test/java/org/apache/tajo/validation/TestValidators.java
@@ -75,8 +75,8 @@ public class TestValidators {
     
     assertThat(new NotNullValidator().validateInternal(testValue), is(false));
     assertThat(new NotNullValidator().validate(testValue).size(), is(1));
-    Matcher<Iterable<? super ConstraintViolation>> matcher =  hasItem(hasAClass(equalTo(NotNullValidator.class)));
-    assertThat(new NotNullValidator().validate(testValue), matcher);
+    assertThat(new NotNullValidator().validate(testValue),
+        CoreMatchers.hasItem(hasAClass(equalTo(NotNullValidator.class))));
   }
 
   @Test


Mime
View raw message