com.atlassian.jira.matchers
Class LuceneDocumentMatchers

java.lang.Object
  extended by com.atlassian.jira.matchers.LuceneDocumentMatchers

public class LuceneDocumentMatchers
extends Object

Since:
v6.1

Nested Class Summary
static class LuceneDocumentMatchers.DocumentFieldMatcher
           
static class LuceneDocumentMatchers.FieldableHasStringValue
           
 
Constructor Summary
LuceneDocumentMatchers()
           
 
Method Summary
static LuceneDocumentMatchers.FieldableHasStringValue fieldableHasStringValue(org.hamcrest.Matcher<? super String> stringValueMatcher)
           
static LuceneDocumentMatchers.DocumentFieldMatcher hasStringField(String fieldName, String expectedValue)
           
static LuceneDocumentMatchers.DocumentFieldMatcher hasStringFieldThat(String fieldName, org.hamcrest.Matcher<org.apache.lucene.document.Fieldable> expectedValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneDocumentMatchers

public LuceneDocumentMatchers()
Method Detail

fieldableHasStringValue

public static LuceneDocumentMatchers.FieldableHasStringValue fieldableHasStringValue(org.hamcrest.Matcher<? super String> stringValueMatcher)

hasStringFieldThat

public static LuceneDocumentMatchers.DocumentFieldMatcher hasStringFieldThat(String fieldName,
                                                                             org.hamcrest.Matcher<org.apache.lucene.document.Fieldable> expectedValue)

hasStringField

public static LuceneDocumentMatchers.DocumentFieldMatcher hasStringField(String fieldName,
                                                                         String expectedValue)


Copyright © 2002-2014 Atlassian. All Rights Reserved.