use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testDispose.
@Test
public void testDispose() {
final CProjectContainer container = new CProjectContainer(m_database, m_project, m_space);
container.dispose();
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testGetViewsWithAddresses.
@Test
public void testGetViewsWithAddresses() throws CouldntLoadDataException {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
@SuppressWarnings("unused") final INaviView view = container.createView("view1", "information");
final UnrelocatedAddress address = new UnrelocatedAddress(new MockAddress());
final IFilledList<UnrelocatedAddress> addresses = new FilledList<UnrelocatedAddress>();
addresses.add(address);
try {
container.getViewsWithAddresses(null, true);
fail();
} catch (final NullPointerException e) {
}
// assertNull(container.getViewsWithAddresses(addresses, true));
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testIsLoaded.
@Test
public void testIsLoaded() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertTrue(container.isLoaded());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testGetDatabase.
@Test
public void testGetDatabase() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
assertEquals(m_database, container.getDatabase());
}
use of com.google.security.zynamics.binnavi.disassembly.CProjectContainer in project binnavi by google.
the class CProjectContainerTest method testRemoveListener.
@Test
public void testRemoveListener() {
final CProjectContainer container = new CProjectContainer(m_database, m_project);
try {
container.removeListener(null);
fail();
} catch (final NullPointerException e) {
}
}
Aggregations