Skip navigation links
A C G I L O S T V W 

A

ALL_CLASSES_AND_ALL_APIS - Static variable in class org.objectweb.asm.test.AsmTest
MethodSource name to be used in parameterized tests that must be instantiated for all possible (precompiled class, api) pairs.
ALL_CLASSES_AND_LATEST_API - Static variable in class org.objectweb.asm.test.AsmTest
MethodSource name to be used in parameterized tests that must be instantiated for all precompiled classes, with the latest api.
allClassesAndAllApis() - Static method in class org.objectweb.asm.test.AsmTest
Builds a list of test arguments for a parameterized test.
allClassesAndLatestApi() - Static method in class org.objectweb.asm.test.AsmTest
Builds a list of test arguments for a parameterized test.
AsmTest - Class in org.objectweb.asm.test
Base class for the ASM tests.
AsmTest() - Constructor for class org.objectweb.asm.test.AsmTest
 
AsmTest.Api - Enum in org.objectweb.asm.test
An ASM API version.
AsmTest.ClassSubject - Class in org.objectweb.asm.test
Helper to make assertions about a class.
AsmTest.InvalidClass - Enum in org.objectweb.asm.test
An invalid class, hand-crafted to contain some set of invalid class file structures.
AsmTest.PrecompiledClass - Enum in org.objectweb.asm.test
A precompiled class, hand-crafted to contain some set of class file structures.
Assertions - Class in org.objectweb.asm.test
Provides convenient assertions to check that an executable succeeds or throws an exception, depending on some condition.
Assertions.ExecutableOutcomeSubject<T extends java.lang.Throwable> - Class in org.objectweb.asm.test
 
Assertions.ExecutableSubject - Class in org.objectweb.asm.test
 
assertThat(Executable) - Static method in class org.objectweb.asm.test.Assertions
 
assertThatClass(byte[]) - Static method in class org.objectweb.asm.test.AsmTest
Starts an assertion about the given class content.

C

contains(String) - Method in class org.objectweb.asm.test.AsmTest.ClassSubject
Asserts that a dump of the subject class into a string representation contains the given string.

G

getBytes() - Method in enum org.objectweb.asm.test.AsmTest.InvalidClass
 
getBytes() - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
 
getInternalName() - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
 
getName() - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
 

I

isEqualTo(byte[]) - Method in class org.objectweb.asm.test.AsmTest.ClassSubject
Asserts that the subject class is equal to the given class, modulo some low level bytecode representation details (e.g. the order of the constants in the constant pool, the order of attributes and annotations, and low level details such as ldc vs ldc_w instructions).
isMoreRecentThan(AsmTest.Api) - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
Returns true if this class was compiled with a JDK which is more recent than the given ASM API.
isMoreRecentThanCurrentJdk() - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
Returns true if this class was compiled with a JDK which is more recent than the JDK used to run the tests.

L

loadAndInstantiate(String, byte[]) - Static method in class org.objectweb.asm.test.AsmTest
Loads the given class in a new class loader.

O

org.objectweb.asm.test - package org.objectweb.asm.test
 

S

succeedsOrThrows(Class<T>) - Method in class org.objectweb.asm.test.Assertions.ExecutableSubject
 

T

toString() - Method in enum org.objectweb.asm.test.AsmTest.Api
Returns a human readable symbol corresponding to this version.
toString() - Method in enum org.objectweb.asm.test.AsmTest.InvalidClass
 
toString() - Method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
 

V

value() - Method in enum org.objectweb.asm.test.AsmTest.Api
Returns the int value of this version, as expected by ASM.
valueOf(String) - Static method in enum org.objectweb.asm.test.AsmTest.Api
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.objectweb.asm.test.AsmTest.InvalidClass
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.objectweb.asm.test.AsmTest.Api
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.objectweb.asm.test.AsmTest.InvalidClass
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.objectweb.asm.test.AsmTest.PrecompiledClass
Returns an array containing the constants of this enum type, in the order they are declared.

W

when(boolean) - Method in class org.objectweb.asm.test.Assertions.ExecutableOutcomeSubject
 
A C G I L O S T V W 
Skip navigation links