summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2021-09-07 19:49:41 +0200
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2021-09-07 20:52:00 +0200
commit092740eddd9d2e9b19e4c08f4980a59402e676e1 (patch)
tree4ac56a7d0d82facab1b4f9cc3c281a0d5bf7737d /basic/qa
parent491678690b5b40f446b40c368ec4b4423ee603c1 (diff)
tdf#144245 - Added test file to automatic test
Change-Id: I92b71b7e7ac8c2262d36875e4b04ed91e17bc495 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121791 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/test_vba.cxx1
-rw-r--r--basic/qa/vba_tests/collection.vb8
2 files changed, 5 insertions, 4 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 8c43575f8f51..64875b9e1c46 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -74,6 +74,7 @@ void VBATest::testMiscVBAFunctions()
"cos.vb",
"cint.vb",
"clng.vb",
+ "collection.vb",
"csng.vb",
"cstr.vb",
"cvdate.vb",
diff --git a/basic/qa/vba_tests/collection.vb b/basic/qa/vba_tests/collection.vb
index 0b765905290a..d98ad9d1d237 100644
--- a/basic/qa/vba_tests/collection.vb
+++ b/basic/qa/vba_tests/collection.vb
@@ -60,10 +60,10 @@ Sub verify_testCollection()
' After the fix of tdf#110003
' TestUtil.AssertEqual(b.Count, 2, "b.Count")
- TestUtil.AssertEqual(a.Item("SS"), 1, "a.Item(""SS"")")
- TestUtil.AssertEqual(a.Item("ss"), 1, "a.Item(""ss"")")
- TestUtil.AssertEqual(a.Item("ẞ"), 3, "a.Item(""ẞ"")")
- TestUtil.AssertEqual(a.Item("ß"), 4, "a.Item(""ß"")")
+ TestUtil.AssertEqual(b.Item("SS"), 1, "a.Item(""SS"")")
+ TestUtil.AssertEqual(b.Item("ss"), 1, "a.Item(""ss"")")
+ TestUtil.AssertEqual(b.Item("ẞ"), 3, "a.Item(""ẞ"")")
+ TestUtil.AssertEqual(b.Item("ß"), 4, "a.Item(""ß"")")
' After the fix of tdf#110003
' TestUtil.AssertEqual(a.Item("ß"), 3, "a.Item(""ß"")")