use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class AttackCycleIntegrationTest method testRoundRobinSimple.
@Test
public void testRoundRobinSimple() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
commit(testCampaign, tc, "BAB|3");
commit(modCampaign, tc, "RAB|4");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class AttackCycleIntegrationTest method testRoundRobinNoSet.
@Test
public void testRoundRobinNoSet() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, "RAB|2");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class BonusSpellStatIntegrationTest method testRoundRobinNoneNoSet.
@Test
public void testRoundRobinNoneNoSet() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, "NONE");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class ExClassIntegrationTest method testRoundRobinNoSet.
@Test
public void testRoundRobinNoSet() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(PCClass.class, "Sorcerer");
secondaryContext.getReferenceContext().constructCDOMObject(PCClass.class, "Sorcerer");
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, "Sorcerer");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class ExchangeLevelIntegrationTest method testRoundRobinNoSet.
@Test
public void testRoundRobinNoSet() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(PCClass.class, "Paladin");
secondaryContext.getReferenceContext().constructCDOMObject(PCClass.class, "Paladin");
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, "Paladin|5|10|1");
completeRoundRobin(tc);
}
Aggregations