public static class AsmTest.ClassSubject
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
contains(java.lang.String expectedString)
Asserts that a dump of the subject class into a string representation contains the given
string.
|
void |
isEqualTo(byte[] expectedClassFile)
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).
|
public void contains(java.lang.String expectedString)
expectedString
- a string which should be contained in a dump of the subject class.public void isEqualTo(byte[] expectedClassFile)
expectedClassFile
- a class file content which should be equal to the subject class.