[glom] LDTP: Test tables containing capital letters
- From: Armin Burgmeier <arminb src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom] LDTP: Test tables containing capital letters
- Date: Tue, 30 Jun 2009 20:12:56 +0000 (UTC)
commit 7fc0ab470af2bf7ce72b5cb9dc3f4fc92be90256
Author: Armin Burgmeier <armin arbur net>
Date: Tue Jun 30 22:05:52 2009 +0200
LDTP: Test tables containing capital letters
* ldtp/database-creation/create-db.py: Changed the name of the created
database table (for empty databases) to TestTable, so that we test
that table names with capital letters work correctly.
ChangeLog | 6 ++++++
ldtp/database-creation/create-db.py | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b9eb66a..6de913d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-06-30 Armin Burgmeier <armin openismus com>
+ * ldtp/database-creation/create-db.py: Changed the name of the created
+ database table (for empty databases) to TestTable, so that we test
+ that table names with capital letters work correctly.
+
+2009-06-30 Armin Burgmeier <armin openismus com>
+
* glom/base_db.cc (get_fields_for_table_from_database): Make this work
for table names which need quotation, and return unquoted field names.
This fixes bug #587051.
diff --git a/ldtp/database-creation/create-db.py b/ldtp/database-creation/create-db.py
index fe04a1c..d5b8360 100755
--- a/ldtp/database-creation/create-db.py
+++ b/ldtp/database-creation/create-db.py
@@ -126,7 +126,7 @@ try:
# getcellvalue works, though:
#setcellvalue('Tables', 'tblTables', 0, 0, 'TestTable')
# Use this as a workaround:
- generatekeyevent('test_table<enter>')
+ generatekeyevent('TestTable<enter>')
click('Tables', 'Close')
common.wait_for_database_open()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]