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
Exception
public void invokeConstructorWithInvalidArgument() throws Exception
Exception
public void invokeConstructorWithNull() throws Exception
Exception
public void invokeConstructorWithArgArray() throws Exception
Exception
public void invokeConstrucotrWithInvalidArgArray() throws Exception
Exception
public void invokeConstructorWithNullArray() throws Exception
Exception
public void invokeConstructorWithTypeArray() throws Exception
Exception
public void invokeConstructorWithInvalidTypeArray() throws Exception
Exception
public void invokeExactConstructor() throws Exception
Exception
public void invokeExactConstructorWithInvalidArgument() throws Exception
Exception
public void invokeExactConstructorWithNull() throws Exception
Exception
public void invokeExactConstructorWithArgArray() throws Exception
Exception
public void invokeExactConstructorWithInvalidArgArray() throws Exception
Exception
public void invokeExactConstructorWithNullArray() throws Exception
Exception
public void invokeExactConstructorWithTypeArray() throws Exception
Exception
public void invokeExactConstructorWithInvalidTypeArray() throws Exception
Exception
public void invokeConstructorThatThrowsException() throws Exception
Exception
public void invokeExactConstructorThatThrowsException() throws Exception
Exception
public void invokePrivateConstructor() throws Exception
Exception
public void invokeProtectedConstructor() throws Exception
Exception
public void invokeDefaultConstructor() throws Exception
Exception
public void invokeConstructorOnAbstract() throws Exception
Exception
public void invokeConstructorOnInterface() throws Exception
Exception
public void invokeConstructorOnArray() throws Exception
Exception
public void invokeConstructorOnPrimitive() throws Exception
Exception
public void invokeConstructorOnVoid() throws Exception
Exception
public void newInstanceWithoutDefaultConstructor()
Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.