Skip to content

Added test for TableHealthStatus #330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: upgrade-jdk11
Choose a base branch
from

Conversation

sonalgaud12
Copy link

This PR Addresses #522

Test Added:

testEnumValues(): Verifies all four enum constants exist and are in the expected order in the values() array.
testValueOf(): Confirms that valueOf() correctly returns the corresponding enum constant for each valid string name.
testDescribeContents(): Ensures describeContents() returns 0 for all enum values as required by Parcelable spec.
testCreator(): Checks that the Parcelable.Creator is properly initialized and not null.
testParcelableImplementation(): Validates the full Parcelable implementation by writing each enum to a Parcel and reading it back.
testCreatorNewArray(): Verifies the CREATOR.newArray() method creates a correctly sized array with null elements.

Test Result:

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant