LCOV - code coverage report
Current view: top level - writerperfect/qa/unit - WpftCalcFilterTest.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 13 13 100.0 %
Date: 2014-11-03 Functions: 10 11 90.9 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include "WpftImportTestBase.hxx"
      11             : 
      12             : namespace
      13             : {
      14             : 
      15           4 : class WpftCalcFilterTest : public writerperfect::test::WpftImportTestBase
      16             : {
      17             : public:
      18             :     WpftCalcFilterTest();
      19             : 
      20             :     void test();
      21             : 
      22           4 :     CPPUNIT_TEST_SUITE(WpftCalcFilterTest);
      23           2 :     CPPUNIT_TEST(test);
      24           4 :     CPPUNIT_TEST_SUITE_END();
      25             : };
      26             : 
      27           2 : WpftCalcFilterTest::WpftCalcFilterTest()
      28           2 :     : writerperfect::test::WpftImportTestBase("private:factory/scalc")
      29             : {
      30           2 : }
      31             : 
      32           2 : void WpftCalcFilterTest::test()
      33             : {
      34           2 :     doTest("com.sun.star.comp.Calc.MWAWCalcImportFilter", "/writerperfect/qa/unit/data/calc/libmwaw/");
      35           2 :     doTest("com.sun.star.comp.Calc.MSWorksCalcImportFilter", "/writerperfect/qa/unit/data/calc/libwps/");
      36           2 : }
      37             : 
      38           2 : CPPUNIT_TEST_SUITE_REGISTRATION(WpftCalcFilterTest);
      39             : 
      40             : }
      41             : 
      42           8 : CPPUNIT_PLUGIN_IMPLEMENT();
      43             : 
      44             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10