1*ed2f6d3bSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*ed2f6d3bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*ed2f6d3bSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*ed2f6d3bSAndrew Rist * distributed with this work for additional information 6*ed2f6d3bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*ed2f6d3bSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*ed2f6d3bSAndrew Rist * "License"); you may not use this file except in compliance 9*ed2f6d3bSAndrew Rist * with the License. You may obtain a copy of the License at 10*ed2f6d3bSAndrew Rist * 11*ed2f6d3bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*ed2f6d3bSAndrew Rist * 13*ed2f6d3bSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*ed2f6d3bSAndrew Rist * software distributed under the License is distributed on an 15*ed2f6d3bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*ed2f6d3bSAndrew Rist * KIND, either express or implied. See the License for the 17*ed2f6d3bSAndrew Rist * specific language governing permissions and limitations 18*ed2f6d3bSAndrew Rist * under the License. 19*ed2f6d3bSAndrew Rist * 20*ed2f6d3bSAndrew Rist *************************************************************/ 21*ed2f6d3bSAndrew Rist 22*ed2f6d3bSAndrew Rist 23cdf0e10cSrcweir 245448f169SMichael Stahl // MARKER(update_precomp.py): autogen include statement, do not remove 255448f169SMichael Stahl #include "precompiled_shell.hxx" 265448f169SMichael Stahl #include "internal/zipfile.hxx" 27cdf0e10cSrcweir #include <string> 285448f169SMichael Stahl #include <vector> 295448f169SMichael Stahl #include <algorithm> 305448f169SMichael Stahl #include "sal/types.h" 315448f169SMichael Stahl #if defined(DLLIMPLEMENTATION) 325448f169SMichael Stahl #define DLLPUBLIC SAL_DLLPUBLIC_EXPORT 33cdf0e10cSrcweir #else 345448f169SMichael Stahl #define DLLPUBLIC SAL_DLLPUBLIC_IMPORT 35cdf0e10cSrcweir #endif 36cdf0e10cSrcweir 375448f169SMichael Stahl using namespace std; 38cdf0e10cSrcweir 395448f169SMichael Stahl class DLLPUBLIC TestZipImpl 40cdf0e10cSrcweir { 415448f169SMichael Stahl private: 425448f169SMichael Stahl ZipFile zipFile; 435448f169SMichael Stahl public: 445448f169SMichael Stahl TestZipImpl(const char * documentName); 455448f169SMichael Stahl ~TestZipImpl(); 465448f169SMichael Stahl bool test_directory(); 475448f169SMichael Stahl bool test_hasContentCaseInSensitive(); 485448f169SMichael Stahl bool test_getContent(); 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir 51