Search in sources :

Example 1 with DebuggerTemplateManager

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

the class DatabaseTest method testGetDebuggerTemplateManager.

@Test
public void testGetDebuggerTemplateManager() {
    final MockDatabase mockDatabase = new MockDatabase();
    final Database database = new Database(mockDatabase);
    final DebuggerTemplateManager manager1 = database.getDebuggerTemplateManager();
    final DebuggerTemplateManager manager2 = database.getDebuggerTemplateManager();
    assertNotNull(manager1);
    assertEquals(manager1, manager2);
}
Also used : MockDatabase(com.google.security.zynamics.binnavi.Database.MockClasses.MockDatabase) Database(com.google.security.zynamics.binnavi.API.disassembly.Database) MockDatabase(com.google.security.zynamics.binnavi.Database.MockClasses.MockDatabase) DebuggerTemplateManager(com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplateManager) Test(org.junit.Test)

Aggregations

Database (com.google.security.zynamics.binnavi.API.disassembly.Database)1 DebuggerTemplateManager (com.google.security.zynamics.binnavi.API.disassembly.DebuggerTemplateManager)1 MockDatabase (com.google.security.zynamics.binnavi.Database.MockClasses.MockDatabase)1 Test (org.junit.Test)1