Refactoring: renamed 'security' to 'cryptography'

This commit is contained in:
2016-01-10 13:38:32 +01:00
parent de0100e14f
commit 549c8854ed
30 changed files with 72 additions and 74 deletions

View File

@ -16,5 +16,5 @@ dependencies {
testCompile 'org.slf4j:slf4j-simple:1.7.12'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile project(path: ':domain', configuration: 'testArtifacts')
testCompile project(':security-bc')
testCompile project(':cryptography-bc')
}

View File

@ -22,7 +22,7 @@ import ch.dissem.bitmessage.ports.AddressRepository;
import ch.dissem.bitmessage.ports.MessageRepository;
import ch.dissem.bitmessage.ports.NetworkHandler;
import ch.dissem.bitmessage.ports.ProofOfWorkRepository;
import ch.dissem.bitmessage.security.bc.BouncySecurity;
import ch.dissem.bitmessage.cryptography.bc.BouncyCryptography;
import ch.dissem.bitmessage.utils.Property;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@ -59,7 +59,7 @@ public class NetworkHandlerTest {
.port(6001)
.nodeRegistry(new TestNodeRegistry())
.networkHandler(new DefaultNetworkHandler())
.security(new BouncySecurity())
.cryptography(new BouncyCryptography())
.listener(Mockito.mock(BitmessageContext.Listener.class))
.build();
peer.startup();
@ -74,7 +74,7 @@ public class NetworkHandlerTest {
.port(6002)
.nodeRegistry(new TestNodeRegistry(localhost))
.networkHandler(networkHandler)
.security(new BouncySecurity())
.cryptography(new BouncyCryptography())
.listener(Mockito.mock(BitmessageContext.Listener.class))
.build();
}