Community
Participate
Working Groups
Set values block on nullable record doesn't throw NullValueException EUnit variation function setValuesOnNullableRecord3() { @Test } state ExceptionState = ExceptionState.noException; try //The rec is nullable and not initialized, so it's null. //The assignment to s should fail. tr TestRec?; tr{ s = "a value for field s" }; Logresult.failed("no exception"); onException ( nvx NullValueException ) Logresult.passed("Got exception"); onException ( ax AnyException ) Logresult.failed("wrong exception"); end end
Resolved indirectly Verified by Pengfei
verfied 20111114_2101 & closed.