Class NativeArrayIntegrationTestCase

java.lang.Object
org.junit.Assert
org.apache.lucene.tests.util.LuceneTestCase
org.elasticsearch.test.ESTestCase
org.elasticsearch.test.ESSingleNodeTestCase
org.elasticsearch.index.mapper.NativeArrayIntegrationTestCase

public abstract class NativeArrayIntegrationTestCase extends ESSingleNodeTestCase
  • Constructor Details

    • NativeArrayIntegrationTestCase

      public NativeArrayIntegrationTestCase()
  • Method Details

    • testSynthesizeEmptyArray

      public void testSynthesizeEmptyArray() throws Exception
      Throws:
      Exception
    • testSynthesizeArrayRandom

      public void testSynthesizeArrayRandom() throws Exception
      Throws:
      Exception
    • testSynthesizeArrayInObjectFieldRandom

      public void testSynthesizeArrayInObjectFieldRandom() throws Exception
      Throws:
      Exception
    • testSynthesizeArrayRandomIgnoresMalformed

      public void testSynthesizeArrayRandomIgnoresMalformed() throws Exception
      Throws:
      Exception
    • testSynthesizeRandomArrayInNestedContext

      public void testSynthesizeRandomArrayInNestedContext() throws Exception
      Throws:
      Exception
    • minimalMapping

      protected void minimalMapping(org.elasticsearch.xcontent.XContentBuilder b) throws IOException
      Throws:
      IOException
    • getFieldTypeName

      protected abstract String getFieldTypeName()
    • getRandomValue

      protected abstract Object getRandomValue()
    • getMalformedValue

      protected abstract Object getMalformedValue()
    • verifySyntheticArray

      protected void verifySyntheticArray(Object[][] arrays) throws IOException
      Throws:
      IOException
    • verifySyntheticArray

      protected void verifySyntheticArray(Object[][] arrays, org.elasticsearch.xcontent.XContentBuilder mapping, String... expectedStoredFields) throws IOException
      Throws:
      IOException
    • verifySyntheticArray

      protected void verifySyntheticArray(Object[][] inputArrays, Object[][] expectedArrays, org.elasticsearch.xcontent.XContentBuilder mapping, String... expectedStoredFields) throws IOException
      Throws:
      IOException
    • verifySyntheticObjectArray

      protected void verifySyntheticObjectArray(List<List<Object[]>> documents) throws IOException
      Throws:
      IOException
    • verifySyntheticArrayInObject

      protected void verifySyntheticArrayInObject(List<Object[]> documents) throws IOException
      Throws:
      IOException