Class MonitoredTranslatingProtocolAdapterTest
java.lang.Object
test.de.iip_ecosphere.platform.services.environment.metricsProvider.MonitoredTranslatingProtocolAdapterTest
Tests
MonitoredTranslatingProtocolAdapter.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classRepresents some data.private static classA test input translator that does a 150 ms translation.private static classA test output translator that does a 100 ms translation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidtestAdapter(File log) Performs the actual adapter test.voidTests the adapter and roughly the measured values.voidTests the adapter and roughly the measured values.
-
Constructor Details
-
MonitoredTranslatingProtocolAdapterTest
public MonitoredTranslatingProtocolAdapterTest()
-
-
Method Details
-
testAdapterWithLog
public void testAdapterWithLog()Tests the adapter and roughly the measured values. -
testAdapterWithoutLog
public void testAdapterWithoutLog()Tests the adapter and roughly the measured values. -
testAdapter
Performs the actual adapter test.- Parameters:
log- the expected log file, may be null for none
-