use of com.google.security.zynamics.binnavi.disassembly.types.RawTypeInstance in project binnavi by google.
the class PostgreSQLTypeInstanceFunctionsTests method loadSingleTypeInstanceTest3.
@Test
public void loadSingleTypeInstanceTest3() throws CouldntLoadDataException, LoadCancelledException {
module.load();
final TypeInstance typeInstance = module.getContent().getTypeInstanceContainer().getTypeInstances().get(0);
final RawTypeInstance rawTypeInstance = provider.loadTypeInstance(module, typeInstance.getId());
Assert.assertEquals(typeInstance.getId(), rawTypeInstance.getId());
Assert.assertEquals(typeInstance.getBaseType().getId(), rawTypeInstance.getTypeId());
}
Aggregations