LCOV - code coverage report
Current view: top level - include/test/util - xsearchable.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 1 1 100.0 %
Date: 2014-04-11 Functions: 1 1 100.0 %
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 <test/testdllapi.hxx>
      11             : 
      12             : namespace apitest {
      13             : 
      14             : class OOO_DLLPUBLIC_TEST XSearchable
      15             : {
      16             : public:
      17          21 :     XSearchable(const OUString& rString, sal_Int32 nCount) : maSearchString(rString), mnCount(nCount) {}
      18             :     XSearchable() : maSearchString("SearchString"), mnCount(1) {}
      19             :     virtual ~XSearchable();
      20             : 
      21             :     void testFindFirst();
      22             :     void testFindNext();
      23             :     void testFindAll();
      24             : 
      25             :     virtual css::uno::Reference< css::uno::XInterface > init() = 0;
      26             : 
      27             : private:
      28             :     OUString maSearchString;
      29             :     sal_Int32 mnCount;
      30             : };
      31             : 
      32             : }
      33             : 
      34             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10