1*5448f169SMichael Stahl /************************************************************************* 2*5448f169SMichael Stahl * 3*5448f169SMichael Stahl * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*5448f169SMichael Stahl * 5*5448f169SMichael Stahl * Copyright 2000, 2010 Oracle and/or its affiliates. 6*5448f169SMichael Stahl * 7*5448f169SMichael Stahl * OpenOffice.org - a multi-platform office productivity suite 8*5448f169SMichael Stahl * 9*5448f169SMichael Stahl * This file is part of OpenOffice.org. 10*5448f169SMichael Stahl * 11*5448f169SMichael Stahl * OpenOffice.org is free software: you can redistribute it and/or modify 12*5448f169SMichael Stahl * it under the terms of the GNU Lesser General Public License version 3 13*5448f169SMichael Stahl * only, as published by the Free Software Foundation. 14*5448f169SMichael Stahl * 15*5448f169SMichael Stahl * OpenOffice.org is distributed in the hope that it will be useful, 16*5448f169SMichael Stahl * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*5448f169SMichael Stahl * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*5448f169SMichael Stahl * GNU Lesser General Public License version 3 for more details 19*5448f169SMichael Stahl * (a copy is included in the LICENSE file that accompanied this code). 20*5448f169SMichael Stahl * 21*5448f169SMichael Stahl * You should have received a copy of the GNU Lesser General Public License 22*5448f169SMichael Stahl * version 3 along with OpenOffice.org. If not, see 23*5448f169SMichael Stahl * <http://www.openoffice.org/license.html> 24*5448f169SMichael Stahl * for a copy of the LGPLv3 License. 25*5448f169SMichael Stahl * 26*5448f169SMichael Stahl ************************************************************************/ 27*5448f169SMichael Stahl 28*5448f169SMichael Stahl // MARKER(update_precomp.py): autogen include statement, do not remove 29*5448f169SMichael Stahl #include "precompiled_shell.hxx" 30*5448f169SMichael Stahl #include "internal/zipfile.hxx" 31*5448f169SMichael Stahl #include <string> 32*5448f169SMichael Stahl #include <vector> 33*5448f169SMichael Stahl #include <algorithm> 34*5448f169SMichael Stahl #include "sal/types.h" 35*5448f169SMichael Stahl #if defined(DLLIMPLEMENTATION) 36*5448f169SMichael Stahl #define DLLPUBLIC SAL_DLLPUBLIC_EXPORT 37*5448f169SMichael Stahl #else 38*5448f169SMichael Stahl #define DLLPUBLIC SAL_DLLPUBLIC_IMPORT 39*5448f169SMichael Stahl #endif 40*5448f169SMichael Stahl 41*5448f169SMichael Stahl using namespace std; 42*5448f169SMichael Stahl 43*5448f169SMichael Stahl class DLLPUBLIC TestZipImpl 44*5448f169SMichael Stahl { 45*5448f169SMichael Stahl private: 46*5448f169SMichael Stahl ZipFile zipFile; 47*5448f169SMichael Stahl public: 48*5448f169SMichael Stahl TestZipImpl(const char * documentName); 49*5448f169SMichael Stahl ~TestZipImpl(); 50*5448f169SMichael Stahl bool test_directory(); 51*5448f169SMichael Stahl bool test_hasContentCaseInSensitive(); 52*5448f169SMichael Stahl bool test_getContent(); 53*5448f169SMichael Stahl }; 54*5448f169SMichael Stahl 55