Search in sources :

Example 11 with PeerCapabilities

use of org.bboxdb.network.capabilities.PeerCapabilities in project bboxdb by jnidzwetzki.

the class TestPeerCapabilities method testPeerCapabilities1.

/**
 * Test the peer capabilities
 */
@Test(timeout = 60000)
public void testPeerCapabilities1() {
    final PeerCapabilities peerCapabilities = new PeerCapabilities();
    Assert.assertTrue(peerCapabilities.toString().length() > 10);
}
Also used : PeerCapabilities(org.bboxdb.network.capabilities.PeerCapabilities) Test(org.junit.Test)

Aggregations

PeerCapabilities (org.bboxdb.network.capabilities.PeerCapabilities)11 Test (org.junit.Test)9 ByteBuffer (java.nio.ByteBuffer)5 HelloResponse (org.bboxdb.network.packages.response.HelloResponse)3 PackageEncodeException (org.bboxdb.network.packages.PackageEncodeException)2 HelloRequest (org.bboxdb.network.packages.request.HelloRequest)2 InputStream (java.io.InputStream)1 CompressionEnvelopeResponse (org.bboxdb.network.packages.response.CompressionEnvelopeResponse)1