use of pcgen.rules.context.RuntimeReferenceContext in project pcgen by PCGen.
the class FactDefTokenTest method resetContext.
protected void resetContext() {
URI testURI = testCampaign.getURI();
context = new RuntimeLoadContext(new RuntimeReferenceContext(), new ConsolidatedListCommitStrategy());
context.setSourceURI(testURI);
context.setExtractURI(testURI);
fd = new FactDefinition();
}
use of pcgen.rules.context.RuntimeReferenceContext in project pcgen by PCGen.
the class ValueTokenTest method resetContext.
protected void resetContext() {
URI testURI = testCampaign.getURI();
context = new RuntimeLoadContext(new RuntimeReferenceContext(), new ConsolidatedListCommitStrategy());
context.setSourceURI(testURI);
context.setExtractURI(testURI);
function = new UserFunction();
function.setName("MyFunction");
}
use of pcgen.rules.context.RuntimeReferenceContext in project pcgen by PCGen.
the class VisibleTokenTest method resetContext.
protected void resetContext() {
URI testURI = testCampaign.getURI();
context = new RuntimeLoadContext(new RuntimeReferenceContext(), new ConsolidatedListCommitStrategy());
context.setSourceURI(testURI);
context.setExtractURI(testURI);
cd = new FactDefinition();
}
Aggregations