Search in sources :

Example 31 with TestContext

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

the class MemorizeIntegrationTest 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)

Example 32 with TestContext

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

the class MemorizeIntegrationTest 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 33 with TestContext

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

the class MemorizeIntegrationTest method testRoundRobinNoReset.

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

Example 34 with TestContext

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

the class FormatcatIntegrationTest method testRoundRobinNoSet.

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

Example 35 with TestContext

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

the class FormatcatIntegrationTest method testRoundRobinSimple.

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