summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-01-03 11:49:02 +0600
committerMike Kaganski <mike.kaganski@collabora.com>2024-01-03 07:51:28 +0100
commita01a642ebbdb8c16f1b54b4634c277b9f665192f (patch)
treee0c598848fbb375ddbe9e1cf4db42df1e27746a9 /sccomp
parent8ecd20b447ab5e58fa77c19fce09c0f239d1fafc (diff)
UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile
The old name was misleading (it doesn't take an URL, but a filename); also, now it's easier to grep for it - doesn't get mixed with vcl::graphic::loadFromURL. Change-Id: Ib88d2194200a6a54d2326971e0306ba39f0c7025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161578 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/qa/unit/SwarmSolverTest.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sccomp/qa/unit/SwarmSolverTest.cxx b/sccomp/qa/unit/SwarmSolverTest.cxx
index 1f4b9ae2e177..a0b4203cebf1 100644
--- a/sccomp/qa/unit/SwarmSolverTest.cxx
+++ b/sccomp/qa/unit/SwarmSolverTest.cxx
@@ -45,7 +45,7 @@ public:
void SwarmSolverTest::testUnconstrained()
{
- loadFromURL(u"Simple.ods");
+ loadFromFile(u"Simple.ods");
uno::Reference<sheet::XSpreadsheetDocument> xDocument(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW);
@@ -88,7 +88,7 @@ void SwarmSolverTest::testUnconstrained()
void SwarmSolverTest::testVariableBounded()
{
- loadFromURL(u"Simple.ods");
+ loadFromFile(u"Simple.ods");
uno::Reference<sheet::XSpreadsheetDocument> xDocument(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW);
@@ -133,7 +133,7 @@ void SwarmSolverTest::testVariableBounded()
void SwarmSolverTest::testVariableConstrained()
{
- loadFromURL(u"Simple.ods");
+ loadFromFile(u"Simple.ods");
uno::Reference<sheet::XSpreadsheetDocument> xDocument(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW);
@@ -181,7 +181,7 @@ void SwarmSolverTest::testVariableConstrained()
void SwarmSolverTest::testTwoVariables()
{
- loadFromURL(u"TwoVariables.ods");
+ loadFromFile(u"TwoVariables.ods");
uno::Reference<sheet::XSpreadsheetDocument> xDocument(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW);
@@ -233,7 +233,7 @@ void SwarmSolverTest::testTwoVariables()
void SwarmSolverTest::testMultipleVariables()
{
- loadFromURL(u"MultiVariable.ods");
+ loadFromFile(u"MultiVariable.ods");
uno::Reference<sheet::XSpreadsheetDocument> xDocument(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW);