LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/UnoApiHeadersTarget/bridgetest/normal/test/testtools/bridgetest - XBridgeTest2.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 8 8 100.0 %
Date: 2012-08-25 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_TEST_TESTTOOLS_BRIDGETEST_XBRIDGETEST2_HPP
       2                 :            : #define INCLUDED_TEST_TESTTOOLS_BRIDGETEST_XBRIDGETEST2_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "test/testtools/bridgetest/XBridgeTest2.hdl"
       7                 :            : 
       8                 :            : #include "test/testtools/bridgetest/XCurrentContextChecker.hpp"
       9                 :            : #include "test/testtools/bridgetest/BadConstructorArguments.hpp"
      10                 :            : #include "com/sun/star/uno/RuntimeException.hpp"
      11                 :            : #include "test/testtools/bridgetest/TestElement.hpp"
      12                 :            : #include "com/sun/star/uno/XInterface.hpp"
      13                 :            : #include "test/testtools/bridgetest/TestEnum.hpp"
      14                 :            : #include "test/testtools/bridgetest/XBridgeTest.hpp"
      15                 :            : #include "com/sun/star/uno/XComponentContext.hpp"
      16                 :            : #include "com/sun/star/uno/Any.hxx"
      17                 :            : #include "com/sun/star/uno/Reference.hxx"
      18                 :            : #include "com/sun/star/uno/Sequence.hxx"
      19                 :            : #include "com/sun/star/uno/Type.hxx"
      20                 :            : #include "cppu/unotype.hxx"
      21                 :            : #include "osl/mutex.hxx"
      22                 :            : #include "rtl/ustring.hxx"
      23                 :            : #include "rtl/instance.hxx"
      24                 :            : #include "sal/types.h"
      25                 :            : 
      26                 :            : namespace test { namespace testtools { namespace bridgetest {
      27                 :            : 
      28                 :          6 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::test::testtools::bridgetest::XBridgeTest2 const *) {
      29                 :            :     static typelib_TypeDescriptionReference * the_type = 0;
      30         [ +  - ]:          6 :     if ( !the_type )
      31                 :            :     {
      32                 :          6 :         typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "test.testtools.bridgetest.XBridgeTest2" );
      33                 :            :     }
      34                 :          6 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      35                 :            : }
      36                 :            : 
      37                 :            : } } }
      38                 :            : 
      39                 :          6 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< ::test::testtools::bridgetest::XBridgeTest2 > const *) SAL_THROW(()) {
      40                 :          6 :     return ::cppu::UnoType< ::com::sun::star::uno::Reference< ::test::testtools::bridgetest::XBridgeTest2 > >::get();
      41                 :            : }
      42                 :            : 
      43                 :          6 : ::com::sun::star::uno::Type const & ::test::testtools::bridgetest::XBridgeTest2::static_type(SAL_UNUSED_PARAMETER void *) {
      44                 :          6 :     return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::test::testtools::bridgetest::XBridgeTest2 > * >(0));
      45                 :            : }
      46                 :            : 
      47                 :            : #endif // INCLUDED_TEST_TESTTOOLS_BRIDGETEST_XBRIDGETEST2_HPP

Generated by: LCOV version 1.10