Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D4AE10332 for ; Fri, 7 Mar 2014 18:24:28 +0000 (UTC) Received: (qmail 43648 invoked by uid 500); 7 Mar 2014 18:24:27 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 43513 invoked by uid 500); 7 Mar 2014 18:24:25 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 43468 invoked by uid 99); 7 Mar 2014 18:24:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 18:24:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 5416F93A4A1; Fri, 7 Mar 2014 18:24:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Fri, 07 Mar 2014 18:24:17 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/3] git commit: ACCUMULO-2438 Rename the test so that surefire doesn't pick it up as a unit test Repository: accumulo Updated Branches: refs/heads/1.6.0-SNAPSHOT 278438337 -> 4fabfbaa1 refs/heads/master 26b6d7371 -> 7939ed2cc ACCUMULO-2438 Rename the test so that surefire doesn't pick it up as a unit test Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4fabfbaa Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4fabfbaa Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4fabfbaa Branch: refs/heads/1.6.0-SNAPSHOT Commit: 4fabfbaa12ec71e4495af5162717677aee3a9125 Parents: 2784383 Author: Josh Elser Authored: Fri Mar 7 13:23:19 2014 -0500 Committer: Josh Elser Committed: Fri Mar 7 13:23:19 2014 -0500 ---------------------------------------------------------------------- .../org/apache/accumulo/test/DeleteRowsIT.java | 42 ++++++++++++++++++++ .../apache/accumulo/test/TestDeleteRowsIT.java | 42 -------------------- 2 files changed, 42 insertions(+), 42 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/4fabfbaa/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java b/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java new file mode 100644 index 0000000..190f693 --- /dev/null +++ b/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java @@ -0,0 +1,42 @@ +/* + * 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.accumulo.test; + +import static org.junit.Assert.assertEquals; + +import org.apache.accumulo.core.client.Connector; +import org.apache.accumulo.core.client.Scanner; +import org.apache.accumulo.core.security.Authorizations; +import org.apache.accumulo.test.functional.FunctionalTestUtils; +import org.apache.accumulo.test.functional.SimpleMacIT; +import org.junit.Test; + +public class DeleteRowsIT extends SimpleMacIT { + + @Test(timeout = 60 * 1000) + public void test() throws Exception { + Connector c = getConnector(); + String[] tableNames = this.getTableNames(20); + for (String tableName : tableNames) { + c.tableOperations().create(tableName); + c.tableOperations().deleteRows(tableName, null, null); + Scanner scanner = c.createScanner(tableName, Authorizations.EMPTY); + assertEquals(0, FunctionalTestUtils.count(scanner)); + } + } + +} http://git-wip-us.apache.org/repos/asf/accumulo/blob/4fabfbaa/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java b/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java deleted file mode 100644 index f33a617..0000000 --- a/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java +++ /dev/null @@ -1,42 +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.accumulo.test; - -import static org.junit.Assert.assertEquals; - -import org.apache.accumulo.core.client.Connector; -import org.apache.accumulo.core.client.Scanner; -import org.apache.accumulo.core.security.Authorizations; -import org.apache.accumulo.test.functional.FunctionalTestUtils; -import org.apache.accumulo.test.functional.SimpleMacIT; -import org.junit.Test; - -public class TestDeleteRowsIT extends SimpleMacIT { - - @Test(timeout = 60 * 1000) - public void test() throws Exception { - Connector c = getConnector(); - String[] tableNames = this.getTableNames(20); - for (String tableName : tableNames) { - c.tableOperations().create(tableName); - c.tableOperations().deleteRows(tableName, null, null); - Scanner scanner = c.createScanner(tableName, Authorizations.EMPTY); - assertEquals(0, FunctionalTestUtils.count(scanner)); - } - } - -}