Class RunnerTestBase


  • public abstract class RunnerTestBase
    extends Object
    A collection of generic tests that any implementation of Runner should satisfy. These tests are provided in this module so that other implementations can reuse this test class.
    Author:
    Antonin Delpeuch
    • Constructor Detail

      • RunnerTestBase

        public RunnerTestBase()
    • Method Detail

      • tearDown

        @AfterClass
        public void tearDown()
      • createGrid

        protected Grid createGrid​(String[] columnNames,
                                  Cell[][] cells)
      • setUpExamples

        @BeforeMethod
        public void setUpExamples()
      • testAccessMetadata

        public void testAccessMetadata()
      • testWithOverlayModel

        public void testWithOverlayModel()
      • testDatamodelRunner

        public void testDatamodelRunner()
      • testAccessRows

        public void testAccessRows()
      • testGetRowsAfter

        public void testGetRowsAfter()
      • testGetRowsBefore

        public void testGetRowsBefore()
      • testGetRowsById

        public void testGetRowsById()
      • testAccessRowsOutOfBounds

        public void testAccessRowsOutOfBounds()
      • testIterateRowsFilter

        public void testIterateRowsFilter()
      • testCountMatchingRows

        public void testCountMatchingRows()
      • testCountMatchingRecordsApproxOvershoot

        public void testCountMatchingRecordsApproxOvershoot()
      • testCountMatchingRecordsApproxZero

        public void testCountMatchingRecordsApproxZero()
      • testCountMatchingRecordsApproxIntermediate

        public void testCountMatchingRecordsApproxIntermediate()
      • testAccessRecords

        public void testAccessRecords()
      • testGetRecordsAfter

        public void testGetRecordsAfter()
      • testGetRecordsBefore

        public void testGetRecordsBefore()
      • testRecordGroupingNoRecordStart

        public void testRecordGroupingNoRecordStart()
      • testRecordsRespectKeyColumnIndex

        public void testRecordsRespectKeyColumnIndex()
      • testIterateRecordsFilter

        public void testIterateRecordsFilter()
      • testCountMatchingRecords

        public void testCountMatchingRecords()
      • testCountMatchingRowsApproxOvershoot

        public void testCountMatchingRowsApproxOvershoot()
      • testCountMatchingRowsApproxZero

        public void testCountMatchingRowsApproxZero()
      • testCountMatchingRowsApproxIntermediate

        public void testCountMatchingRowsApproxIntermediate()
      • testComputeRowFacets

        public void testComputeRowFacets()
      • testComputeRecordFacets

        public void testComputeRecordFacets()
      • testAggregateRowsApproxPartialResult

        public void testAggregateRowsApproxPartialResult()
      • testAggregateRowsApproxFullResult

        public void testAggregateRowsApproxFullResult()
      • testAggregateRecordsApproxPartialResult

        public void testAggregateRecordsApproxPartialResult()
      • testAggregateRecordsApproxFullResult

        public void testAggregateRecordsApproxFullResult()
      • testMapRows

        public void testMapRows()
      • testFlatMapRows

        public void testFlatMapRows()
      • testStatefullyMapRows

        public void testStatefullyMapRows()
      • testMapRecords

        public void testMapRecords()
      • testReorderRowsPermanently

        public void testReorderRowsPermanently()
      • testReorderRowsTemporarily

        public void testReorderRowsTemporarily()
      • testReorderRecordsPermanently

        public void testReorderRecordsPermanently()
      • testReorderRecordsTemporarily

        public void testReorderRecordsTemporarily()
      • testRemoveRows

        public void testRemoveRows()
      • testRemoveRecords

        public void testRemoveRecords()
      • testLimitRows

        public void testLimitRows()
      • testDropRows

        public void testDropRows()
      • testLoadChangeDataDoesNotExist

        public void testLoadChangeDataDoesNotExist()
                                            throws IOException
        Throws:
        IOException
      • testIterateChangeData

        public void testIterateChangeData()
      • testGenerateRowChangeData

        public void testGenerateRowChangeData()
      • testGenerateBatchedChangeData

        public void testGenerateBatchedChangeData()
      • testGenerateFaultyRowChangeData

        public void testGenerateFaultyRowChangeData()
      • testGenerateRecordChangeData

        public void testGenerateRecordChangeData()
      • testGenerateFaultyRecordChangeData

        public void testGenerateFaultyRecordChangeData()
      • testJoinChangeData

        public void testJoinChangeData()
      • testFlatJoinChangeData

        public void testFlatJoinChangeData()
      • testRecordJoinChangeData

        public void testRecordJoinChangeData()
      • testConcatenate

        public void testConcatenate()
      • testConcatenateIncompatibleNumberOfColumns

        public void testConcatenateIncompatibleNumberOfColumns()
      • testLoadTextFileWithProgress

        public void testLoadTextFileWithProgress()
                                          throws IOException
        Throws:
        IOException
      • testLoadTextFileTrailingNewLine

        public void testLoadTextFileTrailingNewLine()
                                             throws IOException
        Throws:
        IOException
      • testLoadTextFileDoesNotExist

        public void testLoadTextFileDoesNotExist()
                                          throws IOException
        Throws:
        IOException
      • testCachingWithoutProgress

        public void testCachingWithoutProgress()
      • testLoadChangeDataFromIterable

        public void testLoadChangeDataFromIterable()
                                            throws IOException
        Throws:
        IOException
      • assertGridEquals

        public static void assertGridEquals​(Grid actual,
                                            Grid expected)
        Because Grid implementations are not required to use the Object.equals(Object) method to compare the contents of grids, we use this helper to check that two grids have the same contents.
        Parameters:
        actual -
        expected -