00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: pltestdecoders.h,v 1.5 2004/03/04 18:05:58 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLTESTDECODERS 00012 #define INCL_PLTESTDECODERS 00013 00014 #include "pltest.h" 00015 #include <stdio.h> 00016 00017 #include <string> 00018 00019 class PLBmp; 00020 00021 class PLTestDecoders: public PLTest 00022 { 00023 public: 00024 PLTestDecoders(); 00025 virtual ~PLTestDecoders(); 00026 00027 virtual void RunTests (); 00028 00029 private: 00030 void getDirInfo (const char * pszDirName); 00031 void addToInfoFile (const char * pszDirName, const char * pszFName); 00032 00033 void testImage (std::string sLine); 00034 void testFileNotFound(); 00035 std::string makeURLFromFName(const std::string& sFName); 00036 00037 FILE * m_InfoFile; 00038 00039 }; 00040 00041 #endif 00042 00043 00044 /* 00045 /-------------------------------------------------------------------- 00046 | 00047 | $Log: pltestdecoders.h,v $ 00048 | Revision 1.5 2004/03/04 18:05:58 uzadow 00049 | Fixed linux file not found exception bug. 00050 | 00051 | Revision 1.4 2003/02/24 20:59:40 uzadow 00052 | Added windows url support, url support tests. 00053 | 00054 | Revision 1.3 2002/11/02 22:38:28 uzadow 00055 | Fixed \\r handling in TestBmpList.txt, removed libtool from cvs 00056 | 00057 | Revision 1.2 2002/08/06 20:13:37 uzadow 00058 | Cross-platform stuff. 00059 | 00060 | Revision 1.1 2002/08/04 20:12:34 uzadow 00061 | Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support. 00062 | Major improvements in tests. 00063 | 00064 | 00065 | 00066 \-------------------------------------------------------------------- 00067 */