public class SiddhiTestHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEventsMatch(List<Object[]> actual,
List<Object[]> expected) |
static boolean |
isUnsortedEventsMatch(List<Object[]> actual,
List<Object[]> expected) |
static void |
waitForEvents(long sleepTime,
AtomicBoolean condition,
long timeout) |
static void |
waitForEvents(long sleepTime,
int expectedCount,
AtomicInteger actualCount,
long timeout) |
static void |
waitForEvents(long sleepTime,
int expectedSize,
Collection<?> collection,
long timeout) |
static void |
waitForEvents(long sleepTime,
int expectedCount,
int actualCount,
long timeout) |
public static void waitForEvents(long sleepTime, AtomicBoolean condition, long timeout) throws InterruptedException
InterruptedException
public static void waitForEvents(long sleepTime, int expectedCount, AtomicInteger actualCount, long timeout) throws InterruptedException
InterruptedException
public static void waitForEvents(long sleepTime, int expectedCount, int actualCount, long timeout) throws InterruptedException
InterruptedException
public static void waitForEvents(long sleepTime, int expectedSize, Collection<?> collection, long timeout) throws InterruptedException
InterruptedException
Copyright © 2021. All rights reserved.