| org.kuali.module.gl.OriginEntryTestBase org.kuali.module.gl.service.impl.orgreversion.OrganizationReversionLogicTest
OrganizationReversionLogicTest | public class OrganizationReversionLogicTest extends OriginEntryTestBase (Code) | | Tests that the Organization Reversion process generates the proper origin entries under
certain circumstances with each of the Org Reversion logics: A, C1, C2, N1, N2, R1, R2
|
Inner Class : enum BALANCE_FIXTURE | |
Inner Class : enum OBJECT_CODE_FIXTURE | |
DEFAULT_BALANCE_ACCOUNT_NBR | final public static String DEFAULT_BALANCE_ACCOUNT_NBR(Code) | | |
DEFAULT_BALANCE_CHART | final public static String DEFAULT_BALANCE_CHART(Code) | | |
runOrganizationReversionProcess | protected OriginEntryGroup runOrganizationReversionProcess(List<Balance> balancesToTestAgainst)(Code) | | Given a list of balances, saves those balances and runs the organization reversion process on them
Parameters: balancesToTestAgainst - the balances for the specific test an OriginEntryGroup where the resultant origin entries were saved |
setUp | protected void setUp() throws Exception(Code) | | Does the prelinary work of setting up the test...getting the org reversion mock, setting up
the parameters for the job, and creates the OrganizationReversionProcess object that will actually
complete the job
See Also: org.kuali.module.gl.OriginEntryTestBase.setUp |
tearDown | protected void tearDown() throws Exception(Code) | | Makes sure that a new OrganizationReversionProcess will be used for the next test
See Also: junit.framework.TestCase.tearDown |
testActualGreaterThanBudgetWithEncumbrancesLogicA | public void testActualGreaterThanBudgetWithEncumbrancesLogicA()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicC1 | public void testActualGreaterThanBudgetWithEncumbrancesLogicC1()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicC2 | public void testActualGreaterThanBudgetWithEncumbrancesLogicC2()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicN1 | public void testActualGreaterThanBudgetWithEncumbrancesLogicN1()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicN2 | public void testActualGreaterThanBudgetWithEncumbrancesLogicN2()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicR1 | public void testActualGreaterThanBudgetWithEncumbrancesLogicR1()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testActualGreaterThanBudgetWithEncumbrancesLogicR2 | public void testActualGreaterThanBudgetWithEncumbrancesLogicR2()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 7, Actual exceeds budget, and there's an encumbrance
|
testBudgetEqualsActualNoEncumbrancesALogic | public void testBudgetEqualsActualNoEncumbrancesALogic()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesC1Logic | public void testBudgetEqualsActualNoEncumbrancesC1Logic()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesC2Logic | public void testBudgetEqualsActualNoEncumbrancesC2Logic()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesN1Logic | public void testBudgetEqualsActualNoEncumbrancesN1Logic()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesN2Logic | public void testBudgetEqualsActualNoEncumbrancesN2Logic()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesR1Logic | public void testBudgetEqualsActualNoEncumbrancesR1Logic()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetEqualsActualNoEncumbrancesR2Logic | public void testBudgetEqualsActualNoEncumbrancesR2Logic()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 3, budget equals actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicA | public void testBudgetGreaterThanActualNoEncumbrancesLogicA()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicC1 | public void testBudgetGreaterThanActualNoEncumbrancesLogicC1()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicC2 | public void testBudgetGreaterThanActualNoEncumbrancesLogicC2()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicN1 | public void testBudgetGreaterThanActualNoEncumbrancesLogicN1()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicN2 | public void testBudgetGreaterThanActualNoEncumbrancesLogicN2()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicR1 | public void testBudgetGreaterThanActualNoEncumbrancesLogicR1()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualNoEncumbrancesLogicR2 | public void testBudgetGreaterThanActualNoEncumbrancesLogicR2()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 1, budget exceeds actual
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicA | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicA()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicC1 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicC1()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicC2 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicC2()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicN1 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicN1()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicN2 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicN2()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicR1 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicR1()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicR2 | public void testBudgetGreaterThanActualVarianceEqualsEncumbrancesLogicR2()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 5, budget equals actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicA | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicA()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicC1 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicC1()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicC2 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicC2()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicN1 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicN1()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicN2 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicN2()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicR1 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicR1()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicR2 | public void testBudgetGreaterThanActualVarianceGreaterThanEncumbrancesLogicR2()(Code) | | Tests that LogicR2 generates the correct origin entries for Scenario 4, budget exceeds actual + encumbrance
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicA | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicA()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicC1 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicC1()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicC2 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicC2()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicN1 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicN1()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicN2 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicN2()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicR1 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicR1()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicR2 | public void testBudgetGreaterThanActualVariancesLessThanEncumbrancesLogicR2()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 6, Actual + encumbrance exceeds budget
|
testBudgetLessThanActualNoEncumbrancesALogic | public void testBudgetLessThanActualNoEncumbrancesALogic()(Code) | | Tests that Logic A generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesC1Logic | public void testBudgetLessThanActualNoEncumbrancesC1Logic()(Code) | | Tests that Logic C1 generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesC2Logic | public void testBudgetLessThanActualNoEncumbrancesC2Logic()(Code) | | Tests that Logic C2 generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesN1Logic | public void testBudgetLessThanActualNoEncumbrancesN1Logic()(Code) | | Tests that Logic N1 generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesN2Logic | public void testBudgetLessThanActualNoEncumbrancesN2Logic()(Code) | | Tests that Logic N2 generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesR1Logic | public void testBudgetLessThanActualNoEncumbrancesR1Logic()(Code) | | Tests that Logic R1 generates the correct origin entries for Scenario 2, actual exceeds budget
|
testBudgetLessThanActualNoEncumbrancesR2Logic | public void testBudgetLessThanActualNoEncumbrancesR2Logic()(Code) | | Tests that Logic R2 generates the correct origin entries for Scenario 2, actual exceeds budget
|
Methods inherited from org.kuali.module.gl.OriginEntryTestBase | protected void assertOriginEntries(int groupCount, EntryHolder[] requiredEntries)(Code)(Java Doc) protected void clearEncumbranceTable()(Code)(Java Doc) protected void clearExpenditureTable()(Code)(Java Doc) protected void clearGlAccountBalanceTable()(Code)(Java Doc) protected void clearGlBalanceTable()(Code)(Java Doc) protected void clearGlEntryTable(String fin_coa_cd, String account_nbr)(Code)(Java Doc) protected void clearOriginEntryTables()(Code)(Java Doc) protected void clearReversalTable()(Code)(Java Doc) protected void clearSufficientFundBalanceTable()(Code)(Java Doc) protected int getGroup(List groups, String groupCode)(Code)(Java Doc) protected void loadInputTransactions(String groupCode, String[] transactions, Date date)(Code)(Java Doc) protected void loadInputTransactions(String groupCode, String[] transactions)(Code)(Java Doc) protected void loadTransactions(String[] transactions, OriginEntryGroup group)(Code)(Java Doc) protected void resetAllEnhancementFlags() throws Exception(Code)(Java Doc) protected void setApplicationConfigurationFlag(Class componentClass, String name, boolean value) throws Exception(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) protected void trace(Object o, int tabIndentCount)(Code)(Java Doc) protected void traceList(List list, String name)(Code)(Java Doc)
|
|
|