Search in sources :

Example 1 with UniFlowPingOutput

use of org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput in project open-kilda by telstra.

the class JsonSerializationTest method verificationOutputTest.

@Test
public void verificationOutputTest() throws IOException {
    UniFlowPingOutput verification = new UniFlowPingOutput(true, "err-test", 10);
    PingOutput dto = new PingOutput(FLOW_ID, verification, verification, "error");
    assertEquals(dto, pass(dto, PingOutput.class));
}
Also used : UniFlowPingOutput(org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput) UniFlowPingOutput(org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput) PingOutput(org.openkilda.northbound.dto.v1.flows.PingOutput) Test(org.junit.Test)

Example 2 with UniFlowPingOutput

use of org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput in project open-kilda by telstra.

the class JsonSerializationTest method uniFlowPingOutputTest.

@Test
public void uniFlowPingOutputTest() throws IOException {
    UniFlowPingOutput dto = new UniFlowPingOutput(true, "err-test", 10);
    assertEquals(dto, pass(dto, UniFlowPingOutput.class));
}
Also used : UniFlowPingOutput(org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)2 UniFlowPingOutput (org.openkilda.northbound.dto.v1.flows.UniFlowPingOutput)2 PingOutput (org.openkilda.northbound.dto.v1.flows.PingOutput)1