| Summary: | Set values block on nullable record doesn't throw NullValueException | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | hjiyong, mayunf, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Resolved indirectly Verified by Pengfei verfied 20111114_2101 & closed. |
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