Change gramplet to populate database with sources and citations into a tool under the Tools/Debug menu as I should have created it in the first place. This tool is a test/diagnostic tool.

svn: r18944
This commit is contained in:
Tim G L Lyons
2012-02-21 15:08:43 +00:00
parent 5f15b64215
commit a5c42e2975
4 changed files with 211 additions and 172 deletions

View File

@@ -97,3 +97,26 @@ optionclass = 'TestcaseGeneratorOptions',
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
)
#------------------------------------------------------------------------
#
# Generate Testcases for Sources and citations
#
#------------------------------------------------------------------------
register(TOOL,
id = 'populatesources',
name = "Populate Sources and Citations",
description = ("This tool generates sources and citations ofr each source in "
"order to populate the database for testing with significant "
"numbers of sources and citations"),
version = '1.0',
gramps_target_version = '3.4',
status = UNSTABLE,
fname = 'PopulateSources.py',
authors = ["Tim Lyons"],
authors_email = [""],
category = TOOL_DEBUG,
toolclass = 'PopulateSources',
optionclass = 'PopulateSourcesOptions',
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
)