OSDN Git Service

update
[stigmata/stigmata-plugins.git] / cflib / src / test / java / jp / sourceforge / stigmata / birthmarks / OpcodeManagerTest.java
1 package jp.sourceforge.stigmata.birthmarks;
2
3 /*
4  * $Id$
5  */
6
7 import org.junit.Assert;
8 import org.junit.Test;
9
10 /**
11  * 
12  * @author Haruaki Tamada
13  * @version $Revision$
14  */
15 public class OpcodeManagerTest{
16     @Test
17     public void testBasic(){
18         Assert.assertNotNull(OpcodeManager.getInstance());
19
20         Opcode opcode = OpcodeManager.getInstance().getOpcode(182);
21
22         Assert.assertEquals(182, opcode.getOpcode());
23         Assert.assertEquals("invokevirtual", opcode.getName());
24     }
25 }