1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: pltest.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a></div>
<h1>pltest.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment">/--------------------------------------------------------------------</span>
00003 <span class="comment">|</span>
00004 <span class="comment">| $Id: pltest_8h-source.html,v 1.4 2004/09/15 15:26:32 uzadow Exp $</span>
00005 <span class="comment">|</span>
00006 <span class="comment">| Copyright (c) 1996-2002 Ulrich von Zadow</span>
00007 <span class="comment">|</span>
00008 <span class="comment">\--------------------------------------------------------------------</span>
00009 <span class="comment">*/</span>
00010
00011 <span class="preprocessor">#ifndef INCL_PLTEST</span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PLTEST</span>
00013 <span class="preprocessor"></span>
00014 <span class="keyword">class </span>PLTest
00015 {
00016 <span class="keyword">public</span>:
00017 PLTest(<span class="keywordtype">void</span>);
00018 <span class="keyword">virtual</span> ~PLTest(<span class="keywordtype">void</span>);
00019
00020 <span class="keywordtype">bool</span> IsOk ();
00021 <span class="keyword">virtual</span> <span class="keywordtype">void</span> RunTests () = 0;
00022
00023 <span class="keywordtype">void</span> Test (<span class="keywordtype">bool</span> b);
00024 <span class="keywordtype">void</span> SetFailed ();
00025
00026 <span class="keywordtype">int</span> GetNumSucceeded () <span class="keyword">const</span>;
00027 <span class="keywordtype">int</span> GetNumFailed () <span class="keyword">const</span>;
00028
00029 <span class="keywordtype">void</span> AggregateStatistics (<span class="keyword">const</span> PLTest& ChildTest);
00030
00031 <span class="keyword">private</span>:
00032 <span class="keywordtype">bool</span> m_bOk;
00033 <span class="keywordtype">int</span> m_NumSucceeded;
00034 <span class="keywordtype">int</span> m_NumFailed;
00035
00036 };
00037
00038 <span class="preprocessor">#endif</span>
00039 <span class="preprocessor"></span>
00040 <span class="comment">/*</span>
00041 <span class="comment">/--------------------------------------------------------------------</span>
00042 <span class="comment">|</span>
00043 <span class="comment">| $Log: pltest_8h-source.html,v $
00043 <span class="comment">| Revision 1.4 2004/09/15 15:26:32 uzadow
00043 <span class="comment">| Linux compatibility changes, doc update.
00043 <span class="comment">|</span>
00044 <span class="comment">| Revision 1.1 2002/08/04 20:12:34 uzadow</span>
00045 <span class="comment">| Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support.</span>
00046 <span class="comment">| Major improvements in tests.</span>
00047 <span class="comment">|</span>
00048 <span class="comment">|</span>
00049 <span class="comment">|</span>
00050 <span class="comment">\--------------------------------------------------------------------</span>
00051 <span class="comment">*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:40 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.2 </small></address>
</body>
</html>
|