Skip to content

Protection against NPE#217

Open
AbuZekry wants to merge 3 commits into
plutext:masterfrom
AbuZekry:master
Open

Protection against NPE#217
AbuZekry wants to merge 3 commits into
plutext:masterfrom
AbuZekry:master

Conversation

@AbuZekry
Copy link
Copy Markdown

Adding extra checks to protect against NPE

Adding extra checks to protect against NPE
@javadev
Copy link
Copy Markdown

javadev commented Dec 26, 2016

Unit test may be added.

@AbuZekry
Copy link
Copy Markdown
Author

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

@javadev
Copy link
Copy Markdown

javadev commented Dec 26, 2016

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

@AbuZekry
Copy link
Copy Markdown
Author

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

@javadev
Copy link
Copy Markdown

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
Copy Markdown
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