Search in sources :

Example 56 with TestContext

use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.

the class DrIntegrationTest method testRoundRobinClearMod.

@Test
public void testRoundRobinClearMod() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    commit(testCampaign, tc, "10/+1 and Silver");
    commit(modCampaign, tc, Constants.LST_DOT_CLEAR);
    completeRoundRobin(tc);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 57 with TestContext

use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.

the class DefineIntegrationTest method testRoundRobinNoReset.

@Test
public void testRoundRobinNoReset() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    commit(testCampaign, tc, "Follower|0");
    emptyCommit(modCampaign, tc);
    completeRoundRobin(tc);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 58 with TestContext

use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.

the class DefineStatIntegrationTest method testRoundRobinNoSetLock.

@Test
public void testRoundRobinNoSetLock() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    emptyCommit(testCampaign, tc);
    commit(modCampaign, tc, "LOCK|INT|21");
    completeRoundRobin(tc);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 59 with TestContext

use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.

the class DefineStatIntegrationTest method testRoundRobinNoResetUnLock.

@Test
public void testRoundRobinNoResetUnLock() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    commit(testCampaign, tc, "UNLOCK|INT");
    emptyCommit(modCampaign, tc);
    completeRoundRobin(tc);
}
Also used : TestContext(plugin.lsttokens.editcontext.testsupport.TestContext) Test(org.junit.Test)

Example 60 with TestContext

use of plugin.lsttokens.editcontext.testsupport.TestContext in project pcgen by PCGen.

the class FactIntegrationTest method testRoundRobinNoReset.

@Test
public void testRoundRobinNoReset() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    commit(testCampaign, tc, PROP_1 + "|Yarra Valley");
    emptyCommit(modCampaign, tc);
    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