Search in sources :

Example 1 with CStringReplacement

use of com.google.security.zynamics.binnavi.disassembly.CStringReplacement in project binnavi by google.

the class CModuleTest method testCreateOperand.

@Test
public void testCreateOperand() throws CouldntLoadDataException, LoadCancelledException {
    m_module.load();
    final List<IReference> references = new ArrayList<IReference>();
    final COperandTreeNode node = new COperandTreeNode(1, 2, "2", new CStringReplacement("bar"), references, m_sql, m_module.getTypeManager(), m_module.getContent().getTypeInstanceContainer());
    assertNotNull(m_module.createOperand(node));
}
Also used : COperandTreeNode(com.google.security.zynamics.binnavi.disassembly.COperandTreeNode) ArrayList(java.util.ArrayList) CStringReplacement(com.google.security.zynamics.binnavi.disassembly.CStringReplacement) IReference(com.google.security.zynamics.zylib.disassembly.IReference) Test(org.junit.Test)

Aggregations

COperandTreeNode (com.google.security.zynamics.binnavi.disassembly.COperandTreeNode)1 CStringReplacement (com.google.security.zynamics.binnavi.disassembly.CStringReplacement)1 IReference (com.google.security.zynamics.zylib.disassembly.IReference)1 ArrayList (java.util.ArrayList)1 Test (org.junit.Test)1