@Test
public void testGetDeserializer() {
// Test that a valid serializer class is returned when its present
assertNotNull("A valid class must be returned for default Writable SerDe",
factory.getDeserializer(Writable.class));
// Test that a null is returned when none can be found.
assertNull("A null should be returned if there are no deserializers found",
factory.getDeserializer(TestSerializationFactory.class));
}
TestSerializationFactory.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:hadoop-oss
作者:
评论列表
文章目录