Skip to content
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

Protection against NPE #217

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Protection against NPE #217

wants to merge 3 commits into from

Conversation

AbuZekry
Copy link

Adding extra checks to protect against NPE

Adding extra checks to protect against NPE
@javadev
Copy link

javadev commented Dec 26, 2016

Unit test may be added.

@AbuZekry
Copy link
Author

Should I add this unit test or do you need a test case from me?

@javadev
Copy link

javadev commented Dec 26, 2016

Yes, it will be nice to have a unit test.

@AbuZekry
Copy link
Author

How could I do that? because I'm kind of new and don't know exactly how to do it.

@javadev
Copy link

javadev commented Dec 26, 2016

You may create a f8oe src/test/java/org/docx4j/model/listnumbering/ListNumberingDefinitionTest.java with unit test.

This is the unit test for commit plutext#217
This document is necessary for unit test ListNumberingDefinitionTest.java for commit plutext#217
@AbuZekry
Copy link
Author

I've created the unit test src/test/java/org/docx4j/model/listnumbering/ListNumberingDefinitionTest.java

Let me know your feedback

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.

2 participants