diff options
author | dobey <dobey> | 2006-09-21 02:17:00 +0000 |
---|---|---|
committer | dobey <dobey> | 2006-09-21 02:17:00 +0000 |
commit | cbfac0d065573bc77bf11dc914dc87f1598d48e3 (patch) | |
tree | a65b5b83f7e3d156b4c2060f4f4ad4f5d279d69f | |
parent | 4ef2e3b90b6005e9fdd39678a383cf43faa2390d (diff) |
2006-09-20 Rodney Dawes <dobey@novell.com>
* python/A11yTestSuite.py (a11y_test_init): Add support for passing
in arguments to launch the application with
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | python/A11yTestUtils.py | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2006-09-20 Rodney Dawes <dobey@novell.com> + * python/A11yTestSuite.py (a11y_test_init): Add support for passing + in arguments to launch the application with + +2006-09-20 Rodney Dawes <dobey@novell.com> + * scripts/zen-installer.py: Update to use the python module stuff for scanning the program for accessibility issues diff --git a/python/A11yTestUtils.py b/python/A11yTestUtils.py index 26630a3..3c95b20 100644 --- a/python/A11yTestUtils.py +++ b/python/A11yTestUtils.py @@ -102,7 +102,7 @@ def a11y_scan_window (windowName): f.write ('</tr>\n') f.write ('</table>\n') -def a11y_test_init (programName): +def a11y_test_init (programName, argumentList = ''): global f f = open (programName + '.html', 'w') f.write ('<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\">') @@ -112,7 +112,10 @@ def a11y_test_init (programName): f.write ('<style type=\"text/css\">@import url(report.css);</style>') f.write ('</head>\n') f.write ('<body>\n') - launchapp (programName, 1) + if (argumentList != ''): + launchapp (programName + ' ' + argumentList, 1) + else: + launchapp (programName, 1) def a11y_test_shutdown (): f.write ('</body>\n') |