use of com.google.security.zynamics.binnavi.disassembly.INaviModule in project binnavi by google.
the class PostgreSQLProviderTest method testCSettingsFunctionsWriteSettings14.
@Test(expected = NullPointerException.class)
public void testCSettingsFunctionsWriteSettings14() throws CouldntLoadDataException, CouldntSaveDataException {
final INaviModule module = getProvider().loadModules().get(0);
PostgreSQLSettingsFunctions.writeSetting((AbstractSQLProvider) getProvider(), (CModule) module, "key", null);
}
use of com.google.security.zynamics.binnavi.disassembly.INaviModule in project binnavi by google.
the class PostgreSQLProviderTest method testTagFuckUp.
@Test
public void testTagFuckUp() throws CouldntLoadDataException, LoadCancelledException {
final INaviModule module = getProvider().loadModules().get(0);
module.load();
}
use of com.google.security.zynamics.binnavi.disassembly.INaviModule in project binnavi by google.
the class PostgreSQLProviderTest method testCNodeFunctionsUnTagNode1.
@Test
public void testCNodeFunctionsUnTagNode1() throws CouldntSaveDataException, CouldntLoadDataException, LoadCancelledException, CPartialLoadException {
final INaviModule module = getProvider().loadModules().get(0);
module.load();
final INaviView view = module.getContent().getViewContainer().getViews().get(0);
view.load();
PostgreSQLNodeFunctions.untagNode(getProvider(), view.getGraph().getNodes().get(0), 1);
}
use of com.google.security.zynamics.binnavi.disassembly.INaviModule in project binnavi by google.
the class PostgreSQLProviderTest method testGetViewsWithAddress.
@Test
public void testGetViewsWithAddress() throws CouldntLoadDataException, LoadCancelledException {
final INaviModule module = getProvider().loadModules().get(0);
module.load();
assertNotNull(getProvider().getViewsWithAddresses(module, Lists.newArrayList(new UnrelocatedAddress(new CAddress(0x01002B69))), true).size());
}
use of com.google.security.zynamics.binnavi.disassembly.INaviModule in project binnavi by google.
the class PostgreSQLProviderTest method testCViewLoaderLoadView6.
@Test
public void testCViewLoaderLoadView6() throws CouldntLoadDataException, LoadCancelledException, CPartialLoadException {
final INaviModule module = getProvider().loadModules().get(0);
module.load();
final CView view = (CView) module.getContent().getViewContainer().getViews().get(224);
view.load();
final CTagManager tagManager = getProvider().loadTagManager(TagType.NODE_TAG);
PostgreSQLViewLoader.loadView((AbstractSQLProvider) getProvider(), view, Lists.newArrayList(module), tagManager);
}
Aggregations