Search in sources :

Example 1 with TypeManagerMockBackend

use of com.google.security.zynamics.binnavi.disassembly.types.TypeManagerMockBackend in project binnavi by google.

the class TypesTreeModelTests method initializeTypeSystem.

@Before
public void initializeTypeSystem() throws CouldntLoadDataException {
    typeManager = new TypeManager(new TypeManagerMockBackend());
    typeSystem = new TestTypeSystem(typeManager);
}
Also used : TypeManager(com.google.security.zynamics.binnavi.disassembly.types.TypeManager) TestTypeSystem(com.google.security.zynamics.binnavi.disassembly.types.TestTypeSystem) TypeManagerMockBackend(com.google.security.zynamics.binnavi.disassembly.types.TypeManagerMockBackend) Before(org.junit.Before)

Example 2 with TypeManagerMockBackend

use of com.google.security.zynamics.binnavi.disassembly.types.TypeManagerMockBackend in project binnavi by google.

the class ViewReferencesTableModelTest method setup.

@Before
public void setup() throws CouldntLoadDataException {
    typeSystem = new TestTypeSystem(new TypeManager(new TypeManagerMockBackend()));
    view = MockView.getFullView(new MockSqlProvider(), ViewType.Native, 123);
}
Also used : MockSqlProvider(com.google.security.zynamics.binnavi.Database.MockClasses.MockSqlProvider) TypeManager(com.google.security.zynamics.binnavi.disassembly.types.TypeManager) TestTypeSystem(com.google.security.zynamics.binnavi.disassembly.types.TestTypeSystem) TypeManagerMockBackend(com.google.security.zynamics.binnavi.disassembly.types.TypeManagerMockBackend) Before(org.junit.Before)

Aggregations

TestTypeSystem (com.google.security.zynamics.binnavi.disassembly.types.TestTypeSystem)2 TypeManager (com.google.security.zynamics.binnavi.disassembly.types.TypeManager)2 TypeManagerMockBackend (com.google.security.zynamics.binnavi.disassembly.types.TypeManagerMockBackend)2 Before (org.junit.Before)2 MockSqlProvider (com.google.security.zynamics.binnavi.Database.MockClasses.MockSqlProvider)1