Class AbstractNumericFieldMapperTestCase

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

public abstract class AbstractNumericFieldMapperTestCase
extends MapperTestCase
  • Constructor Details

    • AbstractNumericFieldMapperTestCase

      public AbstractNumericFieldMapperTestCase()
  • Method Details

    • types

      protected abstract java.util.Set<java.lang.String> types()
    • wholeTypes

      protected abstract java.util.Set<java.lang.String> wholeTypes()
    • testTypesAndWholeTypes

      public final void testTypesAndWholeTypes()
    • testDefaults

      public final void testDefaults() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestDefaults

      protected abstract void doTestDefaults​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testNotIndexed

      public final void testNotIndexed() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestNotIndexed

      protected abstract void doTestNotIndexed​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testNoDocValues

      public final void testNoDocValues() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestNoDocValues

      protected abstract void doTestNoDocValues​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testStore

      public final void testStore() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestStore

      protected abstract void doTestStore​(java.lang.String type) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • testCoerce

      public final void testCoerce() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestCoerce

      protected abstract void doTestCoerce​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException
    • testDecimalCoerce

      public final void testDecimalCoerce() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • doTestDecimalCoerce

      protected abstract void doTestDecimalCoerce​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException
    • testNullValue

      public final void testNullValue() throws java.io.IOException
      Throws:
      java.io.IOException
    • doTestNullValue

      protected abstract void doTestNullValue​(java.lang.String type) throws java.io.IOException
      Throws:
      java.io.IOException