From e8c26959deac60eb2b7bec7a36fccacd95914304 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Tue, 10 Sep 2013 17:28:03 +0200 Subject: fdo#46723 enable configmgr unit tests Change-Id: Id2a10374d207fc079093cdb9a78ac30171251e46 --- configmgr/qa/unit/test.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'configmgr/qa') diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index 1e609a302277..bf119b473034 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -41,7 +41,6 @@ #include "com/sun/star/uno/XInterface.hpp" #include "com/sun/star/util/XChangesBatch.hpp" #include "cppuhelper/implbase1.hxx" -#include "cppuhelper/servicefactory.hxx" #include "osl/conditn.hxx" #include "osl/thread.h" #include "osl/thread.hxx" @@ -53,7 +52,9 @@ #include "rtl/ustring.h" #include "rtl/ustring.hxx" #include "sal/types.h" -#include "testshl/simpleheader.hxx" +#include +#include +#include namespace { @@ -478,7 +479,7 @@ void Test::testReadCommands() { } } n = osl_getGlobalTimer() - n; - t_print("Reading elements took %" SAL_PRIuUINT32 " ms\n", n); + printf("Reading elements took %" SAL_PRIuUINT32 " ms\n", n); css::uno::Reference< css::lang::XComponent >( access, css::uno::UNO_QUERY_THROW)->dispose(); } @@ -629,10 +630,10 @@ css::uno::Reference< css::uno::XInterface > Test::createUpdateAccess( css::uno::Sequence< css::uno::Any >(&arg, 1)); } -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(Test, "alltest"); +CPPUNIT_TEST_SUITE_REGISTRATION(Test); } -NOADDITIONAL; +CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit