diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2012-11-29 11:18:53 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2012-11-29 11:18:53 +0100 |
commit | 9322b252de6c294af1b54377c9df3a7c737771f8 (patch) | |
tree | 0b3e9ebcf74ef49c3f32da0e41c31742ad46b815 /sonar-plugin-api/src/test/java/org/sonar/api | |
parent | 5f283a0a38d0d3aff9b228138b5b339ddc3362fc (diff) | |
download | sonarqube-9322b252de6c294af1b54377c9df3a7c737771f8.tar.gz sonarqube-9322b252de6c294af1b54377c9df3a7c737771f8.zip |
SONAR-1352 Update export profile xml to include period alert properties
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/profiles/XMLProfileSerializerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |