SQALE: an empty SQALE file for the analyzer was saved to {0}. To provide SQALE remediation information for the analyzer:
@@ -182,6 +193,12 @@ SQALE: an empty SQALE file for the analyzer was saved to {0}. To provide SQALE r
The language '{0}' is not supported. Valid options are 'cs' or 'vb'.
+
+ Using the supplied rules xml file: {0}
+
+
+ Using the SQALE file: {0}
+
Roslyn Analyzer Plugin Generator for SonarQube
diff --git a/Tests/CommonTests/SerializationTests.cs b/Tests/CommonTests/SerializationTests.cs
index acb8a83..67915c7 100644
--- a/Tests/CommonTests/SerializationTests.cs
+++ b/Tests/CommonTests/SerializationTests.cs
@@ -44,7 +44,10 @@ public void SerializeRules()
Severity = "CRITICAL",
Cardinality = "SINGLE",
Status = "READY",
- Tags = new[] { "t1", "t2" }
+ Type = IssueType.CODE_SMELL,
+ Tags = new[] { "t1", "t2" },
+ DebtRemediationFunction = DebtRemediationFunctionType.CONSTANT_ISSUE,
+ DebtRemediationFunctionOffset = "15min"
},
new Rule()
@@ -55,6 +58,7 @@ public void SerializeRules()
Description = @"An Html Description",
Severity = "MAJOR",
Cardinality = "SINGLE",
+ Type = IssueType.BUG,
Status = "READY",
}
};
@@ -78,8 +82,11 @@ public void SerializeRules()
CRITICAL
SINGLE
READY
+ CODE_SMELL
t1
t2
+ CONSTANT_ISSUE
+ 15min
key2
@@ -89,6 +96,7 @@ public void SerializeRules()
MAJOR
SINGLE
READY
+ BUG