Package org.opendaylight.protocol.util
Class CheckTestUtil
- java.lang.Object
 - 
- org.opendaylight.protocol.util.CheckTestUtil
 
 
- 
public final class CheckTestUtil extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCheckTestUtil.CheckEqualsstatic interfaceCheckTestUtil.ListenerCheck 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckEquals(CheckTestUtil.CheckEquals function)static voidcheckEquals(CheckTestUtil.CheckEquals function, int timeout)static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voidcheckNotPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid)static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
voidcheckNotPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid)static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
TcheckPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid)static <T extends org.opendaylight.yangtools.yang.binding.DataObject>
TcheckPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid)static voidcheckReceivedMessages(CheckTestUtil.ListenerCheck listener, int numberOfMessages)static <R,T extends org.opendaylight.yangtools.yang.binding.DataObject>
RreadDataConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid, Function<T,R> function)static <R,T extends org.opendaylight.yangtools.yang.binding.DataObject>
RreadDataOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid, Function<T,R> function)static <T extends io.netty.util.concurrent.Future<?>>
voidwaitFutureSuccess(T future) 
 - 
 
- 
- 
Method Detail
- 
waitFutureSuccess
public static <T extends io.netty.util.concurrent.Future<?>> void waitFutureSuccess(T future)
 
- 
readDataOperational
public static <R,T extends org.opendaylight.yangtools.yang.binding.DataObject> R readDataOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid, Function<T,R> function) throws ExecutionException, InterruptedException 
- 
readDataConfiguration
public static <R,T extends org.opendaylight.yangtools.yang.binding.DataObject> R readDataConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid, Function<T,R> function) throws ExecutionException, InterruptedException 
- 
checkPresentOperational
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> T checkPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid) throws ExecutionException, InterruptedException 
- 
checkPresentConfiguration
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> T checkPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid) throws ExecutionException, InterruptedException 
- 
checkNotPresentOperational
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void checkNotPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid) throws ExecutionException, InterruptedException 
- 
checkNotPresentConfiguration
public static <T extends org.opendaylight.yangtools.yang.binding.DataObject> void checkNotPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> iid) throws ExecutionException, InterruptedException 
- 
checkEquals
public static void checkEquals(CheckTestUtil.CheckEquals function) throws Exception
- Throws:
 Exception
 
- 
checkEquals
public static void checkEquals(CheckTestUtil.CheckEquals function, int timeout) throws Exception
- Throws:
 Exception
 
- 
checkReceivedMessages
public static void checkReceivedMessages(CheckTestUtil.ListenerCheck listener, int numberOfMessages)
 
 - 
 
 -