mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add to-do notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10168 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a069fe265f
commit
bc2faba5ff
@ -4,6 +4,18 @@
|
||||
* Create transactions with random values, random accounts, random
|
||||
* account heirarchies, etc.
|
||||
*
|
||||
* XXX see notes below for the 'add_random_split()', which state:
|
||||
* "this routine creates a random, but otherwise self-consistent,
|
||||
* 'legal' transaction. It should really be suplemented with another
|
||||
* routine that creates cruddy, inconsistent transactions, so that the
|
||||
* engine 'scrub' routines get tested. "
|
||||
*
|
||||
* XXX We should really modify that routine to create really, ugly, dirty
|
||||
* transactions -- 3 or more splits, some without parent accounts,
|
||||
* other splits that have accounts but aren't in a transaction,
|
||||
* splits that share a currency with the transaction, but whose
|
||||
* value doesn't equal amount, etc.
|
||||
*
|
||||
* Created by Linux Developers Group, 2001
|
||||
* Updates Linas Vepstas July 2004
|
||||
*/
|
||||
@ -1002,6 +1014,11 @@ set_tran_random_string(Transaction* trn,
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX this routine creates a random, but otherwise self-consistent,
|
||||
* 'legal' transaction. It should really be suplemented with another
|
||||
* routine that creates cruddy, inconsistent transactions, so that the
|
||||
* engine 'scrub' routines get tested.
|
||||
*/
|
||||
static void
|
||||
add_random_splits(QofBook *book, Transaction *trn, GList *account_list)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user