Skip to content

Passed

org.appng.el.ExpressionEvaluatorTest.testTernary

Took 0.15 sec.

Standard Output

2022-02-03 14:58:51,034 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'a' of type 'java.lang.Integer' to value '5'
2022-02-03 14:58:51,035 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'b' of type 'java.lang.Integer' to value '6'
2022-02-03 14:58:51,035 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'a' of type 'java.lang.Integer' to value '5'
2022-02-03 14:58:51,035 TRACE [main] org.appng.el.ExpressionEvaluator: setting variable 'b' of type '
...[truncated 180 chars]...
 {foo=5})]
2022-02-03 14:58:51,060 DEBUG [main] org.appng.el.ExpressionEvaluator: ${b eq 5 ? 'is five' : 'is not five'} = is not five [(a = 5), (b = 6), (SESSION = {foo=5})]
2022-02-03 14:58:51,062 DEBUG [main] org.appng.el.ExpressionEvaluator: ${a eq null ? 'is null': 'is not null'} = is not null [(a = 5), (b = 6), (SESSION = {foo=5})]
2022-02-03 14:58:51,062 DEBUG [main] org.appng.el.ExpressionEvaluator: ${c eq null ? 'is null': 'is not null'} = is null [(a = 5), (b = 6), (SESSION = {foo=5})]