[glom] ldtp tests: Correct the English in the error messages.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom] ldtp tests: Correct the English in the error messages.
- Date: Mon, 27 Jul 2009 17:01:41 +0000 (UTC)
commit 7cb48016bae2e9deb8d4ab8f92b288e397e4b89b
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jul 27 18:37:14 2009 +0200
ldtp tests: Correct the English in the error messages.
* ldtp/common.py:
* ldtp/database-creation/create-db.py:
* ldtp/fields-edit/fields-edit.py: Correct the English in the error messages.
ChangeLog | 8 ++++++++
ldtp/common.py | 4 ++--
ldtp/database-creation/create-db.py | 4 ++--
ldtp/fields-edit/fields-edit.py | 2 +-
4 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a24b608..8c899ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-07-27 Murray Cumming <murrayc murrayc com>
+ ldtp tests: Correct the English in the error messages.
+
+ * ldtp/common.py:
+ * ldtp/database-creation/create-db.py:
+ * ldtp/fields-edit/fields-edit.py: Correct the English in the error messages.
+
+2009-07-27 Murray Cumming <murrayc murrayc com>
+
* glom/utility_widgets/dialog_image_progress.cc: on_stream_read(): Add casts
to avoid compiler warnings, to fix distcheck.
diff --git a/ldtp/common.py b/ldtp/common.py
index 54e9e3a..460172f 100644
--- a/ldtp/common.py
+++ b/ldtp/common.py
@@ -45,7 +45,7 @@ def exit_glom():
ldtp.selectmenuitem(main_window, 'mnuFile;mnuClose')
if ldtp.waittillguinotexist('*Glom*') == 0:
- raise ldtp.LdtpExecutionError('The Glom Window does not disappear after closing the application')
+ raise ldtp.LdtpExecutionError('The Glom Window did not disappear after closing the application.')
# Reads hostname, username and password to use for access to a
# centrally hosted database server
@@ -80,7 +80,7 @@ def enter_connection_credentials(backend_name):
# Make sure it's gone
if ldtp.waittillguinotexist('Connection Details') == 0:
- raise ldtp.LdtpExecutionError('Connection details dialog does not disappear')
+ raise ldtp.LdtpExecutionError('The cnnection details dialog did not disappear')
# Selects one of the backends in button_texts in the database creation dialog
def select_backend(dialog_title, backend_name):
diff --git a/ldtp/database-creation/create-db.py b/ldtp/database-creation/create-db.py
index 64b5ee2..6da36ac 100755
--- a/ldtp/database-creation/create-db.py
+++ b/ldtp/database-creation/create-db.py
@@ -58,7 +58,7 @@ try:
# Wait for the file chooser dialog to appear:
if waittillguiexist(creation_dialog) == 0:
- raise LdtpExecutionError('The file chooser dialog does not appear.')
+ raise LdtpExecutionError('The file chooser dialog window did not appear.')
# Navigate into the newly created folder:
doubleclickrow(creation_dialog, 'tblFiles', 'TestDatabase')
@@ -79,7 +79,7 @@ try:
if not example:
# Wait for the Tables dialog to appear
if waittillguiexist('Tables') == 0:
- raise LdtpExecutionError('Tables dialog does not appear')
+ raise LdtpExecutionError('The tables dialog window did not appear.')
# Create an initial table
click('Tables', 'Add')
diff --git a/ldtp/fields-edit/fields-edit.py b/ldtp/fields-edit/fields-edit.py
index ee279a5..8810595 100755
--- a/ldtp/fields-edit/fields-edit.py
+++ b/ldtp/fields-edit/fields-edit.py
@@ -58,7 +58,7 @@ try:
field_definitions = 'Field Definitions'
if waittillguiexist(field_definitions) == 0:
- raise LdtpExecutionError('Field Definitions dialog did not appear.')
+ raise LdtpExecutionError('The Field Definitions dialog window did not appear.')
# Add a new field:
click(field_definitions, 'btnAdd')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]