public class TestEventReceiver extends TestCase2
EventReceiver
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestEventReceiver() |
TestEventReceiver(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
test_endOnly()
Test dispatch using only
Event.end() (instantaneous events). |
void |
test_purgesHistory()
Pumps a bunch of events through and then verifies that the start events
are correlated with the end events and that the size of the
LinkedHashMap is bounded by the #of incomplete events no older
than the configured eventHistoryMillis. |
void |
test_start_end()
Test dispatch using both
Event.start() and Event.end() . |
void |
test_threadSafe()
Unit tests verifies that the APIs are thread-safe.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestEventReceiver()
public TestEventReceiver(String arg0)
arg0
- public void test_start_end() throws InterruptedException
Event.start()
and Event.end()
.InterruptedException
public void test_endOnly() throws InterruptedException
Event.end()
(instantaneous events).InterruptedException
public void test_purgesHistory() throws InterruptedException
LinkedHashMap
is bounded by the #of incomplete events no older
than the configured eventHistoryMillis.InterruptedException
public void test_threadSafe() throws InterruptedException, ExecutionException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.