@@ -0,0 +1,1892 @@
+/*%0A * Copyright (c) 2013 Google Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not use this file except%0A * in compliance with the License. You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software distributed under the License%0A * is distributed on an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express%0A * or implied. See the License for the specific language governing permissions and limitations under%0A * the License.%0A */%0Apackage com.google.cloud.anviltop.hbase;%0A%0Aimport org.apache.hadoop.hbase.client.Delete;%0Aimport org.apache.hadoop.hbase.client.Get;%0Aimport org.apache.hadoop.hbase.client.HTableInterface;%0Aimport org.apache.hadoop.hbase.client.Put;%0Aimport org.apache.hadoop.hbase.client.Result;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0A%0Apublic class TestDelete extends AbstractTest %7B%0A    /**%0A     * Requirement 4.1 - Delete all data for a given rowkey.%0A     */%0A    @Test%0A    public void testDeleteRow() throws IOException %7B%0A        // Initialize data%0A        HTableInterface table = connection.getTable(TABLE_NAME);%0A        byte%5B%5D rowKey = randomData(%22testrow-%22);%0A        byte%5B%5D qual = randomData(%22qual-%22);%0A        byte%5B%5D value = randomData(%22value-%22);%0A%0A        // Insert empty values.  Null and byte%5B0%5D are interchangeable for puts (but not gets).%0A        Put put = new Put(rowKey);%0A        put.add(COLUMN_FAMILY, qual, 1L, value);%0A        put.add(COLUMN_FAMILY, qual, 2L, value);%0A        table.put(put);%0A%0A        // Check values%0A        Get get = new Get(rowKey);%0A        Assert.assertTrue(table.exists(get));%0A%0A        // Delete row%0A        Delete delete = new Delete(rowKey);%0A        table.delete(delete);%0A        Assert.assertFalse(table.exists(get));%0A%0A        table.close();%0A    %7D%0A%7D%0A

Add simple delete test