diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-23 10:37:10 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-23 10:37:10 +0100 |
commit | 6c220cf23587774804fea19b2d8d108b8120f163 (patch) | |
tree | 471357f3988eece3ef9a608e941e1119a2f83825 /server/sonar-web/src/test/json | |
parent | d871fdd2dda38b9768367c3ab6ba71fba3ccb10b (diff) | |
download | sonarqube-6c220cf23587774804fea19b2d8d108b8120f163.tar.gz sonarqube-6c220cf23587774804fea19b2d8d108b8120f163.zip |
fix reactivation of a custom rule
Diffstat (limited to 'server/sonar-web/src/test/json')
-rw-r--r-- | server/sonar-web/src/test/json/coding-rules-page-should-create-custom-rules/create.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/server/sonar-web/src/test/json/coding-rules-page-should-create-custom-rules/create.json b/server/sonar-web/src/test/json/coding-rules-page-should-create-custom-rules/create.json new file mode 100644 index 00000000000..ef93a9be8d8 --- /dev/null +++ b/server/sonar-web/src/test/json/coding-rules-page-should-create-custom-rules/create.json @@ -0,0 +1,34 @@ +{ + "rule": { + "key": "squid:My_Custom_Rule", + "repo": "squid", + "name": "My Custom Rule", + "createdAt": "2015-03-23T09:30:40+0100", + "severity": "MAJOR", + "status": "READY", + "internalKey": "ArchitecturalConstraint", + "isTemplate": false, + "templateKey": "squid:ArchitecturalConstraint", + "tags": [], + "sysTags": [], + "lang": "java", + "langName": "Java", + "htmlDesc": "My Description", + "mdDesc": "My Description", + "debtOverloaded": false, + "params": [ + { + "key": "toClasses", + "htmlDesc": "Mandatory. Ex : java.util.Vector, java.util.Hashtable, java.util.Enumeration", + "type": "STRING", + "defaultValue": "java.util.Vector" + }, + { + "key": "fromClasses", + "htmlDesc": "Optional. If this property is not defined, all classes should adhere to this constraint. Ex : *<em>.web.</em>*", + "type": "STRING", + "defaultValue": "java.util.Hashtable" + } + ] + } +} |