Commit Graph

13 Commits

Author SHA1 Message Date
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Dave Peticolas
1ab386b01a *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6672 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-30 07:14:56 +00:00
Dave Peticolas
c5af00805e * src/backend/postgres/test/test-db.c: work on tests
* src/backend/postgres/test/.cvsignore: ignore database dirs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6400 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:02:40 +00:00
James LewisMoss
ca8c3f48f9 add .libs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5688 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-18 20:40:00 +00:00
Dave Peticolas
1506523cf6 2001-10-12 Dave Peticolas <dave@krondo.com>
* src/test-core/test-stuff.c (get_random_string_without): new func

	* src/engine/test-core/test-engine-stuff.c
	(get_random_kvp_frame_depth): fix bug
	(get_random_session): new func

	* src/engine/Account.c (xaccAccountEqual): more warnings, use
	gnc_commodity_equal

	* src/engine/Group.c (xaccGroupEqual): more warnings

	* src/engine/Transaction.c: use gnc_commodity_equal

	* src/engine/gnc-book.c (gnc_book_equal): compare commodity tables

	* src/engine/gnc-commodity.c (gnc_commodity_equal): new func
	(gnc_commodity_table_equal): new func

	* src/engine/gnc-session.c (gnc_session_begin): destroy old backend

	* src/backend/postgres/test/.cvsignore: ignore test files

	* src/backend/postgres/test/Makefile.am: add file backend .la
	to get symbols for gdb

	* src/backend/postgres/test/run-tests.sh: remove test files
	before starting test

	* src/backend/postgres/test/test-db.c: when books differ, write
	out xml files

	* src/backend/file/test/test-xml-account.c (test_add_account):
	fix for strong commodity equal test


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5581 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-12 10:50:35 +00:00
Dave Peticolas
3a4d567892 2001-10-11 Dave Peticolas <dave@krondo.com>
* src/test-core/test-stuff.c: allow option of including funky
	characters in random strings

	* src/engine/Transaction.c (xaccTransEqual): add warning strings

	* src/backend/postgres/test/.cvsignore: ignore test-escape

	* src/backend/postgres/test/test-escape: test string escaping

	* src/backend/postgres/test/Makefile.am: add test-escape

	* src/backend/postgres/builder.c (sqlBuild_Where_Str): don't
	escape string twice

	* src/backend/postgres/escape.c (sqlEscapeString): check for
	already-escaped string

	* src/backend/postgres/kvp-sql.c: escape path strings

	* src/backend/file/test/test-xml-transaction.c (test_add_transaction):
	test in reverse order, first orig, then new.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5574 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-11 08:22:44 +00:00
Rob Browning
200abafc19 * src/backend/postgres/test/.cvsignore: add .deps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5523 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 23:23:16 +00:00
Dave Peticolas
77913bb212 Work on test infrastructure. Add gnc_book_equal().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5452 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-01 08:24:07 +00:00
Dave Peticolas
904b2c2acb Fix some module versioning problems.
Distinguish between book full path and book logging path.
Work on test infrastructure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5437 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-28 09:04:43 +00:00
Dave Peticolas
1526103669 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5435 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-28 00:16:13 +00:00
Dave Peticolas
8f95f763e8 Work on test infrastructure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5434 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-28 00:15:49 +00:00
James LewisMoss
78095aa1eb add .deps, .libs, Makefile.in, *.lo and *.la to appropriate cvsignore files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5109 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-10 20:21:36 +00:00
Dave Peticolas
a3d3717929 .cvsignore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5078 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-07 23:59:30 +00:00