Class MetadataMapperTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase

public abstract class MetadataMapperTestCase extends MapperServiceTestCase
  • Constructor Details

    • MetadataMapperTestCase

      public MetadataMapperTestCase()
  • Method Details

    • fieldName

      protected abstract String fieldName()
    • isConfigurable

      protected abstract boolean isConfigurable()
    • isSupportedOn

      protected boolean isSupportedOn(Version version)
    • registerParameters

      protected abstract void registerParameters(MetadataMapperTestCase.ParameterChecker checker) throws IOException
      Throws:
      IOException
    • testUpdates

      public final void testUpdates() throws IOException
      Throws:
      IOException
    • testUnsupportedParametersAreRejected

      public final void testUnsupportedParametersAreRejected() throws IOException
      Throws:
      IOException
    • testFixedMetaFieldsAreNotConfigurable

      public final void testFixedMetaFieldsAreNotConfigurable() throws IOException
      Throws:
      IOException
    • testTypeAndFriendsAreAcceptedBefore_8_6_0

      public void testTypeAndFriendsAreAcceptedBefore_8_6_0() throws IOException
      Throws:
      IOException
    • testTypeAndFriendsAreDeprecatedFrom_8_6_0

      public void testTypeAndFriendsAreDeprecatedFrom_8_6_0() throws IOException
      Throws:
      IOException