public class TestResolvedJavaField extends FieldUniverse
ResolvedJavaField.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TestResolvedJavaField.ReadConstantValueTestConstants |
TypeUniverse.ConstantsUniverse, TypeUniverse.ConstantValue, TypeUniverse.InnerClass, TypeUniverse.InnerStaticClass, TypeUniverse.InnerStaticFinalClass, TypeUniverse.ProtectedInnerClass| Modifier and Type | Field and Description |
|---|---|
private static String[] |
untestedApiMethods |
fieldsarrayClasses, classes, constantReflection, JAVA_VERSION, javaTypes, metaAccess, unsafe| Constructor and Description |
|---|
TestResolvedJavaField() |
| Modifier and Type | Method and Description |
|---|---|
private Method |
findTestMethod(Method apiMethod) |
void |
getAnnotationTest() |
void |
getLocationIdentityTest() |
void |
getModifiersTest() |
void |
isSyntheticTest() |
void |
readConstantValueTest() |
void |
testCoverage()
Ensures that any new methods added to
ResolvedJavaMethod either have a test written
for them or are added to untestedApiMethods. |
constants, dimensions, getArrayClass, readConstantsprivate static final String[] untestedApiMethods
public TestResolvedJavaField()
public void getModifiersTest()
public void isSyntheticTest()
public void getAnnotationTest()
public void getLocationIdentityTest()
public void readConstantValueTest() throws NoSuchFieldException
NoSuchFieldExceptionprivate Method findTestMethod(Method apiMethod)
public void testCoverage()
ResolvedJavaMethod either have a test written
for them or are added to untestedApiMethods.