wpkg test coverage results

Coverage test results of the Windows Packager by Made to Order Software Corporation.

LCOV - code coverage report
Current view: top level - tests/unittests - unittest_expr.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 15 15 100.0 %
Date: 2013-06-17 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*    unittest_expr.h
       2             :  *    Copyright (C) 2013  Made to Order Software Corporation
       3             :  *
       4             :  *    This program is free software; you can redistribute it and/or modify
       5             :  *    it under the terms of the GNU General Public License as published by
       6             :  *    the Free Software Foundation; either version 2 of the License, or
       7             :  *    (at your option) any later version.
       8             :  *
       9             :  *    This program is distributed in the hope that it will be useful,
      10             :  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
      11             :  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      12             :  *    GNU General Public License for more details.
      13             :  *
      14             :  *    You should have received a copy of the GNU General Public License along
      15             :  *    with this program; if not, write to the Free Software Foundation, Inc.,
      16             :  *    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      17             :  *
      18             :  *    Authors
      19             :  *    Alexis Wilke   alexis@m2osw.com
      20             :  */
      21             : #ifndef UNIT_TEST_EXPR_H
      22             : #define UNIT_TEST_EXPR_H
      23             : 
      24             : #include <cppunit/extensions/HelperMacros.h>
      25             : 
      26             : namespace wpkg_filename
      27             : {
      28             : class uri_filename;
      29             : }
      30             : 
      31          36 : class ExprUnitTests : public CPPUNIT_NS::TestFixture
      32             : {
      33           2 :     CPPUNIT_TEST_SUITE( ExprUnitTests );
      34           1 :         CPPUNIT_TEST( bad_literals );
      35           1 :         CPPUNIT_TEST( bad_variables );
      36           1 :         CPPUNIT_TEST( bad_expressions );
      37           1 :         CPPUNIT_TEST( additions );
      38           1 :         CPPUNIT_TEST( shifts );
      39           1 :         CPPUNIT_TEST( increments );
      40           1 :         CPPUNIT_TEST( multiplications );
      41           1 :         CPPUNIT_TEST( bitwise );
      42           1 :         CPPUNIT_TEST( comparisons );
      43           1 :         CPPUNIT_TEST( assignments );
      44           1 :         CPPUNIT_TEST( functions );
      45           1 :         CPPUNIT_TEST( misc );
      46           2 :     CPPUNIT_TEST_SUITE_END();
      47             : 
      48             : public:
      49             :     void setUp();
      50             : 
      51             : protected:
      52             :     void bad_literals();
      53             :     void bad_variables();
      54             :     void bad_expressions();
      55             :     void additions();
      56             :     void shifts();
      57             :     void increments();
      58             :     void multiplications();
      59             :     void bitwise();
      60             :     void comparisons();
      61             :     void assignments();
      62             :     void functions();
      63             :     void misc();
      64             : };
      65             : 
      66             : #endif
      67             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.9

The wpkg tool is an open source tool created by Made to Order Software Corporation.