[gnumeric] t2000: change column naming.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] t2000: change column naming.
- Date: Wed, 17 Dec 2014 02:05:13 +0000 (UTC)
commit 9bb9c9ebb1b72226b39684c8f67f34cad5efb619
Author: Morten Welinder <terra gnome org>
Date: Tue Dec 16 21:04:24 2014 -0500
t2000: change column naming.
ChangeLog | 3 +++
src/sstest.c | 12 ++++++------
test/ChangeLog | 4 ++++
test/t2000-names-insdel.pl | 24 ++++++++++++------------
4 files changed, 25 insertions(+), 18 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f466db1..631838b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-12-16 Morten Welinder <terra gnome org>
+ * src/sstest.c (test_insdel_rowcol_names): Use column name, not
+ number.
+
* src/sheet.c (sheet_insdel_colrow): Fix "sticky-end" setting for
the delete case.
diff --git a/src/sstest.c b/src/sstest.c
index bd7331c..3b46eca 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -197,8 +197,8 @@ test_insdel_rowcol_names (void)
dump_names (wb);
for (i = 3; i >= 0; i--) {
- g_printerr ("About to insert before column %d on %s\n",
- i, sheet1->name_unquoted);
+ g_printerr ("About to insert before column %s on %s\n",
+ col_name (i), sheet1->name_unquoted);
sheet_insert_cols (sheet1, i, 12, &undo, NULL);
dump_names (wb);
g_printerr ("Undoing.\n");
@@ -208,8 +208,8 @@ test_insdel_rowcol_names (void)
}
for (i = 3; i >= 0; i--) {
- g_printerr ("About to insert before column %d on %s\n",
- i, sheet2->name_unquoted);
+ g_printerr ("About to insert before column %s on %s\n",
+ col_name (i), sheet2->name_unquoted);
sheet_insert_cols (sheet2, i, 12, &undo, NULL);
dump_names (wb);
g_printerr ("Undoing.\n");
@@ -219,8 +219,8 @@ test_insdel_rowcol_names (void)
}
for (i = 3; i >= 0; i--) {
- g_printerr ("About to delete column %d on %s\n",
- i, sheet1->name_unquoted);
+ g_printerr ("About to delete column %s on %s\n",
+ col_name (i), sheet1->name_unquoted);
sheet_delete_cols (sheet1, i, 1, &undo, NULL);
dump_names (wb);
g_printerr ("Undoing.\n");
diff --git a/test/ChangeLog b/test/ChangeLog
index 491cbd3..bd0cf86 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-16 Morten Welinder <terra gnome org>
+
+ * t2000-names-insdel.pl: Match sstest changes.
+
2014-09-25 Morten Welinder <terra gnome org>
* Release 1.12.18
diff --git a/test/t2000-names-insdel.pl b/test/t2000-names-insdel.pl
index 4e299f3..d6a1e0d 100755
--- a/test/t2000-names-insdel.pl
+++ b/test/t2000-names-insdel.pl
@@ -28,7 +28,7 @@ Scope=Sheet2 Name="Sheet_Title" Expr="Sheet2"
Scope=Global Name="NAMEG2" Expr=$A$14+Sheet1!$A$14+Sheet2!$A$14
Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
-About to insert before column 3 on Sheet1
+About to insert before column D on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -43,7 +43,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 2 on Sheet1
+About to insert before column C on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -58,7 +58,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 1 on Sheet1
+About to insert before column B on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -73,7 +73,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 0 on Sheet1
+About to insert before column A on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$M$1
@@ -88,7 +88,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 3 on Sheet2
+About to insert before column D on Sheet2
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -103,7 +103,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 2 on Sheet2
+About to insert before column C on Sheet2
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -118,7 +118,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 1 on Sheet2
+About to insert before column B on Sheet2
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -133,7 +133,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to insert before column 0 on Sheet2
+About to insert before column A on Sheet2
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -148,7 +148,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to delete column 3 on Sheet1
+About to delete column D on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -163,7 +163,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to delete column 2 on Sheet1
+About to delete column C on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -178,7 +178,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to delete column 1 on Sheet1
+About to delete column B on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=$A$1
@@ -193,7 +193,7 @@ Scope=Global Name="NAMEGA1" Expr=A1
Dumping names... Done
Undoing.
Done.
-About to delete column 0 on Sheet1
+About to delete column A on Sheet1
Dumping names...
Scope=Sheet1 Name="NAMEA1" Expr=A1
Scope=Sheet1 Name="NAMEA1ABS" Expr=#REF!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]