Nick Hall
920af00bfe
Revert two files committed in error
...
svn: r22749
2013-07-28 14:21:01 +00:00
Nick Hall
58cf9546f9
6954: Output command line messages and progress information to stderr rather than stdout
...
svn: r22748
2013-07-28 14:17:29 +00:00
Vassilii Khachaturov
6c1d5a89a2
6951: import/export test suite runner broken
...
Now properly importing all the formats supported.
For better review of the results, diff the summary reports
to the baseline produced from the example DB import.
svn: r22745
2013-07-28 13:34:50 +00:00
Vassilii Khachaturov
7f4cc09821
6951: import/export test suite runner broken
...
Revived the runner broken as of 3.0.0.
Notable changes:
1) instead of GRDB, using a named 'example' DB
in a dedicated GRAMPSHOME location
2) changed the format list to the more modern one
3) produced GRAMPS XML created manually from .gramps with gunzip
4) action "summary" no longer there, using the textual "summary" report
svn: r22744
2013-07-28 12:04:03 +00:00
Vassilii Khachaturov
96ce483828
6938: sys.path broken in unit tests under test/
...
While at it, also fixed GtkHandler_Test -
changed
- gtk.main()
+ while gtk.events_pending():
+ gtk.main_iteration()
so that the test isn't stuck when done.
Note that this test currently is marked as failed
as its purpose is to pop up an error dialog.
svn: r22724
2013-07-23 07:20:11 +00:00
Vassilii Khachaturov
c128986c6f
6935: stale test code for code long gone
...
remove stale imports
svn: r22723
2013-07-23 07:19:56 +00:00
Vassilii Khachaturov
2081de473d
6937: RunAllTests.py skips some tests
...
svn: r22722
2013-07-23 07:19:45 +00:00
Vassilii Khachaturov
fcdeffc616
6935: stale test code for code long gone
...
svn: r22718
2013-07-22 20:00:26 +00:00
Vassilii Khachaturov
c09c767b26
6837: rename reports also in run_test.sh
...
ancestors_report isn't there, just ancestor_report
svn: r22592
2013-06-24 18:04:09 +00:00
Vassilii Khachaturov
4b23ec4d6b
6837: rename reports also in run_test.sh
...
svn: r22591
2013-06-24 13:22:59 +00:00
Benny Malengier
ad0e1c0a29
correct syntax error
...
svn: r16438
2011-01-22 16:46:34 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +00:00
Doug Blank
0f20544be3
Changes to allow GrampsDb tests to run
...
svn: r13893
2009-12-23 15:48:01 +00:00
Rob G. Healey
890138b294
Deleted the src/Models directory and removed the only file that I could find that was using it.
...
svn: r12497
2009-04-30 03:50:17 +00:00
Gerald Britton
2671a8cd50
Replace "== None" and "!= None" with "is None" and "is not None", respectively
...
svn: r12098
2009-02-23 19:11:46 +00:00
Brian Matherly
2e9a488e3e
Refactor export plugin framework. All importers and exporters are now plugins.
...
svn: r11243
2008-11-04 04:12:51 +00:00
Brian Matherly
e9c1b1de89
Remove GRDB export code. GRDB export is not supported.
...
svn: r11144
2008-10-14 11:54:42 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +00:00
Richard Taylor
190d20fcee
fix test case to work with reindex_reference_map
...
svn: r7795
2006-12-13 10:03:52 +00:00
Alex Roitman
9b4864a9a0
Update
...
svn: r7704
2006-11-26 08:08:06 +00:00
Alex Roitman
8b53da15c7
New file
...
svn: r7692
2006-11-25 19:39:56 +00:00
Martin Hawlisch
ad6e2d53af
another bsddb test
...
svn: r7691
2006-11-25 19:17:45 +00:00
Martin Hawlisch
4df096ce6f
new testcase
...
svn: r7685
2006-11-24 21:44:32 +00:00
Alex Roitman
9aeb975d1c
* test/GrampsDb/GrampsDbBase_Test.py (test_reindex_reference_map):
...
Properly define lambda to fake the _update_reference_map method.
svn: r7678
2006-11-24 05:39:14 +00:00
Alex Roitman
5dd18318f9
2006-11-23 Alex Roitman <shura@gramps-project.org>
...
* test/GrampsDb/GrampsDbTestBase.py (tearDown): Close database at
the end of test.
svn: r7677
2006-11-24 05:21:57 +00:00
Don Allingham
220ccd309a
2006-11-15 Don Allingham <don@gramps-project.org>
...
* data/gramps.schemas.in: default transactions to off
* src/Config/_GrampsConfigKeys.py: default transaction to off
* src/Editors/_EditFamily.py: remove dead code
* src/plugins/DetDescendantReport.py: remove dead code
svn: r7631
2006-11-16 04:02:28 +00:00
Martin Hawlisch
682ea93e48
* test/GrampsDb/GrampsDbTestBase.py: Provide a callback to db.load(). Hmmm, that worked without sometime back.
...
svn: r7615
2006-11-11 21:46:22 +00:00
Alex Roitman
3fe3482efb
In .:
...
2006-05-01 Alex Roitman <shura@gramps-project.org>
* various: merge changes from gramps20.
In po:
2006-05-01 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
b3798a9f30
Remove .cvsignore files from all directories.
...
svn: r6034
2006-03-02 19:30:29 +00:00
Alex Roitman
2b96e371e1
* various: merge changes made in gramps20 up until R2_0_10_real tag.
...
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.
svn: r6011
2006-02-28 19:54:35 +00:00
Richard Taylor
f6ae3f18c2
add test code for cursor
...
svn: r5958
2006-02-19 16:11:18 +00:00
Richard Taylor
207669f234
trivial fixed to fast models
...
svn: r5873
2006-02-03 15:53:20 +00:00
Richard Taylor
754231f151
added initial fast model implementation
...
svn: r5872
2006-02-03 15:49:59 +00:00
Richard Taylor
90247368d9
make ref update optional
...
svn: r5780
2006-01-17 21:10:20 +00:00
Richard Taylor
d62d7ae447
added unittest for
...
ErrorReportAssistant
svn: r5679
2006-01-06 12:17:32 +00:00
Richard Taylor
cfb8cc47a4
enabled rotate_handler output.
...
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
ce52de5804
added initial logging framwork.
...
svn: r5673
2006-01-05 16:02:27 +00:00
Alex Roitman
6fafacf793
* test/RunAllTests.py: Change header.
...
* src/EventEdit.py: Fix build_ methods.
* src/DisplayState.py: window management improvements
svn: r5620
2005-12-23 00:40:35 +00:00
Richard Taylor
b2b6cb0ad5
* src/EditPlace.py: changed display_references to use find_backlink_handles
...
* src/EditRepository.py: modified to use find_backlink_handles and fixed subtle bug
* src/RelLib/_Source.py: added reporef_list to referent object lists so that backref
are put in reference_map
* test/GrampsDb/GrampsDbBase_Test.py: added unittest for source/reference backlinks
* test/GrampsDb/GrampsDbTestBase.py: added unittest for source/reference backlinks
svn: r5616
2005-12-22 12:02:06 +00:00
Richard Taylor
9eb1f99b86
move database code into new package
...
svn: r5598
2005-12-21 11:27:05 +00:00
Richard Taylor
1a102afbd1
removed get_backlink_handles from RelLib
...
svn: r5592
2005-12-20 14:31:01 +00:00
Richard Taylor
bd1b437256
* src/RelLib.py: added get_backlink_handles method to PrimaryObject
...
* test/GrampsDbBase_Test.py: factored out common db test methods
* test/GrampsDbTestBase.py: new base class for unittests that
need to create database records
* test/RelLib_Test.py: unittest for the
* get_backlink_handles method
svn: r5583
2005-12-19 13:45:05 +00:00
Richard Taylor
56d3c6658c
tests and fixes for reference_map.
...
svn: r5576
2005-12-17 22:16:03 +00:00
Richard Taylor
9f891c2913
moved to using in keys rather than class names in the referece_map table
...
svn: r5575
2005-12-17 22:02:48 +00:00
Alex Roitman
d35b4ea7b0
Update
...
svn: r5573
2005-12-17 21:26:01 +00:00
Richard Taylor
d6b21a628f
fixed tiny typo
...
svn: r5572
2005-12-17 21:19:41 +00:00
Richard Taylor
fff5c3e595
* src/GrampsDbBase.py: fixed UNDO buffer issue
...
* test/GrampsDbBase_Test.py: improved performance test
* test/RunAllTests.py: added -p cmdline flag
svn: r5571
2005-12-17 21:13:45 +00:00
Richard Taylor
e102387e98
fix for cursor set
...
svn: r5570
2005-12-17 20:13:23 +00:00
Richard Taylor
e68a559e74
added a crude performance test.
...
svn: r5564
2005-12-16 16:31:38 +00:00