Class ChannelsWriterTest
java.lang.Object
org.apache.maven.surefire.api.util.internal.ChannelsWriterTest
The tests for
Channels.newChannel(OutputStream)
and Channels.newBufferedChannel(OutputStream)
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
ee
public final org.junit.rules.ExpectedException ee -
tmp
public final org.junit.rules.TemporaryFolder tmp
-
-
Constructor Details
-
ChannelsWriterTest
public ChannelsWriterTest()
-
-
Method Details
-
wrappedBuffer
- Throws:
Exception
-
bigBuffer
- Throws:
Exception
-
shouldFlushWhenEmptyBuffer
- Throws:
Exception
-
shouldFlushWhenEmptyBufferOnBufferedWrites
- Throws:
Exception
-
bufferedChannel
- Throws:
Exception
-
shouldFailAfterClosed
- Throws:
IOException
-
shouldFailIfNotReadable
- Throws:
IOException
-
shouldFailIOnDirectBuffer
- Throws:
IOException
-
shouldUseFileChannel
- Throws:
IOException
-
shouldValidateInput1
- Throws:
Exception
-
shouldValidateInput2
- Throws:
Exception
-
shouldValidateInput3
- Throws:
Exception
-
shouldValidateInput4
- Throws:
Exception
-
shouldClose
- Throws:
Exception
-
shouldNotClose
- Throws:
Exception
-
shouldAlreadyClosed
- Throws:
Exception
-
shouldWriteZeroLength
- Throws:
Exception
-
shouldWriteArray
- Throws:
Exception
-
shouldWrite
- Throws:
Exception
-
shouldThrowExceptionOnWrite
- Throws:
Exception
-
shouldThrowExceptionOnFuture1
- Throws:
Exception
-
shouldThrowExceptionOnFuture2
- Throws:
Exception
-
shouldThrowExceptionOnFuture3
- Throws:
Exception
-