public class TestDirectory extends Object
A test address is a unique identifier for a test. A probe lists the addresses of all tests it contains.
This directory maps test addresses to test instantiation instructions which enable a probe invoker to actually build a test method invocation from the test address.
In addition, this directory contains an access point URI which may be used for accessing a remote container. At the moment, this is only used by the Servlet Bridge in Java EE mode: In this case, the access point corresponds to the context root of the probe web application.
| Modifier and Type | Method and Description |
|---|---|
void |
add(TestAddress address,
TestInstantiationInstruction instruction) |
void |
clear() |
URI |
getAccessPoint() |
static TestDirectory |
getInstance() |
TestInstantiationInstruction |
lookup(TestAddress address) |
void |
setAccessPoint(URI accessPoint) |
public static TestDirectory getInstance()
public void add(TestAddress address, TestInstantiationInstruction instruction)
public TestInstantiationInstruction lookup(TestAddress address)
public void clear()
public URI getAccessPoint()
public void setAccessPoint(URI accessPoint)
Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.