Test Description and Specification for PrintConversionEventImpl tests



public PrintConversionEventImpl(int _severity, java.lang.String _message, ValidationEventLocator _locator)

Description

Domain testing of input and output conditions, and external pre-conditions for class PrintConversionEventImpl, constructor public PrintConversionEventImpl(int _severity, java.lang.String _message, ValidationEventLocator _locator).

Equivalence class partitioning

_severity _message _locator Expected results Test Case ID
ERROR, FATAL_ERROR, WARNING valid, non-null, non-empty string valid, non-null object no exceptions Ctor001

Assertion testing

Assertion Expected results Test Case ID
PrintConversionEventImpl(int, String, ValidationEventLocator) with all arguments non-null, valid: getSeverity() returns the severity code for this warning/error. returns the severity code with which PrintConversionEventImpl object was created Ctor001
PrintConversionEventImpl(int, String, ValidationEventLocator) with all arguments non-null, valid: getMessage() returns the text message for this warning/error. returns the text message with which PrintConversionEventImpl object was created Ctor001
PrintConversionEventImpl(int, String, ValidationEventLocator) with all arguments non-null, valid: getLocator() returns the locator for this warning/error. returns the locator with which PrintConversionEventImpl object was created Ctor001
PrintConversionEventImpl(int, String, ValidationEventLocator) with all arguments non-null, valid: getLinkedException() returns null if the linked exception wasn't set. returns null Ctor001

Test Descriptions


See:
Test descriptions for CtorTests.java (Ctor001)


public PrintConversionEventImpl(int _severity, java.lang.String _message, ValidationEventLocator _locator, java.lang.Throwable _linkedException)

Description

Domain testing of input and output conditions, and external pre-conditions for class PrintConversionEventImpl, constructor public PrintConversionEventImpl(int _severity, java.lang.String _message, ValidationEventLocator _locator, java.lang.Throwable _linkedException).

Equivalence class partitioning

_severity _message _locator _linkedException Expected results Test Case ID
ERROR, FATAL_ERROR, WARNING valid, non-null, non-empty string valid, non-null object valid, non-null object no exceptions Ctor101

Assertion testing

Assertion Expected results Test Case ID
PrintConversionEventImpl(int, String, ValidationEventLocator, Throwable) with all arguments non-null, valid: getSeverity() returns the severity code for this warning/error. returns the severity code with which PrintConversionEventImpl object was created Ctor101
PrintConversionEventImpl(int, String, ValidationEventLocator, Throwable) with all arguments non-null, valid: getMessage() returns the text message for this warning/error. returns the text message with which PrintConversionEventImpl object was created Ctor101
PrintConversionEventImpl(int, String, ValidationEventLocator, Throwable) with all arguments non-null, valid: getLocator() returns the locator for this warning/error. returns the locator with which PrintConversionEventImpl object was created Ctor101
PrintConversionEventImpl(int, String, ValidationEventLocator, Throwable) with all arguments non-null, valid: getLinkedException() returns the linked exception for this warning/error. returns the exception with which PrintConversionEventImpl object was created Ctor101

Test Descriptions

Test cases included:
Ctor001, Ctor101.

ItemValue
title Constructor tests
source CtorTests.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.helpers.PrintConversionEventImpl.CtorTests
keywords runtime positive
executeArgs -TestCaseID ALL


Last updated: 02/12/17
Copyright © 2017, 2020 Oracle and/or its affiliates. All rights reserved.