LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/bridgetest/normal/test/testtools/bridgetest - TestEnum.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 4 100.0 %
Date: 2012-12-27 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_TEST_TESTTOOLS_BRIDGETEST_TESTENUM_HPP
       2             : #define INCLUDED_TEST_TESTTOOLS_BRIDGETEST_TESTENUM_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "test/testtools/bridgetest/TestEnum.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Type.hxx"
       9             : #include "cppu/unotype.hxx"
      10             : #include "osl/mutex.hxx"
      11             : #include "rtl/instance.hxx"
      12             : 
      13             : namespace test { namespace testtools { namespace bridgetest {
      14             : 
      15          12 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::test::testtools::bridgetest::TestEnum const *) {
      16             :     static typelib_TypeDescriptionReference * the_type = 0;
      17          12 :     if ( !the_type )
      18             :     {
      19           3 :         typelib_static_type_init( &the_type, typelib_TypeClass_ENUM, "test.testtools.bridgetest.TestEnum" );
      20             :     }
      21          12 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      22             : }
      23             : 
      24             : } } }
      25             : 
      26             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::test::testtools::bridgetest::TestEnum const *) SAL_THROW(()) {
      27             :     return ::cppu::UnoType< ::test::testtools::bridgetest::TestEnum >::get();
      28             : }
      29             : 
      30             : #endif // INCLUDED_TEST_TESTTOOLS_BRIDGETEST_TESTENUM_HPP

Generated by: LCOV version 1.10