Skip to content

Passed

org.appng.el.ExpressionEvaluatorTest.testTernary

Took 59 ms.

Standard Output

2023-01-26 17:16:40,593 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'a' of type 'java.lang.Integer' to value '5'
2023-01-26 17:16:40,594 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'b' of type 'java.lang.Integer' to value '6'
2023-01-26 17:16:40,594 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'a' of type 'java.lang.Integer' to value '5'
2023-01-26 17:16:40,594 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'b' of type '
...[truncated 224 chars]...
0 DEBUG [main] org.appng.el.ExpressionEvaluator: ${b eq 5 ? 'is five' : 'is not five'} = is not five [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]
2023-01-26 17:16:40,621 DEBUG [main] org.appng.el.ExpressionEvaluator: ${a eq null ? 'is null': 'is not null'} = is not null [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]
2023-01-26 17:16:40,622 DEBUG [main] org.appng.el.ExpressionEvaluator: ${c eq null ? 'is null': 'is not null'} = is null [(a = 5), (b = 6), (SESSION = {foo=5, fizz=TRUE})]