sw/qa/core/data/docm/testParagraphFormat.docm |binary sw/qa/core/data/docm/testSentences.docm |binary sw/qa/core/data/docm/testTables.docm |binary sw/qa/core/data/docm/testWords.docm |binary sw/qa/core/macros-test.cxx | 18 ++++++++++++++++++ 5 files changed, 18 insertions(+)
New commits: commit 4d945a41bc15412b20490535ac322b01953b64b6 Author: Hannah Meeks <hmeeks4...@gmail.com> AuthorDate: Fri Jul 15 13:54:28 2022 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Wed Jul 20 14:44:23 2022 +0200 VBA: Add test documents for vba Mostly disabled for now pending core fixing Change-Id: Idf71cea820c52f2b56fb26b1d8de2666026bf90e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137105 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sw/qa/core/data/docm/testParagraphFormat.docm b/sw/qa/core/data/docm/testParagraphFormat.docm new file mode 100755 index 000000000000..ce638946e2b8 Binary files /dev/null and b/sw/qa/core/data/docm/testParagraphFormat.docm differ diff --git a/sw/qa/core/data/docm/testSentences.docm b/sw/qa/core/data/docm/testSentences.docm new file mode 100755 index 000000000000..5275307ddb02 Binary files /dev/null and b/sw/qa/core/data/docm/testSentences.docm differ diff --git a/sw/qa/core/data/docm/testTables.docm b/sw/qa/core/data/docm/testTables.docm new file mode 100755 index 000000000000..a3695f667f1e Binary files /dev/null and b/sw/qa/core/data/docm/testTables.docm differ diff --git a/sw/qa/core/data/docm/testWords.docm b/sw/qa/core/data/docm/testWords.docm new file mode 100755 index 000000000000..b88416bb77ed Binary files /dev/null and b/sw/qa/core/data/docm/testWords.docm differ diff --git a/sw/qa/core/macros-test.cxx b/sw/qa/core/macros-test.cxx index 50ca4744a761..e412cdd03430 100644 --- a/sw/qa/core/macros-test.cxx +++ b/sw/qa/core/macros-test.cxx @@ -110,6 +110,24 @@ void SwMacrosTest::testVba() OUString("testFind.docm"), OUString("vnd.sun.Star.script:Project.Module1.testFind?language=Basic&location=document") } + /* TODO - make these pass in Writer + { + OUString("testSentences.docm"), + OUString("vnd.sun.Star.script:Project.ThisDocument.TestAll?language=Basic&location=document") + }, + { + OUString("testWords.docm"), + OUString("vnd.sun.Star.script:Project.ThisDocument.TestAll?language=Basic&location=document") + }, + { + OUString("testParagraphFormat.docm"), + OUString("vnd.sun.Star.script:Project.ThisDocument.TestAll?language=Basic&location=document") + }, + { + OUString("testTables.docm"), + OUString("vnd.sun.Star.script:Project.ThisDocument.TestAll?language=Basic&location=document") + },*/ + }; for ( size_t i=0; i<SAL_N_ELEMENTS( testInfo ); ++i ) {