public class ClosingTest extends Object
Constructor and Description |
---|
ClosingTest() |
@Test public void closesAfterAcceptingNull() throws Throwable
Throwable
@Test public void closesAfterAcceptingThrowsOnConsumption() throws Throwable
Throwable
@Test public void closesAfterAcceptingThrowsOnClose() throws Throwable
Throwable
@Test public void closesAfterAcceptingThrowsOnConsumptionAndOnClose() throws Throwable
Throwable
@Test public void closesAfterBiAccepting() throws Throwable
Throwable
@Test public void closesAfterBiAcceptingNull() throws Throwable
Throwable
@Test public void closesAfterBiAcceptingThrowsOnConsumption() throws Throwable
Throwable
@Test public void closesAfterBiAcceptingThrowsOnClose() throws Throwable
Throwable
@Test public void closesAfterBiAcceptingThrowsOnConsumptionAndOnClose() throws Throwable
Throwable
@Test public void closesAfterApplyingNull() throws Throwable
Throwable
@Test public void closesAfterApplyingThrowsOnConsumption() throws Throwable
Throwable
@Test public void closesAfterApplyingThrowsOnClose() throws Throwable
Throwable
@Test public void closesAfterApplyingThrowsOnConsumptionAndOnClose() throws Throwable
Throwable
@Test public void closesAfterBiApplyingNull() throws Throwable
Throwable
@Test public void closesAfterBiApplyingThrowsOnConsumption() throws Throwable
Throwable
@Test public void closesAfterBiApplyingThrowsOnClose() throws Throwable
Throwable
@Test public void closesAfterBiApplyingThrowsOnConsumptionAndOnClose() throws Throwable
Throwable
@Test public void closesAfterCreatingThenAccepting() throws Throwable
Throwable
@Test public void closesAfterAcceptingThrowsOnCreate() throws Throwable
Throwable
@Test public void closesAfterCreatingThenBiAccepting() throws Throwable
Throwable
@Test public void closesAfterBiAcceptingThrowsOnCreate() throws Throwable
Throwable
@Test public void closesAfterCreatingThenApplying() throws Throwable
Throwable
@Test public void closesAfterApplyingThrowsOnCreate() throws Throwable
Throwable
@Test public void cannotConstructWithoutObjenesis() throws Exception
Exception
@Test public void autoClosingInstanceAvailable() throws IOException
IOException
@Test public void autoClosingInvokedImplicitlyByTryWithStatementOnSuccess() throws IOException
IOException
@Test public void autoClosingInvokedImplicitlyByTryWithStatementOnError()
Copyright © 2016–2018 earcam. All rights reserved.