hongji.li
2023-11-07 192c736b8ac4b2d84cb823ac71f17e507948a5e8
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
28
29
30
31
32
33
34
35
36
37
38
Quintiq file version 2.0
#parent: #root
TableFunction CalcTestInstanceKT
{
  Condition: 'this.IsForBenchmarking();'
  DefaultOutputFunction:
  [*
    // lauri Jun-18-2014 (created)
    this.HasMatchInTestInstanceKT( false );
  *]
  Description: 'this run matches a run in KT of test instances'
  OutputFunction:
  [*
    // lauri Jun-18-2014 (created)
    // desmondt Sept-24-2014 (edited)
    // check if this instance exist in table
    this.HasMatchInTestInstanceKT( true );
  *]
  TableDefinition: TestInstances
  FunctionColumnMatch
  {
    ColumnDefinition: ID
    MatchExpression: 'this.TestInstanceID()'
    Operator: '='
  }
  FunctionColumnMatch
  {
    ColumnDefinition: Scenario
    MatchExpression: "guard( this.ScenarioName(), '' )"
    Operator: '='
  }
  FunctionColumnMatch
  {
    ColumnDefinition: Strategy
    MatchExpression: 'this.StrategyName()'
    Operator: '='
  }
}