You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ad...@apache.org on 2015/03/19 23:03:45 UTC
drill git commit: DRILL-2499: Remove orphan test
Drill2130InterpreterHamcrestConfigurationTest
Repository: drill
Updated Branches:
refs/heads/master 2da618cd4 -> 17f0befeb
DRILL-2499: Remove orphan test Drill2130InterpreterHamcrestConfigurationTest
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/17f0befe
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/17f0befe
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/17f0befe
Branch: refs/heads/master
Commit: 17f0befeb605362a2d13320e3428b55a250604d1
Parents: 2da618c
Author: Aditya Kishore <ad...@apache.org>
Authored: Wed Mar 18 20:25:16 2015 -0700
Committer: Aditya Kishore <ad...@apache.org>
Committed: Thu Mar 19 23:03:11 2015 +0100
----------------------------------------------------------------------
...130InterpreterHamcrestConfigurationTest.java | 46 --------------------
1 file changed, 46 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/17f0befe/exec/interpreter/src/test/java/org/apache/drill/exec/expr/test/Drill2130InterpreterHamcrestConfigurationTest.java
----------------------------------------------------------------------
diff --git a/exec/interpreter/src/test/java/org/apache/drill/exec/expr/test/Drill2130InterpreterHamcrestConfigurationTest.java b/exec/interpreter/src/test/java/org/apache/drill/exec/expr/test/Drill2130InterpreterHamcrestConfigurationTest.java
deleted file mode 100644
index 41cf75b..0000000
--- a/exec/interpreter/src/test/java/org/apache/drill/exec/expr/test/Drill2130InterpreterHamcrestConfigurationTest.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.exec.expr.test;
-
-import org.junit.Test;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assert.fail;
-import static org.hamcrest.CoreMatchers.equalTo;
-
-
-public class Drill2130InterpreterHamcrestConfigurationTest {
-
- @SuppressWarnings("unused")
- private org.hamcrest.MatcherAssert forCompileTimeCheckForNewEnoughHamcrest;
-
- @Test
- public void testJUnitHamcrestMatcherFailureWorks() {
- try {
- assertThat( 1, equalTo( 2 ) );
- }
- catch ( NoSuchMethodError e ) {
- fail( "Class search path seems broken re new JUnit and old Hamcrest."
- + " Got NoSuchMethodError; e: " + e );
- }
- catch ( AssertionError e ) {
- System.out.println( "Class path seems fine re new JUnit vs. old Hamcrest."
- + " (Got AssertionError, not NoSuchMethodError.)" );
- }
- }
-
-}