[
https://issues.apache.org/jira/browse/HADOOP-9199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552639#comment-13552639
]
Vadim Bondarev commented on HADOOP-9199:
----------------------------------------
Classes Method Desc
TestArrayFile testArrayFileIteration test ArrayFile.Reader
methods next(); reader reader.seek() in range and out of range.
TestArrayWritable testArrayWritableStringConstructor test ArrayWritable
constructor with String[] as a parameter
testNullArgument test TextArrayWritable
with null parameter
testArrayWritableToArray test TextArrayWritable
toArray() method
TestBloomMapFile testBloomMapFileConstructors test all
BloomMapFile.Writer available constructors.
testDeleteFile test method
BloomMapFile.delete.
testGetBloomMapFile test
BloomMapFile.Reader method get(Writable wr) in range and out of range.
testIOExceptionInWriterConstructor test
BloomMapFile.Reader constructor with throw IOException in
filesystem.getFileSystem(conf);
TestBooleanWritable testCommonMethods test methods
hashCode(), equals(), compareTo() against instance of type BooleanWritable
TestBytesWritable testObjectCommonMethods test methods
compareTo(), toString(), equals() against instance of type ByteWritable
TestCompressedWritable testCompressedWritableWriteHeader test
CompressedWritable write(DataOutputBuffer) method
testCompressedWritableReadFields test
CompressedWritable readFields() method
TestEnumSetWritable testEnumSetWritableEquals test equals() method
against instance of type EnumSetWritable
testEnumSetWritableWriteRead test EnumSetWritable
write(DataOutputBuffer out) and iteration by TestEnumSet through iterator().
TestMapFile
testDeprecatedConstructors test all available
constructor of type MapFile.Writer.
testDescOrderWithThrowExceptionWriterAppend test
MapFile.Writer method append(Writable wr) in desc order (2, 1);
testFix test MapFile.fix()
method which attempts to re-creating MapFile index.
testGetClosestOnCurrentApi test method
reader.getClosest(WritableComparable wrc) variations.
testKeyLessWriterCreation test MapFile.Writer
constructor without varargs paramereters (SequenceFile.Writer.Option... opts).
testKeyValueClasses test on verification
key and value classes for MapFile.Writer type.
testMainMethodMapFile test for static void
main() method.
testMidKeyOnCurrentApi test MapFile.Reader
method reader.midKey() which get key in the middle of the file.
testOnFinalKey test MapFile.Reader
method reader.finalKey() which get key in the end of file.
testPathExplosionWriterCreation test IOException in
MapFile.Writer constructor
testReaderKeyIteration test MapFile.Reader
method reader.next(key, value) for iteration.
testReaderWithWrongKeyClass test MapFile.Reader
method reader.getClosest() whith wrond class key
testReaderWithWrongValueClass test MapFile.Writer
method writer.append() with wrong type key instance
testRename test MapFile.rename()
method
testRenameWithException test MapFile.rename()
method with throw IOException
testRenameWithFalse test MapFile.rename()
method with FleSystem.rename return false
testWriteWithFailDirCreation test MapFile.Writer
constructor with throw IOException
TestMultipleIOException
testEmptyParamIOException test
MultipleIOException.createIOException() method
testSingleParamIOException test
MultipleIOException.testSingleParamIOException() method
testMultipleIOException test
MultipleIOException.createIOException() method
TestNullWritable
testNullableWritable test uncovered methods
in class NullWritable
TestOutputBuffer testOutputBufferWithoutResize test OutputBuffer
methods write(InputStream in, int), out.getData()
testOutputBufferReset test just like
previous only with adding out.reset() call
TestSetFile testSetFileAccessMethods test SetFile.Reader
next(), get() combination method
TestText testBytesToCodePoint test static method
Text.bytesToCodePoint();
testCharAt test Text class method
charAt(i) in range and out of range
testReadWriteOperations test Text
readFields()/write() methods combination
testUtf8Length test Text.utf8Length()
static method
testbytesToCodePointWithInvalidUTF test static method
with invalid utf value (throw BufferUnderflowException)
TestTwoDArrayWritable test2DArrayConstructor test
TwoDArrayWritable constructor with Text[][] parameter
test2DArrayToArray test
TwoDArrayWritable toArray() method
test2DArrayWriteRead test
TwoDArrayWritable methods combination
testIllegalAccessException test
IllegalAccessException in TwoDArrayWritable.readFields() method
testInstantiationException test
InstantiationException in TwoDArrayWritable.readFields() method
TestVLongWritable testReadFields test
VLongWritable.readFields(in) method
testSetGetVLong test VLongWritable
combination of methods set()/get() equals(), compareTo()
TestWritableComparator
testReadTypes test static methods
readUnsignedShort()/readVInt()/readVLong with different parameters
testShouldThrowsException test
WritableComparator.compare with Exception
testWritableComparator test
WritableComparator.compare with >, <, = results
> Cover package org.apache.hadoop.io with unit tests
> --------------------------------------------------
>
> Key: HADOOP-9199
> URL: https://issues.apache.org/jira/browse/HADOOP-9199
> Project: Hadoop Common
> Issue Type: Test
> Affects Versions: 3.0.0, 2.0.3-alpha, 0.23.6
> Reporter: Vadim Bondarev
> Attachments: HADOOP-9199-branch-0.23-a.patch,
> HADOOP-9199-branch-2-a.patch, HADOOP-9199-trunk-a.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira