From 9322b252de6c294af1b54377c9df3a7c737771f8 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 29 Nov 2012 11:18:53 +0100 Subject: SONAR-1352 Update export profile xml to include period alert properties --- .../src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-plugin-api/src/test/java/org/sonar/api') diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java index ba2d0a36e56..f54bde9a043 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java @@ -80,7 +80,7 @@ public class XMLProfileSerializerTest { public void exportAlerts() throws Exception { Writer writer = new StringWriter(); RulesProfile profile = RulesProfile.create("sonar way", "java"); - Alert alert = new Alert(profile, new Metric("coverage"), Alert.OPERATOR_SMALLER, "60", "80"); + Alert alert = new Alert(profile, new Metric("coverage"), Alert.OPERATOR_SMALLER, "60", "80", 1); profile.getAlerts().add(alert); new XMLProfileSerializer().write(profile, writer); -- cgit v1.2.3