incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/8] git commit: Adding headers.
Date Wed, 28 Aug 2013 18:16:48 GMT
Adding headers.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/99bcb9b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/99bcb9b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/99bcb9b2

Branch: refs/heads/master
Commit: 99bcb9b269b03be88780c8e9bdfd8372edf32a23
Parents: 2005c9e
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Aug 27 18:19:30 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Aug 27 18:19:30 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/jdbc/BlurJdbcTest.java | 33 +++++++++++++++-----
 .../org/apache/blur/jdbc/parser/ParserTest.java | 20 ++++++++++--
 2 files changed, 43 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/99bcb9b2/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
----------------------------------------------------------------------
diff --git a/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java b/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
index 4aedaf7..73c8602 100644
--- a/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
+++ b/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
@@ -1,3 +1,19 @@
+/**
+ * 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.blur.jdbc;
 
 import java.sql.Connection;
@@ -9,16 +25,17 @@ import java.sql.Statement;
 import org.junit.Test;
 
 public class BlurJdbcTest {
-  
+
   @Test
   public void testJdbcDriver() throws SQLException, ClassNotFoundException {
-//    Class.forName(BlurJdbc.class.getName());
-//    Connection connection = DriverManager.getConnection("jdbc:blur:blur-vm:40010");
-//    Statement statement = connection.createStatement();
-//    ResultSet resultSet = statement.executeQuery("select * from test8493");
-//    while (resultSet.next()) {
-//      System.out.println(resultSet.getString(1));
-//    }
+    // Class.forName(BlurJdbc.class.getName());
+    // Connection connection =
+    // DriverManager.getConnection("jdbc:blur:blur-vm:40010");
+    // Statement statement = connection.createStatement();
+    // ResultSet resultSet = statement.executeQuery("select * from test8493");
+    // while (resultSet.next()) {
+    // System.out.println(resultSet.getString(1));
+    // }
   }
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/99bcb9b2/blur-jdbc/src/test/java/org/apache/blur/jdbc/parser/ParserTest.java
----------------------------------------------------------------------
diff --git a/blur-jdbc/src/test/java/org/apache/blur/jdbc/parser/ParserTest.java b/blur-jdbc/src/test/java/org/apache/blur/jdbc/parser/ParserTest.java
index 8162907..7757f32 100644
--- a/blur-jdbc/src/test/java/org/apache/blur/jdbc/parser/ParserTest.java
+++ b/blur-jdbc/src/test/java/org/apache/blur/jdbc/parser/ParserTest.java
@@ -1,3 +1,19 @@
+/**
+ * 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.blur.jdbc.parser;
 
 import static org.junit.Assert.*;
@@ -18,7 +34,7 @@ public class ParserTest {
     assertEquals("*", columnNames.get(0));
     assertEquals("*", parser.getWhere());
   }
-  
+
   @Test
   public void test2() {
     Parser parser = new Parser();
@@ -29,7 +45,7 @@ public class ParserTest {
     assertEquals("*", columnNames.get(0));
     assertEquals("*", parser.getWhere());
   }
-  
+
   @Test
   public void test3() {
     Parser parser = new Parser();


Mime
View raw message