Search in sources :

Example 61 with TestContext

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

the class DefineStatIntegrationTest method testRoundRobinSimpleLock.

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

Example 62 with TestContext

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

the class DefineStatIntegrationTest method testRoundRobinRemoveLock.

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

Example 63 with TestContext

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

the class DescIsPiIntegrationTest method testRoundRobinRemove.

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

Example 64 with TestContext

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

the class DescIsPiIntegrationTest method testRoundRobinYesSet.

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

Example 65 with TestContext

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

the class DescIsPiIntegrationTest method testRoundRobinSimple.

@Test
public void testRoundRobinSimple() throws PersistenceLayerException {
    verifyCleanStart();
    TestContext tc = new TestContext();
    commit(testCampaign, tc, "NO");
    commit(modCampaign, tc, "YES");
    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