LCOV - code coverage report
Current view: top level - tests - test_as2js_compiler.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 5 100.0 %
Date: 2014-11-22 Functions: 9 9 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef TEST_AS2JS_COMPILER_H
       2             : #define TEST_AS2JS_COMPILER_H
       3             : /* test_as2js_compiler.h -- written by Alexis WILKE for Made to Order Software Corp. (c) 2005-2014 */
       4             : 
       5             : /*
       6             : 
       7             : Copyright (c) 2005-2014 Made to Order Software Corp.
       8             : 
       9             : http://snapwebsites.org/project/as2js
      10             : 
      11             : Permission is hereby granted, free of charge, to any
      12             : person obtaining a copy of this software and
      13             : associated documentation files (the "Software"), to
      14             : deal in the Software without restriction, including
      15             : without limitation the rights to use, copy, modify,
      16             : merge, publish, distribute, sublicense, and/or sell
      17             : copies of the Software, and to permit persons to whom
      18             : the Software is furnished to do so, subject to the
      19             : following conditions:
      20             : 
      21             : The above copyright notice and this permission notice
      22             : shall be included in all copies or substantial
      23             : portions of the Software.
      24             : 
      25             : THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
      26             : ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
      27             : LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
      28             : FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
      29             : EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
      30             : LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
      31             : WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
      32             : ARISING FROM, OUT OF OR IN CONNECTION WITH THE
      33             : SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
      34             : SOFTWARE.
      35             : 
      36             : */
      37             : 
      38             : 
      39             : #include <cppunit/extensions/HelperMacros.h>
      40             : 
      41             : 
      42          10 : class As2JsCompilerUnitTests : public CPPUNIT_NS::TestFixture
      43             : {
      44           6 :     CPPUNIT_TEST_SUITE( As2JsCompilerUnitTests );
      45           3 :         CPPUNIT_TEST( test_compiler_invalid_nodes );
      46           3 :         CPPUNIT_TEST( test_compiler_class );
      47             :         //CPPUNIT_TEST( test_compiler_assignments );
      48             :         //CPPUNIT_TEST( test_compiler_bitwise );
      49             :         //CPPUNIT_TEST( test_compiler_compare );
      50             :         //CPPUNIT_TEST( test_compiler_conditional );
      51             :         //CPPUNIT_TEST( test_compiler_equality );
      52             :         //CPPUNIT_TEST( test_compiler_logical );
      53             :         //CPPUNIT_TEST( test_compiler_match );
      54             :         //CPPUNIT_TEST( test_compiler_multiplicative );
      55             :         //CPPUNIT_TEST( test_compiler_relational );
      56             :         //CPPUNIT_TEST( test_compiler_statements );
      57          15 :     CPPUNIT_TEST_SUITE_END();
      58             : 
      59             : public:
      60             :     virtual void setUp();
      61             :     virtual void tearDown();
      62             : 
      63             : protected:
      64             :     void test_compiler_invalid_nodes();
      65             :     void test_compiler_class();
      66             :     //void test_compiler_assignments();
      67             :     //void test_compiler_bitwise();
      68             :     //void test_compiler_compare();
      69             :     //void test_compiler_conditional();
      70             :     //void test_compiler_equality();
      71             :     //void test_compiler_logical();
      72             :     //void test_compiler_match();
      73             :     //void test_compiler_multiplicative();
      74             :     //void test_compiler_relational();
      75             :     //void test_compiler_statements();
      76             : };
      77             : 
      78             : #endif
      79             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.10