public class ConstructorsTestCase extends Object
Test case for ClassAccessor
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstructorsTestCase.NoDefaultConstructor |
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
ConstructorsTestCase() |
public org.junit.rules.ExpectedException thrown
public ConstructorsTestCase()
public void invokeConstructor() throws Exception
Exceptionpublic void invokeConstructorWithInvalidArgument() throws Exception
Exceptionpublic void invokeConstructorWithNull() throws Exception
Exceptionpublic void invokeConstructorWithArgArray() throws Exception
Exceptionpublic void invokeConstrucotrWithInvalidArgArray() throws Exception
Exceptionpublic void invokeConstructorWithNullArray() throws Exception
Exceptionpublic void invokeConstructorWithTypeArray() throws Exception
Exceptionpublic void invokeConstructorWithInvalidTypeArray() throws Exception
Exceptionpublic void invokeExactConstructor() throws Exception
Exceptionpublic void invokeExactConstructorWithInvalidArgument() throws Exception
Exceptionpublic void invokeExactConstructorWithNull() throws Exception
Exceptionpublic void invokeExactConstructorWithArgArray() throws Exception
Exceptionpublic void invokeExactConstructorWithInvalidArgArray() throws Exception
Exceptionpublic void invokeExactConstructorWithNullArray() throws Exception
Exceptionpublic void invokeExactConstructorWithTypeArray() throws Exception
Exceptionpublic void invokeExactConstructorWithInvalidTypeArray() throws Exception
Exceptionpublic void invokeConstructorThatThrowsException() throws Exception
Exceptionpublic void invokeExactConstructorThatThrowsException() throws Exception
Exceptionpublic void invokePrivateConstructor() throws Exception
Exceptionpublic void invokeProtectedConstructor() throws Exception
Exceptionpublic void invokeDefaultConstructor() throws Exception
Exceptionpublic void invokeConstructorOnAbstract() throws Exception
Exceptionpublic void invokeConstructorOnInterface() throws Exception
Exceptionpublic void invokeConstructorOnArray() throws Exception
Exceptionpublic void invokeConstructorOnPrimitive() throws Exception
Exceptionpublic void invokeConstructorOnVoid() throws Exception
Exceptionpublic void newInstanceWithoutDefaultConstructor()
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.