summaryrefslogtreecommitdiff
path: root/svtools/qa
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-10-23 09:26:10 -0400
committerHenry Castro <hcastro@collabora.com>2019-10-23 19:34:51 +0200
commit7220d958b392eabc51236a31be549df8fa3007c0 (patch)
tree364f2824329e589b18fe372b751595c8941180a1 /svtools/qa
parent4a1c89e028f855999bab0c1bcc4c61a56e087852 (diff)
lok: svtools: change parameter from "ID" to "POS" in ValueSetUIObject class
The ValueSet control has an item list with a pair properties "(pos,id)". The "POS" parameter is the item "ID" not the position in the list and to not modify doc_sendDialogEvent function, let's have same uniform parameter for the action "SELECT". Change-Id: I5ce2cf0433bebcd77954f271c4aa09b0b446c0ab Reviewed-on: https://gerrit.libreoffice.org/81399 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'svtools/qa')
-rw-r--r--svtools/qa/unit/svtools-dialogs-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/qa/unit/svtools-dialogs-test.cxx b/svtools/qa/unit/svtools-dialogs-test.cxx
index 897455b2ff23..f710217ea7fd 100644
--- a/svtools/qa/unit/svtools-dialogs-test.cxx
+++ b/svtools/qa/unit/svtools-dialogs-test.cxx
@@ -81,7 +81,7 @@ void SvtoolsDialogsTest::testValueSetControl()
CPPUNIT_ASSERT(pUIObject);
StringMap aMap;
- aMap["ID"] = "300";
+ aMap["POS"] = "300";
pUIObject->execute("SELECT", aMap);
}