use of pcgen.persistence.lst.FeatLoader in project pcgen by PCGen.
the class PCHasVarFunctionTest method additionalSetUp.
@Override
protected void additionalSetUp() throws Exception {
CampaignSourceEntry cse = new CampaignSourceEntry(new Campaign(), new URI("file:/" + getClass().getName() + ".java"));
final FeatLoader featLoader = new FeatLoader();
fooFeat = new Ability();
final String fooFeatStr = "Foo TYPE:General DEFINE:FooV|0";
featLoader.parseLine(Globals.getContext(), fooFeat, fooFeatStr, cse);
}
Aggregations