From c7c69b5dc02c35401e9ade1a7293e8199fbead77 Mon Sep 17 00:00:00 2001 From: Godin Date: Tue, 14 Dec 2010 00:56:54 +0000 Subject: SONAR-833: New Web Service to get history of measures (time machine) --- .../it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java index 13ab6f68aa6..f834de08ab1 100644 --- a/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java +++ b/tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java @@ -32,7 +32,7 @@ public class ViolationsTimemachineTest { @Test public void timemachine() { - TimeMachineQuery query = TimeMachineQuery.create(PROJECT).setMetrics( + TimeMachineQuery query = TimeMachineQuery.createForMetrics(PROJECT, CoreMetrics.BLOCKER_VIOLATIONS_KEY, CoreMetrics.CRITICAL_VIOLATIONS_KEY, CoreMetrics.MAJOR_VIOLATIONS_KEY, -- cgit v1.2.3