-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
RISImporterTest [v2] #817
RISImporterTest [v2] #817
Conversation
9c2703d
to
61729e4
Compare
61729e4
to
53a3b81
Compare
All requested test cases from #505 have been successfully implemented. |
a4e8143
to
a080030
Compare
Ready to merge? |
Assert.assertTrue(importer.isRecognizedFormat(stream)); | ||
} | ||
try (InputStream stream = RISImporterTest.class.getResourceAsStream("RisImporterTest2.ris")) { |
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.
Move to new test method
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.
Done.
a080030
to
9e99a4b
Compare
|
||
int referenceCount = 0; | ||
for (int i = 0; i < risEntries.size(); i++) { | ||
for (int j = 0; j < bibEntries.size(); j++) { |
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.
Wait until #982 is merged in, then a simpler BibtexEntryAssert.assertEquals() should work.
9e99a4b
to
58b6f44
Compare
public class RISImporterTest { | ||
|
||
RisImporter risImporter; |
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.
make this private
👍 LGTM |
Prepare for merge (merge commits)? |
LGTM, too.
Finally squash all commit together then this can be merged in. |
267ebf6
to
fbe4d24
Compare
Done. |
No description provided.