public class UsingStatementTest extends ByteCodeTestBase
TestClass.EqualityTester| Constructor and Description |
|---|
UsingStatementTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCloseableVar() |
void |
testDisposableExpression() |
void |
testDisposableVar() |
void |
testLock() |
void |
testLockWithFinally() |
void |
testLockWithFinallyAndException0() |
void |
testLockWithFinallyAndException1() |
void |
testMultipleCloseableVar() |
void |
testMultipleDisposableVar() |
void |
testReentrant() |
void |
testReturnInsideUsingStatement() |
void |
testUsingStatementBlockExecutes() |
void |
testWorksWithCloseFunction() |
void |
testWorksWithDisposeFunction() |
void |
testWorksWithInnerDisposeFunction() |
constructFromGosuClassloader, getClassFromGosuClassLoader, invokeMethod, invokeStaticMethod_suite, addMetadata, afterTestClass, afterTestMethod, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertCausesException, assertCollectionEquals, assertCollectionEquals, assertIterableEquals, assertIterableEquals, assertIterableEqualsIgnoreOrder, assertListEquals, assertListEquals, assertMatchRegex, assertSetsEqual, assertZero, assertZero, beforeTestClass, beforeTestMethod, createClassMetadata, createDefaultEnvironment, createMetadata, createMetadata, createMethodMetadata, createTestClass, doRunTest, getClassName, getExecutionManager, getFullClassNameInternal, getMetadata, getName, getNumberOfInstancesOfTestClassCreated, getPackageName, getTotalNumTestMethods, getType, getTypeName, initInternalData, initMetadata, isGosuTest, isMetaAnnotation, isMetaAnnotationInfo, reallyRun, reallyRunBare, run, runBare, runTest, setExecutionManager, setGosuTest, setName, setUp, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatpublic void testUsingStatementBlockExecutes()
throws Exception
Exceptionpublic void testMultipleDisposableVar()
throws Exception
Exceptionpublic void testLockWithFinallyAndException0()
throws Exception
Exceptionpublic void testLockWithFinallyAndException1()
throws Exception
Exceptionpublic void testReturnInsideUsingStatement()
throws Exception
Exceptionpublic void testWorksWithDisposeFunction()
throws Exception
Exceptionpublic void testWorksWithInnerDisposeFunction()
throws Exception
Exceptionpublic void testWorksWithCloseFunction()
throws Exception
ExceptionCopyright © 2015. All rights reserved.