camunda / dmn-tck

Decision Model and Notation Technology Compatibility Kit
0 stars 1 forks source link

0097-feel-month-of-year-function #29

Open saig0 opened 3 years ago

saig0 commented 3 years ago
Failed to parse FEEL expression 'month of year(date_input_001+@"P1M")': failed to parse expression 'month of year(date_input_001+@"P1M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P2M")': failed to parse expression 'month of year(date_input_001+@"P2M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P3M")': failed to parse expression 'month of year(date_input_001+@"P3M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P4M")': failed to parse expression 'month of year(date_input_001+@"P4M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P5M")': failed to parse expression 'month of year(date_input_001+@"P5M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P6M")': failed to parse expression 'month of year(date_input_001+@"P6M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P7M")': failed to parse expression 'month of year(date_input_001+@"P7M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P8M")': failed to parse expression 'month of year(date_input_001+@"P8M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P9M")': failed to parse expression 'month of year(date_input_001+@"P9M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P10M")': failed to parse expression 'month of year(date_input_001+@"P10M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date_input_001+@"P11M")': failed to parse expression 'month of year(date_input_001+@"P11M")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(da"
Failed to parse FEEL expression 'month of year(date: @"2019-09-17")': failed to parse expression 'month of year(date: @"2019-09-17")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:21, found "@\"2019-09-"
Failed to parse FEEL expression 'month of year(date: @"2019-09-17T10:10:10")': failed to parse expression 'month of year(date: @"2019-09-17T10:10:10")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:21, found "@\"2019-09-"
Failed to parse FEEL expression 'month of year(value: @"1970-01-01")': failed to parse expression 'month of year(value: @"1970-01-01")': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:22, found "@\"1970-01-"
Failed to parse FEEL expression 'month of year(@"1970-01-01", @"1970-01-01")': failed to parse expression 'month of year(@"1970-01-01", @"1970-01-01")': Expected (StringIn("<=", ">=", "<", ">", "!=", "=") | "between" | "in" | "and" | "or" | end-of-input):1:7, found "of year(@\""
saig0 commented 3 years ago

Camunda runner

Executing test '0097-feel-month-of-year-function-test-01 / date_001'
Ignore test case: No decision found with name 'date_001'. Parsed decisions: '[null_008, null_003, null_002, null_001, datetime_002, null_007, null_006, date_002, null_005, null_004]'

Executing test '0097-feel-month-of-year-function-test-01 / date_002'
Test failure: Expected 'September' but an error is thrown: FeelException: FEEL/SCALA-01008 Error while evaluating expression: failed to parse expression 'month of year(date: @&quot;2019-09-17&quot;)': Expected (functionDefinition | forExpression | ifExpression | quantifiedExpression | expression2):1:21, found &quot;@\&quot;2019-09-&quot;

Executing test '0097-feel-month-of-year-function-test-01 / datetime_001'
Ignore test case: No decision found with name 'date_001'. Parsed decisions: '[null_008, null_003, null_002, null_001, datetime_002, null_007, null_006, date_002, null_005, null_004]'

...
saig0 commented 3 years ago

https://github.com/camunda/feel-scala/issues/297