MCPcopy Create free account
hub / github.com/apache/pig / testNotAppendable

Method testNotAppendable

test/org/apache/pig/data/TestSchemaTuple.java:349–363  ·  view source on GitHub ↗
(SchemaTupleFactory tf, Schema udfSchema)

Source from the content-addressed store, hash-verified

347 }
348
349 private void testNotAppendable(SchemaTupleFactory tf, Schema udfSchema) throws Exception {
350 SchemaTuple<?> st = tf.newTuple();
351 Schema.equals(udfSchema, st.getSchema(), false, true);
352
353 assertEquals(udfSchema.size(), st.size());
354
355 testHashCodeEqualAsNormalTuple(tf);
356
357 shouldAllBeNull(tf);
358
359 copyThenCompare(tf);
360
361 testSerDe(tf);
362 testInterStorageSerDe(tf);
363 }
364
365 private void copyThenCompare(SchemaTupleFactory tf) throws ExecException {
366 SchemaTuple<?> st = tf.newTuple();

Callers 1

putThroughPacesMethod · 0.95

Calls 10

equalsMethod · 0.95
shouldAllBeNullMethod · 0.95
copyThenCompareMethod · 0.95
testSerDeMethod · 0.95
testInterStorageSerDeMethod · 0.95
newTupleMethod · 0.65
getSchemaMethod · 0.65
sizeMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected