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