LTP GCOV extension - code coverage report
Current view: directory - src/cpp/dev/spy - spy_dummy.cpp
Test: YAORB-0.2.info
Date: 2006-02-27 Instrumented lines: 20
Code covered: 10.0 % Executed lines: 2

       1                 : //==============================================================================
       2                 : // File <$/src/cpp/dev/spy/spy_dummy.cpp>
       3                 : // This file is part of YaOrb : Yet Another Object Request Broker,
       4                 : // Copyright (c) 2000-2003, Marc Alff.
       5                 : //
       6                 : // This program is free software; you can redistribute it and/or
       7                 : // modify it under the terms of the GNU General Public License
       8                 : // as published by the Free Software Foundation; either version 2
       9                 : // of the License, or (at your option) any later version.
      10                 : //
      11                 : // This program is distributed in the hope that it will be useful,
      12                 : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13                 : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14                 : // GNU General Public License for more details.
      15                 : //
      16                 : // You should have received a copy of the GNU General Public License
      17                 : // along with this program; if not, write to the Free Software
      18                 : // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
      19                 : //
      20                 : //==============================================================================
      21                 : 
      22                 : #include <iostream>
      23                 : #include <yaorb/CORBA.h>
      24                 : 
      25               0 : static void loose(const char* file, int line)
      26                 : {
      27                 :    std::cerr << "Unexpected call, file " << file
      28               0 :       << ", line " << line << std::endl ;
      29                 : 
      30                 :    std::cerr << std::flush ;
      31               0 :    exit(-1) ;
      32                 : }
      33                 : 
      34                 : #define DYE loose(__FILE__, __LINE__)
      35                 : 
      36               0 : void CORBA::Object::Destroy(void)
      37                 : {
      38               0 :    DYE ;
      39                 : }
      40                 : 
      41               0 : CORBA::Object::~Object()
      42                 : {
      43               0 :    DYE ;
      44               0 : }
      45                 : 
      46               0 : bool CORBA::Object::_isA(const YAORB::ClassInfo*, void*&) const
      47                 : {
      48               0 :    DYE ;
      49                 :    return false ;
      50                 : }
      51                 : 
      52               0 : CORBA::Current::~Current()
      53                 : {
      54               0 :    DYE ;
      55               0 : }
      56                 : 
      57               0 : bool CORBA::Current::_isA(const YAORB::ClassInfo*, void*&) const
      58                 : {
      59               0 :    DYE ;
      60                 :    return false ;
      61                 : }
      62                 : 
      63               0 : const YAORB::ClassInfo* CORBA::Current::_getInfo(void) const
      64                 : {
      65               0 :    DYE ;
      66                 :    return NULL ;
      67              25 : }
      68              25 : 

Generated by: LTP GCOV extension version 1.4