1. Penny Wyatt
  2. jira-qa-helper-data

Commits

Penny Wyatt  committed 7bb22df

Added rule for StringLength.UNLIMITED

  • Participants
  • Parent commits 616bdfc
  • Branches master

Comments (0)

Files changed (1)

File jradev.json

View file
  • Ignore whitespace
                         	"regex": ".*AddProject.*"
                         }
                     ]
+                },
+                {
+                	"name": "Use of StringLength.UNLIMITED",
+                	"specificity": "SPECIFIC",
+                	"description": "Code has been added or modified that uses ActiveObject's StringLength.UNLIMITED field length. This doesn't work in MS SQL Server. See https://extranet.atlassian.com/display/~jpendleton/2012/10/26/a+reason+not+to+use+ActiveObject%27s+StringLength.UNLIMITED for more details.",
+                	"matching":
+                    [
+                        {
+                            "property": "NAME",
+                            "regex": ".*\\.java$"
+                        },
+                        {
+                            "property": "PATH",
+                            "regex": ".*src/test/.*",
+                            "invert": "true"
+                        },
+                        {
+                        	"property": "CONTENTADDED",
+                        	"regex": ".*StringLength\.UNLIMITED.*"
+                        }
+                    ]
                 }
             ]
         }