use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testGetTaggedViews.
@Test
public void testGetTaggedViews() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertEquals(0, container.getTaggedViews().size());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testDeleteView.
@Test
public void testDeleteView() throws CouldntDeleteException {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
final INaviView view = container.createView("foo", "berT");
assertNotNull(view);
try {
container.deleteView(null);
fail();
} catch (final NullPointerException e) {
}
container.deleteView(view);
assertEquals(2, container.getViews().size());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testGetDebuggerProvider.
@Test
public void testGetDebuggerProvider() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertNotNull(container.getDebuggerProvider());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testGetFunctions.
@Test
public void testGetFunctions() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertEquals(0, container.getFunctions().size());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testContainsModule.
@Test
public void testContainsModule() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertFalse(container.containsModule(new MockModule()));
assertTrue(container.containsModule(m_module));
try {
container.containsModule(null);
fail();
} catch (final NullPointerException e) {
}
}
Aggregations