Commit 990647a512dbdd15ee907c1dc77bf0c8e7e8db48
1 parent
76f113a2
added a doxygen config as well as the patch for doxygen to handle my own class d…
…efinitions. Changed all copyright to file scope
Showing
21 changed files
with
469 additions
and
2 deletions
.doxygen
0 → 100644
1 | +# Doxyfile 1.7.3 | ||
2 | + | ||
3 | +#--------------------------------------------------------------------------- | ||
4 | +# Project related configuration options | ||
5 | +#--------------------------------------------------------------------------- | ||
6 | +DOXYFILE_ENCODING = UTF-8 | ||
7 | +PROJECT_NAME = c-token | ||
8 | +PROJECT_NUMBER = | ||
9 | +PROJECT_BRIEF = | ||
10 | +PROJECT_LOGO = | ||
11 | +OUTPUT_DIRECTORY = docs | ||
12 | +CREATE_SUBDIRS = NO | ||
13 | +OUTPUT_LANGUAGE = English | ||
14 | +BRIEF_MEMBER_DESC = YES | ||
15 | +REPEAT_BRIEF = YES | ||
16 | +ABBREVIATE_BRIEF = | ||
17 | +ALWAYS_DETAILED_SEC = NO | ||
18 | +INLINE_INHERITED_MEMB = NO | ||
19 | +FULL_PATH_NAMES = YES | ||
20 | +STRIP_FROM_PATH = | ||
21 | +STRIP_FROM_INC_PATH = | ||
22 | +SHORT_NAMES = NO | ||
23 | +JAVADOC_AUTOBRIEF = NO | ||
24 | +QT_AUTOBRIEF = NO | ||
25 | +MULTILINE_CPP_IS_BRIEF = NO | ||
26 | +INHERIT_DOCS = YES | ||
27 | +SEPARATE_MEMBER_PAGES = NO | ||
28 | +TAB_SIZE = 8 | ||
29 | +ALIASES = | ||
30 | +OPTIMIZE_OUTPUT_FOR_C = YES | ||
31 | +OPTIMIZE_OUTPUT_JAVA = NO | ||
32 | +OPTIMIZE_FOR_FORTRAN = NO | ||
33 | +OPTIMIZE_OUTPUT_VHDL = NO | ||
34 | +EXTENSION_MAPPING = | ||
35 | +BUILTIN_STL_SUPPORT = NO | ||
36 | +CPP_CLI_SUPPORT = YES | ||
37 | +SIP_SUPPORT = NO | ||
38 | +IDL_PROPERTY_SUPPORT = YES | ||
39 | +DISTRIBUTE_GROUP_DOC = NO | ||
40 | +SUBGROUPING = YES | ||
41 | +TYPEDEF_HIDES_STRUCT = NO | ||
42 | +SYMBOL_CACHE_SIZE = 0 | ||
43 | +#--------------------------------------------------------------------------- | ||
44 | +# Build related configuration options | ||
45 | +#--------------------------------------------------------------------------- | ||
46 | +EXTRACT_ALL = YES | ||
47 | +EXTRACT_PRIVATE = NO | ||
48 | +EXTRACT_STATIC = NO | ||
49 | +EXTRACT_LOCAL_CLASSES = YES | ||
50 | +EXTRACT_LOCAL_METHODS = NO | ||
51 | +EXTRACT_ANON_NSPACES = NO | ||
52 | +HIDE_UNDOC_MEMBERS = NO | ||
53 | +HIDE_UNDOC_CLASSES = NO | ||
54 | +HIDE_FRIEND_COMPOUNDS = NO | ||
55 | +HIDE_IN_BODY_DOCS = NO | ||
56 | +INTERNAL_DOCS = YES | ||
57 | +CASE_SENSE_NAMES = YES | ||
58 | +HIDE_SCOPE_NAMES = NO | ||
59 | +SHOW_INCLUDE_FILES = YES | ||
60 | +FORCE_LOCAL_INCLUDES = NO | ||
61 | +INLINE_INFO = YES | ||
62 | +SORT_MEMBER_DOCS = YES | ||
63 | +SORT_BRIEF_DOCS = NO | ||
64 | +SORT_MEMBERS_CTORS_1ST = NO | ||
65 | +SORT_GROUP_NAMES = NO | ||
66 | +SORT_BY_SCOPE_NAME = NO | ||
67 | +STRICT_PROTO_MATCHING = NO | ||
68 | +GENERATE_TODOLIST = YES | ||
69 | +GENERATE_TESTLIST = YES | ||
70 | +GENERATE_BUGLIST = YES | ||
71 | +GENERATE_DEPRECATEDLIST= YES | ||
72 | +ENABLED_SECTIONS = | ||
73 | +MAX_INITIALIZER_LINES = 30 | ||
74 | +SHOW_USED_FILES = YES | ||
75 | +SHOW_DIRECTORIES = NO | ||
76 | +SHOW_FILES = YES | ||
77 | +SHOW_NAMESPACES = YES | ||
78 | +FILE_VERSION_FILTER = | ||
79 | +LAYOUT_FILE = | ||
80 | +#--------------------------------------------------------------------------- | ||
81 | +# configuration options related to warning and progress messages | ||
82 | +#--------------------------------------------------------------------------- | ||
83 | +QUIET = NO | ||
84 | +WARNINGS = YES | ||
85 | +WARN_IF_UNDOCUMENTED = YES | ||
86 | +WARN_IF_DOC_ERROR = YES | ||
87 | +WARN_NO_PARAMDOC = NO | ||
88 | +WARN_FORMAT = "$file:$line: $text" | ||
89 | +WARN_LOGFILE = | ||
90 | +#--------------------------------------------------------------------------- | ||
91 | +# configuration options related to the input files | ||
92 | +#--------------------------------------------------------------------------- | ||
93 | +INPUT = | ||
94 | +INPUT_ENCODING = UTF-8 | ||
95 | +FILE_PATTERNS = | ||
96 | +RECURSIVE = YES | ||
97 | +EXCLUDE = | ||
98 | +EXCLUDE_SYMLINKS = NO | ||
99 | +EXCLUDE_PATTERNS = | ||
100 | +EXCLUDE_SYMBOLS = | ||
101 | +EXAMPLE_PATH = | ||
102 | +EXAMPLE_PATTERNS = | ||
103 | +EXAMPLE_RECURSIVE = NO | ||
104 | +IMAGE_PATH = | ||
105 | +INPUT_FILTER = | ||
106 | +FILTER_PATTERNS = | ||
107 | +FILTER_SOURCE_FILES = NO | ||
108 | +FILTER_SOURCE_PATTERNS = | ||
109 | +#--------------------------------------------------------------------------- | ||
110 | +# configuration options related to source browsing | ||
111 | +#--------------------------------------------------------------------------- | ||
112 | +SOURCE_BROWSER = YES | ||
113 | +INLINE_SOURCES = YES | ||
114 | +STRIP_CODE_COMMENTS = YES | ||
115 | +REFERENCED_BY_RELATION = NO | ||
116 | +REFERENCES_RELATION = NO | ||
117 | +REFERENCES_LINK_SOURCE = YES | ||
118 | +USE_HTAGS = NO | ||
119 | +VERBATIM_HEADERS = YES | ||
120 | +#--------------------------------------------------------------------------- | ||
121 | +# configuration options related to the alphabetical class index | ||
122 | +#--------------------------------------------------------------------------- | ||
123 | +ALPHABETICAL_INDEX = YES | ||
124 | +COLS_IN_ALPHA_INDEX = 5 | ||
125 | +IGNORE_PREFIX = | ||
126 | +#--------------------------------------------------------------------------- | ||
127 | +# configuration options related to the HTML output | ||
128 | +#--------------------------------------------------------------------------- | ||
129 | +GENERATE_HTML = YES | ||
130 | +HTML_OUTPUT = html | ||
131 | +HTML_FILE_EXTENSION = .html | ||
132 | +HTML_HEADER = | ||
133 | +HTML_FOOTER = | ||
134 | +HTML_STYLESHEET = | ||
135 | +HTML_COLORSTYLE_HUE = 220 | ||
136 | +HTML_COLORSTYLE_SAT = 100 | ||
137 | +HTML_COLORSTYLE_GAMMA = 80 | ||
138 | +HTML_TIMESTAMP = YES | ||
139 | +HTML_ALIGN_MEMBERS = YES | ||
140 | +HTML_DYNAMIC_SECTIONS = NO | ||
141 | +GENERATE_DOCSET = NO | ||
142 | +DOCSET_FEEDNAME = "Doxygen generated docs" | ||
143 | +DOCSET_BUNDLE_ID = org.doxygen.Project | ||
144 | +DOCSET_PUBLISHER_ID = org.doxygen.Publisher | ||
145 | +DOCSET_PUBLISHER_NAME = Publisher | ||
146 | +GENERATE_HTMLHELP = NO | ||
147 | +CHM_FILE = | ||
148 | +HHC_LOCATION = | ||
149 | +GENERATE_CHI = NO | ||
150 | +CHM_INDEX_ENCODING = | ||
151 | +BINARY_TOC = NO | ||
152 | +TOC_EXPAND = NO | ||
153 | +GENERATE_QHP = NO | ||
154 | +QCH_FILE = | ||
155 | +QHP_NAMESPACE = org.doxygen.Project | ||
156 | +QHP_VIRTUAL_FOLDER = doc | ||
157 | +QHP_CUST_FILTER_NAME = | ||
158 | +QHP_CUST_FILTER_ATTRS = | ||
159 | +QHP_SECT_FILTER_ATTRS = | ||
160 | +QHG_LOCATION = | ||
161 | +GENERATE_ECLIPSEHELP = NO | ||
162 | +ECLIPSE_DOC_ID = org.doxygen.Project | ||
163 | +DISABLE_INDEX = NO | ||
164 | +ENUM_VALUES_PER_LINE = 4 | ||
165 | +GENERATE_TREEVIEW = YES | ||
166 | +USE_INLINE_TREES = YES | ||
167 | +TREEVIEW_WIDTH = 250 | ||
168 | +EXT_LINKS_IN_WINDOW = NO | ||
169 | +FORMULA_FONTSIZE = 10 | ||
170 | +FORMULA_TRANSPARENT = YES | ||
171 | +USE_MATHJAX = NO | ||
172 | +MATHJAX_RELPATH = http://www.mathjax.org/mathjax | ||
173 | +SEARCHENGINE = YES | ||
174 | +SERVER_BASED_SEARCH = NO | ||
175 | +#--------------------------------------------------------------------------- | ||
176 | +# configuration options related to the LaTeX output | ||
177 | +#--------------------------------------------------------------------------- | ||
178 | +GENERATE_LATEX = YES | ||
179 | +LATEX_OUTPUT = latex | ||
180 | +LATEX_CMD_NAME = latex | ||
181 | +MAKEINDEX_CMD_NAME = makeindex | ||
182 | +COMPACT_LATEX = NO | ||
183 | +PAPER_TYPE = a4 | ||
184 | +EXTRA_PACKAGES = | ||
185 | +LATEX_HEADER = | ||
186 | +PDF_HYPERLINKS = YES | ||
187 | +USE_PDFLATEX = YES | ||
188 | +LATEX_BATCHMODE = NO | ||
189 | +LATEX_HIDE_INDICES = NO | ||
190 | +LATEX_SOURCE_CODE = NO | ||
191 | +#--------------------------------------------------------------------------- | ||
192 | +# configuration options related to the RTF output | ||
193 | +#--------------------------------------------------------------------------- | ||
194 | +GENERATE_RTF = NO | ||
195 | +RTF_OUTPUT = rtf | ||
196 | +COMPACT_RTF = NO | ||
197 | +RTF_HYPERLINKS = NO | ||
198 | +RTF_STYLESHEET_FILE = | ||
199 | +RTF_EXTENSIONS_FILE = | ||
200 | +#--------------------------------------------------------------------------- | ||
201 | +# configuration options related to the man page output | ||
202 | +#--------------------------------------------------------------------------- | ||
203 | +GENERATE_MAN = NO | ||
204 | +MAN_OUTPUT = man | ||
205 | +MAN_EXTENSION = .3 | ||
206 | +MAN_LINKS = NO | ||
207 | +#--------------------------------------------------------------------------- | ||
208 | +# configuration options related to the XML output | ||
209 | +#--------------------------------------------------------------------------- | ||
210 | +GENERATE_XML = NO | ||
211 | +XML_OUTPUT = xml | ||
212 | +XML_SCHEMA = | ||
213 | +XML_DTD = | ||
214 | +XML_PROGRAMLISTING = YES | ||
215 | +#--------------------------------------------------------------------------- | ||
216 | +# configuration options for the AutoGen Definitions output | ||
217 | +#--------------------------------------------------------------------------- | ||
218 | +GENERATE_AUTOGEN_DEF = NO | ||
219 | +#--------------------------------------------------------------------------- | ||
220 | +# configuration options related to the Perl module output | ||
221 | +#--------------------------------------------------------------------------- | ||
222 | +GENERATE_PERLMOD = NO | ||
223 | +PERLMOD_LATEX = NO | ||
224 | +PERLMOD_PRETTY = YES | ||
225 | +PERLMOD_MAKEVAR_PREFIX = | ||
226 | +#--------------------------------------------------------------------------- | ||
227 | +# Configuration options related to the preprocessor | ||
228 | +#--------------------------------------------------------------------------- | ||
229 | +ENABLE_PREPROCESSING = NO | ||
230 | +MACRO_EXPANSION = NO | ||
231 | +EXPAND_ONLY_PREDEF = NO | ||
232 | +SEARCH_INCLUDES = YES | ||
233 | +INCLUDE_PATH = | ||
234 | +INCLUDE_FILE_PATTERNS = | ||
235 | +PREDEFINED = | ||
236 | +EXPAND_AS_DEFINED = | ||
237 | +SKIP_FUNCTION_MACROS = YES | ||
238 | +#--------------------------------------------------------------------------- | ||
239 | +# Configuration::additions related to external references | ||
240 | +#--------------------------------------------------------------------------- | ||
241 | +TAGFILES = | ||
242 | +GENERATE_TAGFILE = | ||
243 | +ALLEXTERNALS = NO | ||
244 | +EXTERNAL_GROUPS = YES | ||
245 | +PERL_PATH = /usr/bin/perl | ||
246 | +#--------------------------------------------------------------------------- | ||
247 | +# Configuration options related to the dot tool | ||
248 | +#--------------------------------------------------------------------------- | ||
249 | +CLASS_DIAGRAMS = YES | ||
250 | +MSCGEN_PATH = | ||
251 | +HIDE_UNDOC_RELATIONS = YES | ||
252 | +HAVE_DOT = YES | ||
253 | +DOT_NUM_THREADS = 0 | ||
254 | +DOT_FONTNAME = Helvetica | ||
255 | +DOT_FONTSIZE = 10 | ||
256 | +DOT_FONTPATH = | ||
257 | +CLASS_GRAPH = YES | ||
258 | +COLLABORATION_GRAPH = YES | ||
259 | +GROUP_GRAPHS = YES | ||
260 | +UML_LOOK = NO | ||
261 | +TEMPLATE_RELATIONS = NO | ||
262 | +INCLUDE_GRAPH = YES | ||
263 | +INCLUDED_BY_GRAPH = YES | ||
264 | +CALL_GRAPH = YES | ||
265 | +CALLER_GRAPH = YES | ||
266 | +GRAPHICAL_HIERARCHY = YES | ||
267 | +DIRECTORY_GRAPH = YES | ||
268 | +DOT_IMAGE_FORMAT = png | ||
269 | +DOT_PATH = | ||
270 | +DOTFILE_DIRS = | ||
271 | +MSCFILE_DIRS = | ||
272 | +DOT_GRAPH_MAX_NODES = 50 | ||
273 | +MAX_DOT_GRAPH_DEPTH = 0 | ||
274 | +DOT_TRANSPARENT = YES | ||
275 | +DOT_MULTI_TARGETS = NO | ||
276 | +GENERATE_LEGEND = YES | ||
277 | +DOT_CLEANUP = YES |
1 | +2011-11-20 05:49:12 +0100 Georg Hopp | ||
2 | + | ||
3 | + * added a doxygen config as well as the patch for doxygen to handle my own class definitions. Changed all copyright to file scope (HEAD, master) | ||
4 | + | ||
1 | 2011-11-20 02:39:21 +0100 Georg Hopp | 5 | 2011-11-20 02:39:21 +0100 Georg Hopp |
2 | 6 | ||
3 | - * finished tests for packet (HEAD, master) | 7 | + * finished tests for packet (origin/master, origin/HEAD) |
4 | 8 | ||
5 | 2011-11-20 00:41:23 +0100 Georg Hopp | 9 | 2011-11-20 00:41:23 +0100 Georg Hopp |
6 | 10 | ||
7 | - * update ChangeLog (origin/master, origin/HEAD) | 11 | + * update ChangeLog |
8 | 12 | ||
9 | 2011-11-20 00:22:49 +0100 Georg Hopp | 13 | 2011-11-20 00:22:49 +0100 Georg Hopp |
10 | 14 |
patches/mydoxy.patch
0 → 100644
1 | +diff -Naur doxygen-1.7.3.orig/src/scanner.l doxygen-1.7.3/src/scanner.l | ||
2 | +--- doxygen-1.7.3.orig/src/scanner.l 2010-11-30 22:45:51.000000000 +0100 | ||
3 | ++++ doxygen-1.7.3/src/scanner.l 2011-11-20 05:25:20.494000106 +0100 | ||
4 | +@@ -1436,6 +1436,7 @@ | ||
5 | + } | ||
6 | + lineCount() ; | ||
7 | + if (yytext[yyleng-1]=='{') unput('{'); | ||
8 | ++ if (yytext[yyleng-1]=='(') unput('('); | ||
9 | + if (insidePHP && current->spec&Entry::Abstract) | ||
10 | + { | ||
11 | + // convert Abstract to AbstractClass | ||
12 | +@@ -1507,6 +1508,7 @@ | ||
13 | + } | ||
14 | + } | ||
15 | + <FindMembers>{B}*{TYPEDEFPREFIX}"struct{" | | ||
16 | ++<FindMembers>{B}*{TYPEDEFPREFIX}"CLASS(" | | ||
17 | + <FindMembers>{B}*{TYPEDEFPREFIX}"struct"/{BN}+ { | ||
18 | + isTypedef=((QCString)yytext).find("typedef")!=-1; | ||
19 | + current->section = Entry::CLASS_SEC ; | ||
20 | +@@ -1514,7 +1516,12 @@ | ||
21 | + // bug 582676: can be a struct nested in an interface so keep insideObjC state | ||
22 | + //current->objc = insideObjC = FALSE; | ||
23 | + addType( current ) ; | ||
24 | +- current->type += " struct" ; | ||
25 | ++ if (yytext[yyleng-1]=='(') { | ||
26 | ++ unput('('); | ||
27 | ++ current->type += " class" ; | ||
28 | ++ } else { | ||
29 | ++ current->type += " struct" ; | ||
30 | ++ } | ||
31 | + current->fileName = yyFileName; | ||
32 | + current->startLine = yyLineNr; | ||
33 | + current->bodyLine = yyLineNr; | ||
34 | +@@ -4540,6 +4547,7 @@ | ||
35 | + // e.g. @protocol A,B; | ||
36 | + current->reset(); | ||
37 | + } | ||
38 | ++<CompoundName>{ID} | | ||
39 | + <CompoundName>{SCOPENAME} { | ||
40 | + current->name = yytext ; | ||
41 | + lineCount(); | ||
42 | +@@ -4806,6 +4814,7 @@ | ||
43 | + BEGIN( ReadBodyIntf ); | ||
44 | + } | ||
45 | + } | ||
46 | ++<CompoundName>")"{BN}*"{"{BN}* | | ||
47 | + <CompoundName,ClassVar>{B}*"{"{B}* { | ||
48 | + current->fileName = yyFileName ; | ||
49 | + current->startLine = yyLineNr ; |
1 | +/** | ||
2 | + * \file | ||
3 | + * cclassTest.c: tests for my oop C stuff | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #include <stdio.h> | 19 | #include <stdio.h> |
2 | #include <sys/types.h> | 20 | #include <sys/types.h> |
3 | #include <json/json.h> | 21 | #include <json/json.h> |
1 | +/** | ||
2 | + * \file | ||
3 | + * cryptTest.c: tests for my crypt class | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #include <stdio.h> | 19 | #include <stdio.h> |
2 | #include <mcrypt.h> | 20 | #include <mcrypt.h> |
3 | #include <stdlib.h> | 21 | #include <stdlib.h> |
1 | +/** | ||
2 | + * \file | ||
3 | + * mock/class.c: a mock to test my oop stuff | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #include <assert.h> | 19 | #include <assert.h> |
2 | #include <json/json.h> | 20 | #include <json/json.h> |
3 | 21 |
1 | +/** | ||
2 | + * \file | ||
3 | + * mock/class.h: definitions for my mock to test my oop stuff | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #ifndef __MOCK_CLASS_H__ | 19 | #ifndef __MOCK_CLASS_H__ |
2 | #define __MOCK_CLASS_H__ | 20 | #define __MOCK_CLASS_H__ |
3 | 21 |
1 | +/** | ||
2 | + * \file | ||
3 | + * packetTest.c: tests for my packet class | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #include <stdio.h> | 19 | #include <stdio.h> |
2 | #include <stdlib.h> | 20 | #include <stdlib.h> |
3 | #include <json/json.h> | 21 | #include <json/json.h> |
1 | +/** | ||
2 | + * \file | ||
3 | + * runtest.c: the main runner for my tests | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #include <stdio.h> | 19 | #include <stdio.h> |
2 | #include <stdlib.h> | 20 | #include <stdlib.h> |
3 | #include <string.h> | 21 | #include <string.h> |
1 | +/** | ||
2 | + * \file | ||
3 | + * runtest.h: assertions and other definitions for all my tests | ||
4 | + * Copyright (C) 2011 Georg Hopp | ||
5 | + * | ||
6 | + * This program is free software: you can redistribute it and/or modify | ||
7 | + * it under the terms of the GNU General Public License as published by | ||
8 | + * the Free Software Foundation, either version 3 of the License, or | ||
9 | + * (at your option) any later version. | ||
10 | + * | ||
11 | + * This program is distributed in the hope that it will be useful, | ||
12 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | + * GNU General Public License for more details. | ||
15 | + * | ||
16 | + * You should have received a copy of the GNU General Public License | ||
17 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | + */ | ||
1 | #ifndef __RUNTEST_h__ | 19 | #ifndef __RUNTEST_h__ |
2 | #define __RUNTEST_h__ | 20 | #define __RUNTEST_h__ |
3 | 21 |
Please
register
or
login
to post a comment