xref: /aoo41x/main/soltools/testSHL/inc/tstMgr.hxx (revision 38268e38)
1*38268e38SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*38268e38SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*38268e38SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*38268e38SAndrew Rist  * distributed with this work for additional information
6*38268e38SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*38268e38SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*38268e38SAndrew Rist  * "License"); you may not use this file except in compliance
9*38268e38SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*38268e38SAndrew Rist  *
11*38268e38SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*38268e38SAndrew Rist  *
13*38268e38SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*38268e38SAndrew Rist  * software distributed under the License is distributed on an
15*38268e38SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*38268e38SAndrew Rist  * KIND, either express or implied.  See the License for the
17*38268e38SAndrew Rist  * specific language governing permissions and limitations
18*38268e38SAndrew Rist  * under the License.
19*38268e38SAndrew Rist  *
20*38268e38SAndrew Rist  *************************************************************/
21*38268e38SAndrew Rist 
22*38268e38SAndrew Rist 
23cdf0e10cSrcweir #ifndef _SOLTOOLS_TESTSHL_TSTMGR_HXX__
24cdf0e10cSrcweir #define _SOLTOOLS_TESTSHL_TSTMGR_HXX__
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include    <sal/types.h>
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #include <vector>
29cdf0e10cSrcweir 
30cdf0e10cSrcweir using namespace std;
31cdf0e10cSrcweir 
32cdf0e10cSrcweir // <namespace_tstutl>
33cdf0e10cSrcweir namespace tstutl {
34cdf0e10cSrcweir 
35cdf0e10cSrcweir // <class_tstMgr>
36cdf0e10cSrcweir class tstMgr {
37cdf0e10cSrcweir 
38cdf0e10cSrcweir     // <private_members>
39cdf0e10cSrcweir     struct tstMgr_Impl;
40cdf0e10cSrcweir     tstMgr_Impl* pImpl;
41cdf0e10cSrcweir     // </private_members>
42cdf0e10cSrcweir 
43cdf0e10cSrcweir     // <private_methods>
44cdf0e10cSrcweir     void cleanup();
45cdf0e10cSrcweir     // </private_methods>
46cdf0e10cSrcweir 
47cdf0e10cSrcweir public:
48cdf0e10cSrcweir 
49cdf0e10cSrcweir     // <dtor>
~tstMgr()50cdf0e10cSrcweir     ~tstMgr(){
51cdf0e10cSrcweir         cleanup();
52cdf0e10cSrcweir     } // </dtor>
53cdf0e10cSrcweir 
54cdf0e10cSrcweir 
55cdf0e10cSrcweir     // <public_methods>
56cdf0e10cSrcweir     sal_Bool initialize( sal_Char* moduleName, sal_Bool boom = sal_False );
57cdf0e10cSrcweir     sal_Bool test_Entry( sal_Char* entry, sal_Char* logName = 0 );
58cdf0e10cSrcweir     sal_Bool test_Entries( vector< sal_Char* > entries, sal_Char* logName = 0 );
59cdf0e10cSrcweir     sal_Bool test_EntriesFromFile( sal_Char* fName, sal_Char* logName = 0 );
60cdf0e10cSrcweir     // </public_methods>
61cdf0e10cSrcweir 
62cdf0e10cSrcweir }; // </class_tstMgr>
63cdf0e10cSrcweir 
64cdf0e10cSrcweir } // </namespace_tstutl>
65cdf0e10cSrcweir 
66cdf0e10cSrcweir #endif
67cdf0e10cSrcweir 
68cdf0e10cSrcweir 
69cdf0e10cSrcweir 
70