use of pcgen.cdom.content.UserFunction in project pcgen by PCGen.
the class FunctionTokenTest 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();
}
use of pcgen.cdom.content.UserFunction 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");
}
Aggregations