| |
|
| org.kuali.kfs.context.KualiTestBase org.kuali.module.gl.service.SufficientFundsRebuilderServiceTest
SufficientFundsRebuilderServiceTest | public class SufficientFundsRebuilderServiceTest extends KualiTestBase (Code) | | Tests the SufficientFundsRebuilderService
|
assertSFBLEntries | protected void assertSFBLEntries(String[] requiredSFBLs)(Code) | | Check all the entries in gl_sf_balances_t against the data passed in. If any of them are different, assert an error.
Parameters: requiredSFBLs - an array of expected sufficient fund balance records, formatted as Strings |
assertSFRBEmpty | protected void assertSFRBEmpty()(Code) | | Check that the SFRB table is empty.
|
clearSufficientFundBalanceTable | protected void clearSufficientFundBalanceTable()(Code) | | Deletes all records in the sufficient funds balances table
|
clearSufficientFundRebuildTable | protected void clearSufficientFundRebuildTable()(Code) | | Deletes all records in the sufficient funds rebuild table
|
createSFRB | protected SufficientFundRebuild createSFRB(String line)(Code) | | Inserts a String-formatted sufficient fund rebuild record into the database as a sufficient fund rebuild record
Parameters: line - the String-formatted sufficient fund rebuild record to convert and save the converted sufficient fund rebuild record |
loadInputTransactions | protected void loadInputTransactions(String[] transactions)(Code) | | This converts an array of String-transactions to SF balances in the database
Parameters: transactions - an array of String-formatted sufficient fund rebuild record |
setUp | protected void setUp() throws Exception(Code) | | Initializes the services needed for the test
See Also: junit.framework.TestCase.setUp |
testAddedSFBLRecords | public void testAddedSFBLRecords() throws Exception(Code) | | Tests that added SF balance records exist after all SF balances are rebuilt
throws: Exception - thrown if any exception is encountered for any reason |
testConversion | public void testConversion() throws Exception(Code) | | Tests SF fund rebuilding conversion
throws: Exception - thrown if any exception is encountered for any reason |
|
|
|