gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Wed Jan 20 15:15:47 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/bb915dc8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d6e6eb64 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1a65e716 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1da2eacf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/88495d23 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/df551196 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c59d1a22 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6b9823c6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/985bf549 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ae40a4c6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2763b485 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8fba6e21 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/598531f7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/afff8102 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8168f45a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/25542415 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bd59bab2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/24773aa2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/00104588 (commit)



commit bb915dc8f1b143c59ba6bf043f67b59f914b2814
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Jan 20 20:54:46 2016 +0100

    csv-imp - add parse test for semicolon separated strings

commit d6e6eb6401b0847a75ca915b97d565dc1353ab58
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Jan 20 20:29:24 2016 +0100

    csv-imp - new parse test starting from an in-source string struct
    
    This test reads its test data from a struct in the test source
    instead of from a real csv file.
    This allows to keep the string to parse and
    the expected parsed fields in one struct for evaluation.

commit 1a65e7165f55ce7fc091d95c2e7f892ad9f3d126
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon Sep 28 20:41:26 2015 +0200

    csv-imp - use GNC_TEST_ADD_FUNC for test_parse_date as well

commit 1da2eacf2b121d6b618159335e3789511b3aaa7f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon Sep 28 20:22:34 2015 +0200

    csv-imp - test_gnc_csv_new_parse_data doesn't use the fixture
    
    So add the test via GNC_TEST_ADD_FUNC instead.
    This also fixes the segfault in gnc_csv_parse_data_free.

commit 88495d23b460e76de3b31e471b221a3b378627a9
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Sep 23 22:27:02 2015 +0200

    Match calls to g_string_chunk_new with g_string_chunk_free

commit df55119654484af18d3292d159f9291a4b5d1a1f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon Sep 28 20:30:24 2015 +0200

    csv-imp - don't free the parse data just created for testing
    
    For some odd reason it makes the test segfault.

commit c59d1a223657e4e4c5f9861530e8a1b638d35fbe
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon Sep 28 20:27:56 2015 +0200

    csv-imp - move tests for gnc_csv_load_file to separate function

commit 6b9823c61499b0bbb29b05766dcbc088175bf840
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Sep 23 18:27:28 2015 +0200

    csv-imp - test for gnc_csv_new_parse_data and skip gnc_csv_parse_data_free
    
    The latter has no output that can be tested on

commit 985bf549c3ff50902d3bb62e9e79f55ad138e748
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Sep 23 18:26:02 2015 +0200

    csv-imp - use setup and teardown for test_gnc_csv_parse

commit ae40a4c6d8378a551bf84a36e9f03a939e40236f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Sep 23 17:40:51 2015 +0200

    Mark static functions as not testable

commit 2763b485f179a05f7674884fceed95af97c5b5b3
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Jan 20 20:22:01 2016 +0100

    Test Date fixup

commit 8fba6e216d26243640dc6fa1d9da5c7515f46df5
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 22 19:27:19 2015 +0200

    csv-imp - add test for parse_date

commit 598531f7e62200a76d23161e1aab1599fa484c8a
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 22 19:27:12 2015 +0200

    csv-imp - add basic test for gnc_csv_parse

commit afff8102f44a2f0a6726f167811e07337061fe7a
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Mon May 11 21:30:51 2015 +0200

    csv-imp - add initial (empty) test framework

commit 8168f45a6fcad86c3b2aed91c709411df72bba4d
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 22 18:49:06 2015 +0200

    Set fixed time values so test results won't depend on the time the test is run

commit 25542415a6a5b97c5dfacb3de955ef2ab59178b0
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue May 12 21:58:24 2015 +0200

    Adjust GError usage to comply with the GError rules
    
    - Define an error domain (different from 0)
    - Adjust member names in error enumeration to follow
      required naming conventions

commit bd59bab28f8215ae4c8d49cf56351aee95d5e6cb
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 22 18:58:39 2015 +0200

    Cumulated minor spelling fixes in comments
    and other non-code texts

commit 24773aa2937e24ff8da0ab1ae3a92170c530d872
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue May 12 21:56:55 2015 +0200

    Some indentation adapations



Summary of changes:
 configure.ac                                       |   1 +
 src/engine/test/utest-Account.c                    |   2 +-
 src/import-export/csv-imp/Makefile.am              |   2 +-
 .../csv-imp/assistant-csv-trans-import.c           |   2 +-
 src/import-export/csv-imp/gnc-csv-model.c          |  35 +-
 src/import-export/csv-imp/gnc-csv-model.h          |  35 +-
 src/import-export/csv-imp/test/Makefile.am         |  73 ++++
 src/import-export/csv-imp/test/sample1.csv         |   2 +
 .../csv-imp/test/test-csv-imp.c}                   |  40 +-
 .../csv-imp/test/utest-gnc-csv-model.c             | 462 +++++++++++++++++++++
 src/libqof/qof/gnc-date.h                          |  34 +-
 test-templates/make-testfile                       |   2 +-
 12 files changed, 627 insertions(+), 63 deletions(-)
 create mode 100644 src/import-export/csv-imp/test/Makefile.am
 create mode 100644 src/import-export/csv-imp/test/sample1.csv
 copy src/{engine/test/test-engine.c => import-export/csv-imp/test/test-csv-imp.c} (68%)
 create mode 100644 src/import-export/csv-imp/test/utest-gnc-csv-model.c



More information about the gnucash-patches mailing list