Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7812

modified test for testing payload

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.5.1
    • None
    • core/queryparser
    • None
    • jdk 1.8
      mvn 3.3

    • New, Patch Available

    Description

      no specific test for SpanPayloadCheckQuery method specifically

      matches = payloadToMatch.get(upto).bytesEquals(payload);

      the only implementation i could locate was in collectLeaf of SpanPayloadCheckQuery

      modified SpanPayloadCheckQueryTest now tests collectLeaf of SpanPayloadCheckQuery

      patch for test attached

      suggestions/advice are most welcome

      Attachments

        1. TestPayloadCheckQuery.java
          20 kB
          Martin Gainty

        Activity

          People

            ehatcher Erik Hatcher
            mgainty@hotmail.com Martin Gainty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified