[Libreoffice-commits] core.git: postprocess/qa

Markus Mohrhard markus.mohrhard at collabora.co.uk
Wed Feb 11 14:21:35 PST 2015


 postprocess/qa/services.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 22fe5da5423b39908d78825185dc5991d39385d1
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Wed Feb 11 23:14:26 2015 +0100

    add log message about untested services
    
    Change-Id: I3e8da0ae510ce40421767de2bd106d39ec254a17

diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx
index f6a07e4..7e3207e 100644
--- a/postprocess/qa/services.cxx
+++ b/postprocess/qa/services.cxx
@@ -81,6 +81,7 @@ void ServicesTest::test()
         Reference< XServiceTypeDescription2 > xDesc(
             xTypeManager->getByHierarchicalName(s[i]), UNO_QUERY_THROW);
         Sequence< Reference< XServiceConstructorDescription > > xseq = xDesc->getConstructors();
+        SAL_WARN_IF(xseq.getLength() == 0, "postprocess.cppunit", "not tested because there is no constructor");
         for (sal_Int32 c = 0; c < xseq.getLength(); c++)
             if (!xseq[c]->getParameters().hasElements())
             {


More information about the Libreoffice-commits mailing list