public class MonitoredTranslatingProtocolAdapterTest extends Object
MonitoredTranslatingProtocolAdapter.| Modifier and Type | Class and Description |
|---|---|
private static class |
MonitoredTranslatingProtocolAdapterTest.ConnectorData
Represents some data.
|
private static class |
MonitoredTranslatingProtocolAdapterTest.ConnectorInTranslator
A test input translator that does a 150 ms translation.
|
private static class |
MonitoredTranslatingProtocolAdapterTest.ConnectorOutTranslator
A test output translator that does a 100 ms translation.
|
| Constructor and Description |
|---|
MonitoredTranslatingProtocolAdapterTest() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
testAdapter(File log)
Performs the actual adapter test.
|
void |
testAdapterWithLog()
Tests the adapter and roughly the measured values.
|
void |
testAdapterWithoutLog()
Tests the adapter and roughly the measured values.
|
public MonitoredTranslatingProtocolAdapterTest()
public void testAdapterWithLog()
public void testAdapterWithoutLog()
private static void testAdapter(File log)
log - the expected log file, may be null for noneCopyright © 2022. All rights reserved.