use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class NaturalAttacksIntegrationTest method testRoundRobinNoSet.
@Test
public void testRoundRobinNoSet() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, "Claw,Weapon.Natural.Melee.Piercing.Slashing,1,1d4");
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class PreIntegrationTest method testRoundRobinNoReset.
@Test
public void testRoundRobinNoReset() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
commit(testCampaign, tc, Constants.LST_DOT_CLEAR);
emptyCommit(modCampaign, tc);
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class FactIntegrationTest method testRoundRobinNoOriginalClear.
@Test
public void testRoundRobinNoOriginalClear() throws PersistenceLayerException {
verifyCleanStart();
TestContext tc = new TestContext();
emptyCommit(testCampaign, tc);
commit(modCampaign, tc, PROP_1 + "|" + getClearString());
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class FollowersIntegrationTest method testRoundRobinNoReset.
@Test
public void testRoundRobinNoReset() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
secondaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
TestContext tc = new TestContext();
commit(testCampaign, tc, "Follower|4+1");
emptyCommit(modCampaign, tc);
completeRoundRobin(tc);
}
use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.
the class FollowersIntegrationTest method testRoundRobinSimple.
@Test
public void testRoundRobinSimple() throws PersistenceLayerException {
verifyCleanStart();
primaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
secondaryContext.getReferenceContext().constructCDOMObject(CompanionList.class, "Follower");
TestContext tc = new TestContext();
commit(testCampaign, tc, "Follower|4+1");
commit(modCampaign, tc, "Follower|Formula1");
completeRoundRobin(tc);
}
Aggregations