diff options
author | James Moger <james.moger@gitblit.com> | 2011-06-01 19:51:41 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-06-01 19:51:41 -0400 |
commit | 424fe1b372d225d65eb42e6125b24cbb982c5969 (patch) | |
tree | 587c27859ec4289268ad3e65ad74acbe72f1686f /tests | |
parent | f1720ca884bc3fa9da1288ad955e46f165aa4168 (diff) | |
download | gitblit-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.java | 3 |
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);
}
|