Search in sources :

Example 11 with ServerProvider

use of com.yahoo.jdisc.service.ServerProvider in project vespa by vespa-engine.

the class NonWorkingServerTestCase method requireThatReferDoesNotThrow.

@Test
public void requireThatReferDoesNotThrow() {
    ServerProvider server = new NonWorkingServerProvider();
    server.refer();
}
Also used : ServerProvider(com.yahoo.jdisc.service.ServerProvider) Test(org.junit.Test)

Example 12 with ServerProvider

use of com.yahoo.jdisc.service.ServerProvider in project vespa by vespa-engine.

the class NonWorkingServerTestCase method requireThatCloseDoesNotThrow.

@Test
public void requireThatCloseDoesNotThrow() {
    ServerProvider server = new NonWorkingServerProvider();
    server.close();
}
Also used : ServerProvider(com.yahoo.jdisc.service.ServerProvider) Test(org.junit.Test)

Example 13 with ServerProvider

use of com.yahoo.jdisc.service.ServerProvider in project vespa by vespa-engine.

the class NonWorkingServerTestCase method requireThatStartDoesNotThrow.

@Test
public void requireThatStartDoesNotThrow() {
    ServerProvider server = new NonWorkingServerProvider();
    server.start();
}
Also used : ServerProvider(com.yahoo.jdisc.service.ServerProvider) Test(org.junit.Test)

Aggregations

ServerProvider (com.yahoo.jdisc.service.ServerProvider)13 Test (org.junit.Test)10 TestDriver (com.yahoo.jdisc.test.TestDriver)3 Bundle (org.osgi.framework.Bundle)2 Deconstructor (com.yahoo.container.jdisc.component.Deconstructor)1 ContainerBuilder (com.yahoo.jdisc.application.ContainerBuilder)1 NonWorkingServerProvider (com.yahoo.jdisc.test.NonWorkingServerProvider)1 HashSet (java.util.HashSet)1