aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/alwaysErrThreeTimes.json
blob: 24b0b62863ce2856b4372239ba7239ab05dde113 (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":13
             , "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":14
             , "name": "Reports two times"
             , "description": "Test guideline that reports two errors."
             , "rule":
               function() {
                 report('Problem 1 (g2)', null);
                 report('Problem 2 (g2)', null);
               }
              }//,
//---------------------------------
           ]
}