Skip to content

Commit

Permalink
feat(#678): fix all the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 26, 2024
1 parent a4c72f4 commit 66f5f24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ void visitsIisncInstructionSuccessfully() throws ImpossibleModificationException
"Iinc instruction wasn't visited successfully.",
new Xembler(method).xml(),
Matchers.allOf(
Matchers.containsString("IINC"),
Matchers.containsString("iinc"),
Matchers.containsString("1"),
Matchers.containsString("2")
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ void checksOpcodeNames(final int actual, final String expected) {
@SuppressWarnings("PMD.UnusedPrivateMethod")
private static Stream<Arguments> opcodes() {
return Stream.of(
Arguments.of(Opcodes.INVOKESPECIAL, "INVOKESPECIAL-1"),
Arguments.of(Opcodes.INVOKEVIRTUAL, "INVOKEVIRTUAL-2"),
Arguments.of(Opcodes.INVOKESTATIC, "INVOKESTATIC-3"),
Arguments.of(Opcodes.INVOKEINTERFACE, "INVOKEINTERFACE-4"),
Arguments.of(Opcodes.INVOKEDYNAMIC, "INVOKEDYNAMIC-5"),
Arguments.of(Opcodes.DUP, "DUP-6"),
Arguments.of(Opcodes.LDC, "LDC-7"),
Arguments.of(Opcodes.ALOAD, "ALOAD-8"),
Arguments.of(Opcodes.ASTORE, "ASTORE-9"),
Arguments.of(Opcodes.ILOAD, "ILOAD-A"),
Arguments.of(Opcodes.ISTORE, "ISTORE-B")
Arguments.of(Opcodes.INVOKESPECIAL, "invokespecial-1"),
Arguments.of(Opcodes.INVOKEVIRTUAL, "invokevirtual-2"),
Arguments.of(Opcodes.INVOKESTATIC, "invokestatic-3"),
Arguments.of(Opcodes.INVOKEINTERFACE, "invokeinterface-4"),
Arguments.of(Opcodes.INVOKEDYNAMIC, "invokedynamic-5"),
Arguments.of(Opcodes.DUP, "dup-6"),
Arguments.of(Opcodes.LDC, "ldc-7"),
Arguments.of(Opcodes.ALOAD, "aload-8"),
Arguments.of(Opcodes.ASTORE, "astore-9"),
Arguments.of(Opcodes.ILOAD, "iload-A"),
Arguments.of(Opcodes.ISTORE, "istore-B")
);
}
}

0 comments on commit 66f5f24

Please sign in to comment.