public final class AgentTest extends Object
Modifier and Type | Field and Description |
---|---|
static Instrumentation |
MOCK_INSTRUMENTATION |
Constructor and Description |
---|
AgentTest() |
Modifier and Type | Method and Description |
---|---|
void |
agentHoldsReferenceToInstrumentation() |
void |
agentThrowsIfArgumentContainIllegalCharacters() |
void |
agentThrowsIfArgumentIsNull() |
void |
doesNotProduceInvalidInterfaces() |
void |
finalClassShouldNotBeFinal() |
void |
finalFieldShouldNotBeFinal() |
void |
finalMethodShouldNotBeFinal() |
void |
finalSystemClassWillStillBeFinal() |
void |
loadedFinalClassShouldNotBeFinal() |
void |
otherFinalClassMatchedByPatternIsDefinalised() |
void |
otherFinalClassNotMatchedByPatternIsStillFinal() |
public static final Instrumentation MOCK_INSTRUMENTATION
@Test public void finalClassShouldNotBeFinal()
@Test public void loadedFinalClassShouldNotBeFinal()
@Test public void finalMethodShouldNotBeFinal() throws NoSuchMethodException, SecurityException
@Test public void finalFieldShouldNotBeFinal() throws NoSuchFieldException, SecurityException
@Test public void doesNotProduceInvalidInterfaces() throws NoSuchFieldException, SecurityException
@Test public void finalSystemClassWillStillBeFinal()
@Test public void otherFinalClassMatchedByPatternIsDefinalised()
@Test public void otherFinalClassNotMatchedByPatternIsStillFinal()
@Test public void agentThrowsIfArgumentIsNull()
@Test public void agentThrowsIfArgumentContainIllegalCharacters()
@Test public void agentHoldsReferenceToInstrumentation()
Copyright © 2018 earcam. All rights reserved.