Class AbstractTestContext
- java.lang.Object
-
- org.hansken.plugin.extraction.test.serialize.AbstractTestContext
-
- All Implemented Interfaces:
DataContext,org.hansken.plugin.extraction.runtime.grpc.client.api.ClientDataContext
- Direct Known Subclasses:
MetaTestContext,TestContext
public abstract class AbstractTestContext extends Object implements org.hansken.plugin.extraction.runtime.grpc.client.api.ClientDataContext
ClientDataContextimplementation which is used by the test framework. This implementation uses a map to store trace data.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTestContext(Path tracePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccessDatadata(String traceId, String dataType)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hansken.plugin.extraction.api.DataContext
data, dataType
-
-
-
-
Constructor Detail
-
AbstractTestContext
protected AbstractTestContext(Path tracePath) throws IOException
- Throws:
IOException
-
-
Method Detail
-
data
public RandomAccessData data(String traceId, String dataType)
- Specified by:
datain interfaceorg.hansken.plugin.extraction.runtime.grpc.client.api.ClientDataContext
-
-