mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 11:35:14 +00:00
LUCENE-6271: remove nocommit from LTC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670425 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07c20804b1
commit
c82e9d47cd
@ -1984,12 +1984,8 @@ public abstract class LuceneTestCase extends Assert {
|
|||||||
* checks docs + freqs + positions + payloads, sequentially
|
* checks docs + freqs + positions + payloads, sequentially
|
||||||
*/
|
*/
|
||||||
public void assertDocsAndPositionsEnumEquals(String info, PostingsEnum leftDocs, PostingsEnum rightDocs) throws IOException {
|
public void assertDocsAndPositionsEnumEquals(String info, PostingsEnum leftDocs, PostingsEnum rightDocs) throws IOException {
|
||||||
if (leftDocs == null || rightDocs == null) {
|
assertNotNull(leftDocs);
|
||||||
// nocommit: this should now only be for term or field not existing, is this assert used in that way?
|
assertNotNull(rightDocs);
|
||||||
assertNull(leftDocs);
|
|
||||||
assertNull(rightDocs);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
assertEquals(info, -1, leftDocs.docID());
|
assertEquals(info, -1, leftDocs.docID());
|
||||||
assertEquals(info, -1, rightDocs.docID());
|
assertEquals(info, -1, rightDocs.docID());
|
||||||
int docid;
|
int docid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user