Search in sources :

Example 16 with DataSetID

use of pcgen.cdom.enumeration.DataSetID in project pcgen by PCGen.

the class WeightFacetTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    DataSetID cid = DataSetID.getID();
    id = CharID.getID(cid);
}
Also used : DataSetID(pcgen.cdom.enumeration.DataSetID)

Example 17 with DataSetID

use of pcgen.cdom.enumeration.DataSetID in project pcgen by PCGen.

the class AbstractSingleSourceListFacetTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    DataSetID cid = DataSetID.getID();
    id = CharID.getID(cid);
    altid = CharID.getID(cid);
    getFacet().addDataFacetChangeListener(listener);
}
Also used : DataSetID(pcgen.cdom.enumeration.DataSetID)

Example 18 with DataSetID

use of pcgen.cdom.enumeration.DataSetID in project pcgen by PCGen.

the class AbstractSourcedListFacetTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    DataSetID cid = DataSetID.getID();
    id = CharID.getID(cid);
    altid = CharID.getID(cid);
    getFacet().addDataFacetChangeListener(listener);
}
Also used : DataSetID(pcgen.cdom.enumeration.DataSetID)

Example 19 with DataSetID

use of pcgen.cdom.enumeration.DataSetID in project pcgen by PCGen.

the class AbstractItemFacetTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    DataSetID cid = DataSetID.getID();
    id = CharID.getID(cid);
    altid = CharID.getID(cid);
    getFacet().addDataFacetChangeListener(listener);
}
Also used : DataSetID(pcgen.cdom.enumeration.DataSetID)

Example 20 with DataSetID

use of pcgen.cdom.enumeration.DataSetID in project pcgen by PCGen.

the class StatIntegrationTest method setUp.

@Before
public void setUp() throws Exception {
    DataSetID cid = DataSetID.getID();
    id = CharID.getID(cid);
    altid = CharID.getID(cid);
    stat1 = BuildUtilities.createStat("Stat1", "Stat1");
    stat2 = BuildUtilities.createStat("Stat2", "Stat2");
    unlockedFacet = new UnlockedStatFacet();
    lockFacet = new StatLockFacet();
    lockFacet.setFormulaResolvingFacet(new FormulaResolvingFacet());
    nonAbilityFacet = new NonAbilityFacet();
    NonStatStatFacet nonStatStatFacet = new NonStatStatFacet();
    nonAbilityFacet.setNonStatStatFacet(nonStatStatFacet);
    NonStatToStatFacet nonStatToStatFacet = new NonStatToStatFacet();
    nonAbilityFacet.setNonStatToStatFacet(nonStatToStatFacet);
    rfacet = new RaceFacet();
    tfacet = new TemplateFacet();
    CDOMObjectConsolidationFacet cdomFacet = new CDOMObjectConsolidationFacet();
    CDOMObjectBridge bridge = new CDOMObjectBridge();
    cdomFacet.setBridgeFacet(bridge);
    rfacet.addDataFacetChangeListener(cdomFacet);
    tfacet.addDataFacetChangeListener(cdomFacet);
    cdomFacet.addDataFacetChangeListener(lockFacet);
    cdomFacet.addDataFacetChangeListener(unlockedFacet);
    cdomFacet.addDataFacetChangeListener(nonStatStatFacet);
    cdomFacet.addDataFacetChangeListener(nonStatToStatFacet);
}
Also used : RaceFacet(pcgen.cdom.facet.model.RaceFacet) UnlockedStatFacet(pcgen.cdom.facet.analysis.UnlockedStatFacet) TemplateFacet(pcgen.cdom.facet.model.TemplateFacet) NonStatToStatFacet(pcgen.cdom.facet.analysis.NonStatToStatFacet) DataSetID(pcgen.cdom.enumeration.DataSetID) StatLockFacet(pcgen.cdom.facet.analysis.StatLockFacet) NonStatStatFacet(pcgen.cdom.facet.analysis.NonStatStatFacet) NonAbilityFacet(pcgen.cdom.facet.analysis.NonAbilityFacet) Before(org.junit.Before)

Aggregations

DataSetID (pcgen.cdom.enumeration.DataSetID)37 PCClass (pcgen.core.PCClass)5 AvailableSpell (pcgen.cdom.helper.AvailableSpell)3 Skill (pcgen.core.Skill)3 CharID (pcgen.cdom.enumeration.CharID)2 SkillCost (pcgen.cdom.enumeration.SkillCost)2 FormulaResolvingFacet (pcgen.cdom.facet.FormulaResolvingFacet)2 ClassSpellList (pcgen.cdom.list.ClassSpellList)2 DomainSpellList (pcgen.cdom.list.DomainSpellList)2 ArrayList (java.util.ArrayList)1 Before (org.junit.Before)1 VariableLibrary (pcgen.base.formula.base.VariableLibrary)1 SplitFormulaSetup (pcgen.base.solver.SplitFormulaSetup)1 AssociatedPrereqObject (pcgen.cdom.base.AssociatedPrereqObject)1 CDOMList (pcgen.cdom.base.CDOMList)1 CDOMReference (pcgen.cdom.base.CDOMReference)1 MasterListInterface (pcgen.cdom.base.MasterListInterface)1 CNAbility (pcgen.cdom.content.CNAbility)1 NonAbilityFacet (pcgen.cdom.facet.analysis.NonAbilityFacet)1 NonStatStatFacet (pcgen.cdom.facet.analysis.NonStatStatFacet)1