aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/alwaysErrThreeTimes.json
blob: 9c2b3581d333e2be029c2c8c2ace36b24d62db9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 'name': 'always errors'
, 'description': 'A trivial rule set for experimentation.'
, 'rules': [
//---------------------------
  { 'id': 112201
     , 'name': 'Reports three times'
     , 'description': 'Test guideline that reports three errors'
     , 'rule':
       function() {
         report('Problem 1 (g1)', null);
         report('Problem 3 (g1)', null);
         report('Problem 2 (g1)', null);
       }
     },
//---------------------------
   { 'id': 1122202
     , 'name': 'Reports two times'
     , 'description': 'Test guideline that reports two errors.'
     , 'rule':
       function() {
         report('Problem 1 (g2)', null);
         report('Problem 2 (g2)', null);
       }
      }//,
//---------------------------
   ]
}