-
Notifications
You must be signed in to change notification settings - Fork 78
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
FIX - Test for inconsistent xref for catalog. #319
Conversation
- added test for inconsistent object number from xref table; - added constant for inconsistent catalog number; and - unit tests and resources for Doc Catalog. Closes #208
Codecov Report
@@ Coverage Diff @@
## integration #319 +/- ##
=================================================
+ Coverage 43.53% 43.54% +0.01%
- Complexity 3322 3323 +1
=================================================
Files 367 367
Lines 30160 30166 +6
Branches 5965 5967 +2
=================================================
+ Hits 13129 13136 +7
+ Misses 14631 14629 -2
- Partials 2400 2401 +1
Continue to review full report at Codecov.
|
@@ -199,6 +196,7 @@ | |||
private static final String DICT_KEY_LANG = "Lang"; | |||
private static final String DICT_KEY_PAGES = "Pages"; | |||
private static final String DICT_KEY_PAGE_LABELS = "PageLabels"; | |||
private static final String DICT_KEY_TYPE = "Type"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixed indentation white-space.
@@ -0,0 +1,118 @@ | |||
/** | |||
* | |||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty Javadoc.
@@ -0,0 +1,95 @@ | |||
/** | |||
* | |||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty Javadoc.
|
||
/** | ||
* | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty Javadoc.
// If the type key value is not Catalog | ||
info.setWellFormed(false); | ||
info.setMessage(new ErrorMessage(MessageConstants.ERR_DOC_CAT_TYPE_NO_CAT, 0)); | ||
info.setMessage(new ErrorMessage(MessageConstants.ERR_DOC_CAT_TYPE_NO_CAT, 0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate messages?
- removed empty JavaDoc; - fixed inconsistent indentation; and - removed duplicate error message.
Closes Inconsistent catalog indirect reference and object number #208