fix test bug (and fix IWC to fail immediately if you do this)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439519 13f79535-47bb-0310-9956-ffa450edef68
move these tests to base dv format class

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439520 13f79535-47bb-0310-9956-ffa450edef68
Fix AppendingLongBuffer/Iterator.hasNext.

This method failed to return the right result when the total number of values was a multiple of MAX_PENDING_COUNT = 1024.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439530 13f79535-47bb-0310-9956-ffa450edef68
add nocommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439532 13f79535-47bb-0310-9956-ffa450edef68