public class TestCopier extends SubOperatorTest
Note, however, that if significant changes are made to the copier, then additional tests should be added to re-validate the code.
DrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestCopier() |
| Modifier and Type | Method and Description |
|---|---|
static RowSet.SingleRowSet |
makeDataSet(TupleMetadata schema,
int first,
int step,
int count) |
static void |
runTypeTest(OperatorFixture fixture,
TypeProtos.MinorType type) |
static void |
testAllTypes(OperatorFixture fixture) |
void |
testAscNullsFirst() |
void |
testAscNullsLast() |
void |
testDescNullsFirst() |
void |
testDescNullsLast() |
void |
testEmptyBatch() |
void |
testEmptyInput() |
void |
testMapType() |
void |
testMapType(OperatorFixture fixture) |
void |
testMultipleOutput() |
void |
testMultipleOutputDesc() |
void |
testSingleRow() |
void |
testTwoBatchesSingleRow() |
void |
testTypes() |
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic void testEmptyInput()
public static RowSet.SingleRowSet makeDataSet(TupleMetadata schema, int first, int step, int count)
public static void runTypeTest(OperatorFixture fixture, TypeProtos.MinorType type) throws Exception
Exceptionpublic static void testAllTypes(OperatorFixture fixture) throws Exception
Exceptionpublic void testMapType(OperatorFixture fixture) throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.