1 package jp.sourceforge.stigmata.birthmarks.wsp;
7 import org.junit.Assert;
8 import org.junit.Before;
10 import org.objectweb.asm.Label;
14 * @author Haruaki Tamada
17 public class LabelOpcodeTest{
18 private LabelOpcode opcode;
24 opcode = new LabelOpcode(label);
28 public void testBasic(){
29 Assert.assertEquals(Opcode.Category.TARGETER, opcode.getCategory());
30 Assert.assertEquals(-1, opcode.getOpcode());
31 Assert.assertEquals("targeter", opcode.getName());
32 Assert.assertEquals(label, opcode.getLabel());