incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject git commit: Deleted the test class left to fix compilation failure
Date Mon, 03 Jun 2013 15:34:06 GMT
Updated Branches:
  refs/heads/0.1.5 1970012af -> 7307508e0


Deleted the test class left to fix compilation failure


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

Branch: refs/heads/0.1.5
Commit: 7307508e07c3927a5e65b004074467128cc68365
Parents: 1970012
Author: Gagan <gagandeepjuneja@gmail.com>
Authored: Mon Jun 3 21:03:35 2013 +0530
Committer: Gagan <gagandeepjuneja@gmail.com>
Committed: Mon Jun 3 21:03:35 2013 +0530

----------------------------------------------------------------------
 .../apache/blur/manager/stats/WeightedAvgTest.java |   40 ---------------
 1 files changed, 0 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7307508e/src/blur-core/src/test/java/org/apache/blur/manager/stats/WeightedAvgTest.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/org/apache/blur/manager/stats/WeightedAvgTest.java
b/src/blur-core/src/test/java/org/apache/blur/manager/stats/WeightedAvgTest.java
deleted file mode 100644
index 84164b1..0000000
--- a/src/blur-core/src/test/java/org/apache/blur/manager/stats/WeightedAvgTest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.apache.blur.manager.stats;
-
-/**
- * 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.
- */
-
-import static org.junit.Assert.assertTrue;
-
-import org.apache.blur.manager.stats.WeightedAvg;
-import org.junit.Test;
-
-
-public class WeightedAvgTest {
-
-  @Test
-  public void testAvg() {
-    int maxSize = 10;
-    WeightedAvg weightedAvg = new WeightedAvg(maxSize);
-    double total = 0;
-    for (int i = 1; i <= maxSize; i++) {
-      weightedAvg.add(i);
-      total += i;
-      assertTrue(Double.compare(total / i, weightedAvg.getAvg()) == 0);
-    }
-  }
-
-}


Mime
View raw message