use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class FollowersIntegrationTest method testRoundRobinRemove.
@Test
public void testRoundRobinRemove() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
secondaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
primaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Pet");
secondaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Pet");
TestContext tc = new TestContext();
commit(testCampaign, tc, "Follower|4+1");
commit(modCampaign, tc, "Pet|PetForm");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class ClassesIntegrationTest method testRoundRobinAll.
@Test
public void testRoundRobinAll() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
commit(testCampaign, tc, "ALL=2");
emptyCommit(modCampaign, tc);
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class ClassesIntegrationTest method testRoundRobinAllSupplementMinus.
@Test
public void testRoundRobinAllSupplementMinus() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(ClassSpellList.class, "Sorcerer");
secondaryContext.getReferenceContext().constructCDOMObject(ClassSpellList.class, "Sorcerer");
TestContext tc = new TestContext();
commit(testCampaign, tc, "Sorcerer=-1");
commit(modCampaign, tc, "Sorcerer=1");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class CostIntegrationTest method testRoundRobinDotClear.
@Test
public void testRoundRobinDotClear() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
commit(testCampaign, tc, "3.14");
commit(modCampaign, tc, Constants.LST_DOT_CLEAR);
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class CostIntegrationTest method testRoundRobinNoReset.
@Test
public void testRoundRobinNoReset() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
commit(testCampaign, tc, "2");
emptyCommit(modCampaign, tc);
completeRoundRobin(tc);
}
Aggregations