summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-06-01 19:51:41 -0400
committerJames Moger <james.moger@gitblit.com>2011-06-01 19:51:41 -0400
commit424fe1b372d225d65eb42e6125b24cbb982c5969 (patch)
tree587c27859ec4289268ad3e65ad74acbe72f1686f /tests
parentf1720ca884bc3fa9da1288ad955e46f165aa4168 (diff)
downloadgitblit-424fe1b372d225d65eb42e6125b24cbb982c5969.tar.gz
gitblit-424fe1b372d225d65eb42e6125b24cbb982c5969.zip
Stats -> Metrics. Docs in distribution zip. Created MetricUtils.
Diffstat (limited to 'tests')
-rw-r--r--tests/com/gitblit/tests/JGitUtilsTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/com/gitblit/tests/JGitUtilsTest.java b/tests/com/gitblit/tests/JGitUtilsTest.java
index 9007b42e..14d318f3 100644
--- a/tests/com/gitblit/tests/JGitUtilsTest.java
+++ b/tests/com/gitblit/tests/JGitUtilsTest.java
@@ -36,6 +36,7 @@ import com.gitblit.models.RefModel;
import com.gitblit.models.TicketModel;
import com.gitblit.models.TicketModel.Comment;
import com.gitblit.utils.JGitUtils;
+import com.gitblit.utils.MetricUtils;
public class JGitUtilsTest extends TestCase {
@@ -184,7 +185,7 @@ public class JGitUtilsTest extends TestCase {
public void testMetrics() throws Exception {
Repository repository = GitBlitSuite.getHelloworldRepository();
- List<Metric> metrics = JGitUtils.getDateMetrics(repository, true);
+ List<Metric> metrics = MetricUtils.getDateMetrics(repository, true);
repository.close();
assertTrue("No metrics found!", metrics.size() > 0);
}