diff options
author | Godin <mandrikov@gmail.com> | 2010-12-14 00:56:54 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-12-14 00:56:54 +0000 |
commit | c7c69b5dc02c35401e9ade1a7293e8199fbead77 (patch) | |
tree | c6def0ca8c1eda433ce5583860cf97b968bcd1f3 /tests | |
parent | a8ec3720bba2b343d1f9046f4c93a2262e1b1a41 (diff) | |
download | sonarqube-c7c69b5dc02c35401e9ade1a7293e8199fbead77.tar.gz sonarqube-c7c69b5dc02c35401e9ade1a7293e8199fbead77.zip |
SONAR-833: New Web Service to get history of measures (time machine)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/tests/src/it/java/org/sonar/tests/integration/ViolationsTimemachineTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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, |