Search in sources :

Example 16 with TestContext

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);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 17 with TestContext

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);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 18 with TestContext

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);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 19 with TestContext

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);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 20 with TestContext

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);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Aggregations

TestContext (plugin.lsttokens.editcontext.testsupport.TestContext)508 Test (org.junit.Test)507 Ability (pcgen.core.Ability)13 PCClassLevel (pcgen.cdom.inst.PCClassLevel)3 AbilityCategory (pcgen.core.AbilityCategory)2 SubClassCategory (pcgen.cdom.enumeration.SubClassCategory)1 SubClass (pcgen.core.SubClass)1