LCOV - code coverage report
Current view: top level - atmosphere/ATM/test - ATMVersionTest.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 5 5 100.0 %
Date: 2024-10-29 13:38:20 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*******************************************************************************
       2             :  * ALMA - Atacama Large Millimeter Array
       3             :  * (c) Instituto de Estructura de la Materia, 2011
       4             :  * (in the framework of the ALMA collaboration).
       5             :  * All rights reserved.
       6             :  * 
       7             :  * This library is free software; you can redistribute it and/or
       8             :  * modify it under the terms of the GNU Lesser General Public
       9             :  * License as published by the Free Software Foundation; either
      10             :  * version 2.1 of the License, or (at your option) any later version.
      11             :  * 
      12             :  * This library is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
      15             :  * Lesser General Public License for more details.
      16             :  * 
      17             :  * You should have received a copy of the GNU Lesser General Public
      18             :  * License along with this library; if not, write to the Free Software
      19             :  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
      20             :  *******************************************************************************/
      21             : 
      22             : #include <iostream>
      23             : #include <string>
      24             : #include <atmosphere/ATM/ATMVersion.h>
      25             : 
      26             : using namespace std;
      27             : 
      28             : // static char *rcsId="@(#) $Id: ATMVersionTest.cpp Exp $"; 
      29             : // static void *use_rcsId = ((void)&use_rcsId,(void *) &rcsId);
      30             : 
      31             : // namespace telcal { namespace atm {
      32             : //   string getVersion();
      33             : //   string getTag();
      34             : //   string getALMARelease();
      35             : // } }
      36             : 
      37           1 : int main(int argc, char *argv[])
      38             : {
      39           1 :   cout<<"ATM version:  "<<atm::getVersion()<<endl;
      40           1 :   cout<<"ATM tag:      "<<atm::getTag()<<endl;
      41           1 :   cout<<"ALMA release: "<<atm::getALMARelease()<<endl;
      42           1 :   return 0;
      43             :         
      44             : }
      45             : 
      46             : 
      47             : 
      48             : 
      49             : 
      50             : 
      51             : 
      52             : 

Generated by: LCOV version 1.16