public DefaultValidationEventHandler()
Domain testing of input and output conditions, and external
pre-conditions for class DefaultValidationEventHandler,
constructor public DefaultValidationEventHandler().
| Assertion | Expected results | Test Case ID |
|---|---|---|
| DefaultValidationEventHandler(): no exceptions are thrown. | no exceptions | CtorHandle001 |
public boolean handleEvent(ValidationEvent event)
Domain testing of input and output conditions, and external
pre-conditions for class DefaultValidationEventHandler,
method public boolean handleEvent(ValidationEvent event).
| Assertion | Expected results | Test Case ID |
|---|---|---|
| handleEvent(ValidationEvent event): event severity is ERROR, handleEvent(event) returns false. | handleEvent(event) returns false | CtorHandle001 |
| handleEvent(ValidationEvent event): event severity is FATAL_ERROR, handleEvent(event) returns false. | handleEvent(event) returns false | CtorHandle002 |
| handleEvent(ValidationEvent event): event severity is WARNING, handleEvent(event) returns true. | handleEvent(event) returns true | CtorHandle003 |
| handleEvent(null) is invoked, subsequent handleEvent(event) with FATAL_ERROR returns false. | handleEvent(null) does not affect subsequent handleEvent(event) | CtorHandle004 |
Test cases included:
CtorHandle001,
CtorHandle002,
CtorHandle003,
CtorHandle004.
| Item | Value |
|---|---|
| title | Constructor tests |
| source | CtorHandleTests.java |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.helpers.DefaultValidationEventHandler.CtorHandleTests |
| keywords | runtime positive |
| executeArgs | -TestCaseID ALL |