Class AbstractSseTest
java.lang.Object
org.eclipse.microprofile.rest.client.tck.sse.AbstractSseTest
- Direct Known Subclasses:
BasicReactiveStreamsTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static AtomicReference<Throwable>launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer) protected static AtomicReference<Throwable>launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer, CountDownLatch cleanupLatch) protected static voidsleep(long millis) abstract voidabstract voidabstract voidabstract voidabstract voidabstract void
-
Field Details
-
PORT
protected static final int PORT
-
-
Constructor Details
-
AbstractSseTest
public AbstractSseTest()
-
-
Method Details
-
launchServer
protected static AtomicReference<Throwable> launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer) throws Exception - Throws:
Exception
-
launchServer
protected static AtomicReference<Throwable> launchServer(CountDownLatch stopLatch, Consumer<MyEventSource> consumer, CountDownLatch cleanupLatch) throws Exception - Throws:
Exception
-
sleep
protected static void sleep(long millis) -
testDataOnlySse_InboundSseEvent
- Throws:
Exception
-
testDataOnlySse_String
- Throws:
Exception
-
testDataOnlySse_JsonObject
- Throws:
Exception
-
testCommentOnlySse
- Throws:
Exception
-
testNamedEventSse
- Throws:
Exception
-
testServerClosesConnection
- Throws:
Exception
-