Permalink
Browse files

removed gtest, using cpptest. Initial unit testing in

  • Loading branch information...
1 parent 914ac8a commit 2219fc5383d651efa9c3ec62fe3235f256907001 @grahamboree committed Nov 12, 2012
Showing with 36,005 additions and 103,550 deletions.
  1. +17 −0 Source/cppimage/CxDefines.h
  2. +114 −51 cppimage.xcodeproj/project.pbxproj
  3. +14 −0 cppimage_tests/CPPTest/AUTHORS
  4. +2 −0 cppimage_tests/CPPTest/BUGS
  5. +504 −0 cppimage_tests/CPPTest/COPYING
  6. +3 −0 cppimage_tests/CPPTest/ChangeLog
  7. +229 −0 cppimage_tests/CPPTest/INSTALL
  8. +44 −0 cppimage_tests/CPPTest/INSTALL.quick
  9. +44 −0 cppimage_tests/CPPTest/INSTALL.quick.in
  10. +903 −0 cppimage_tests/CPPTest/Makefile
  11. +76 −0 cppimage_tests/CPPTest/Makefile.am
  12. +903 −0 cppimage_tests/CPPTest/Makefile.in
  13. +73 −0 cppimage_tests/CPPTest/NEWS
  14. +67 −0 cppimage_tests/CPPTest/README
  15. +67 −0 cppimage_tests/CPPTest/README.in
  16. +3,042 −840 gtest-1.6.0/m4/libtool.m4 → cppimage_tests/CPPTest/aclocal.m4
  17. +62 −0 cppimage_tests/CPPTest/autogen.sh
  18. +808 −0 cppimage_tests/CPPTest/config.log
  19. +2,284 −0 cppimage_tests/CPPTest/config.status
  20. +227 −215 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/config.guess
  21. +72 −0 cppimage_tests/CPPTest/config/config.h
  22. +9 −7 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/config.h.in
  23. +170 −72 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/config.sub
  24. +133 −56 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/depcomp
  25. +21 −14 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/install-sh
  26. +2,640 −1,398 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/ltmain.sh
  27. +51 −97 {gtest-1.6.0/build-aux → cppimage_tests/CPPTest/config}/missing
  28. +1 −0 cppimage_tests/CPPTest/config/stamp-h
  29. 0 cppimage_tests/CPPTest/config/stamp-h.in
  30. +1 −0 cppimage_tests/CPPTest/config/stamp-h1
  31. +3,434 −2,880 {gtest-1.6.0 → cppimage_tests/CPPTest}/configure
  32. +138 −0 cppimage_tests/CPPTest/configure.ac
  33. +1,007 −0 cppimage_tests/CPPTest/doc/Doxyfile
  34. +1,007 −0 cppimage_tests/CPPTest/doc/Doxyfile.in
  35. +488 −0 cppimage_tests/CPPTest/doc/Makefile
  36. +70 −0 cppimage_tests/CPPTest/doc/Makefile.am
  37. +488 −0 cppimage_tests/CPPTest/doc/Makefile.in
  38. +9 −0 cppimage_tests/CPPTest/doc/footer.html
  39. +21 −0 cppimage_tests/CPPTest/doc/header.html
  40. +325 −0 cppimage_tests/CPPTest/doc/images/html-example.html
  41. BIN cppimage_tests/CPPTest/doc/images/screenshot-compiler.png
  42. BIN cppimage_tests/CPPTest/doc/images/screenshot-text-terse.png
  43. BIN cppimage_tests/CPPTest/doc/images/screenshot-text-verbose.png
  44. +54 −0 cppimage_tests/CPPTest/doc/main.dox
  45. +8 −0 cppimage_tests/CPPTest/doc/test.dox
  46. +205 −0 cppimage_tests/CPPTest/doc/tutorial.dox
  47. +12 −0 cppimage_tests/CPPTest/libcpptest.pc
  48. +12 −0 cppimage_tests/CPPTest/libcpptest.pc.in
  49. +10,237 −0 cppimage_tests/CPPTest/libtool
  50. +1 −0 cppimage_tests/CPPTest/src/.deps/collectoroutput.Plo
  51. +1 −0 cppimage_tests/CPPTest/src/.deps/compileroutput.Plo
  52. +1 −0 cppimage_tests/CPPTest/src/.deps/htmloutput.Plo
  53. +1 −0 cppimage_tests/CPPTest/src/.deps/missing.Plo
  54. +1 −0 cppimage_tests/CPPTest/src/.deps/source.Plo
  55. +1 −0 cppimage_tests/CPPTest/src/.deps/suite.Plo
  56. +1 −0 cppimage_tests/CPPTest/src/.deps/textoutput.Plo
  57. +1 −0 cppimage_tests/CPPTest/src/.deps/time.Plo
  58. +1 −0 cppimage_tests/CPPTest/src/.deps/utils.Plo
  59. +645 −0 cppimage_tests/CPPTest/src/Makefile
  60. +74 −0 cppimage_tests/CPPTest/src/Makefile.am
  61. +645 −0 cppimage_tests/CPPTest/src/Makefile.in
  62. +106 −0 cppimage_tests/CPPTest/src/collectoroutput.cpp
  63. +133 −0 cppimage_tests/CPPTest/src/compileroutput.cpp
  64. +424 −0 cppimage_tests/CPPTest/src/cpptest-assert.h
  65. +106 −0 cppimage_tests/CPPTest/src/cpptest-collectoroutput.h
  66. +112 −0 cppimage_tests/CPPTest/src/cpptest-compileroutput.h
  67. +64 −0 cppimage_tests/CPPTest/src/cpptest-htmloutput.h
  68. +152 −0 cppimage_tests/CPPTest/src/cpptest-output.h
  69. +67 −0 cppimage_tests/CPPTest/src/cpptest-source.h
  70. +140 −0 cppimage_tests/CPPTest/src/cpptest-suite.h
  71. +88 −0 cppimage_tests/CPPTest/src/cpptest-textoutput.h
  72. +66 −0 cppimage_tests/CPPTest/src/cpptest-time.h
  73. +42 −0 cppimage_tests/CPPTest/src/cpptest.h
  74. +453 −0 cppimage_tests/CPPTest/src/htmloutput.cpp
  75. +80 −0 cppimage_tests/CPPTest/src/missing.cpp
  76. +56 −0 cppimage_tests/CPPTest/src/missing.h
  77. +93 −0 cppimage_tests/CPPTest/src/source.cpp
  78. +281 −0 cppimage_tests/CPPTest/src/suite.cpp
  79. +132 −0 cppimage_tests/CPPTest/src/textoutput.cpp
  80. +176 −0 cppimage_tests/CPPTest/src/time.cpp
  81. +50 −0 cppimage_tests/CPPTest/src/utils.cpp
  82. +36 −0 cppimage_tests/CPPTest/src/utils.h
  83. +1 −0 cppimage_tests/CPPTest/test/.deps/mytest.Po
  84. +533 −0 cppimage_tests/CPPTest/test/Makefile
  85. +49 −0 cppimage_tests/CPPTest/test/Makefile.am
  86. +533 −0 cppimage_tests/CPPTest/test/Makefile.in
  87. +229 −0 cppimage_tests/CPPTest/test/mytest.cpp
  88. +30 −0 cppimage_tests/CPPTest/win/VisualStudio.NET/VisualStudio.NET.sln
  89. +184 −129 ...1.6.0/msvc/gtest_main.vcproj → cppimage_tests/CPPTest/win/VisualStudio.NET/cpptest/cpptest.vcproj
  90. +27 −34 ...t-1.6.0/msvc/gtest_unittest.vcproj → cppimage_tests/CPPTest/win/VisualStudio.NET/test/test.vcproj
  91. +44 −0 cppimage_tests/CPPTest/win/winconfig.h
  92. +32 −0 cppimage_tests/TestCxDefines.h
  93. +1 −1 cppimage_tests/cppimage_tests.1
  94. +16 −7 cppimage_tests/main.cpp
  95. +0 −130 gtest-1.6.0/CHANGES
  96. +0 −240 gtest-1.6.0/CMakeLists.txt
  97. +0 −37 gtest-1.6.0/CONTRIBUTORS
  98. +0 −28 gtest-1.6.0/COPYING
  99. +0 −302 gtest-1.6.0/Makefile.am
  100. +0 −1,329 gtest-1.6.0/Makefile.in
  101. +0 −424 gtest-1.6.0/README
  102. +0 −1,178 gtest-1.6.0/aclocal.m4
  103. +0 −216 gtest-1.6.0/cmake/internal_utils.cmake
  104. +0 −138 gtest-1.6.0/codegear/gtest.cbproj
  105. +0 −54 gtest-1.6.0/codegear/gtest.groupproj
  106. +0 −38 gtest-1.6.0/codegear/gtest_all.cc
  107. +0 −40 gtest-1.6.0/codegear/gtest_link.cc
  108. +0 −82 gtest-1.6.0/codegear/gtest_main.cbproj
  109. +0 −88 gtest-1.6.0/codegear/gtest_unittest.cbproj
  110. +0 −68 gtest-1.6.0/configure.ac
  111. +0 −9,118 gtest-1.6.0/fused-src/gtest/gtest-all.cc
  112. +0 −19,537 gtest-1.6.0/fused-src/gtest/gtest.h
  113. +0 −39 gtest-1.6.0/fused-src/gtest/gtest_main.cc
  114. +0 −283 gtest-1.6.0/include/gtest/gtest-death-test.h
  115. +0 −230 gtest-1.6.0/include/gtest/gtest-message.h
  116. +0 −1,421 gtest-1.6.0/include/gtest/gtest-param-test.h
  117. +0 −487 gtest-1.6.0/include/gtest/gtest-param-test.h.pump
  118. +0 −796 gtest-1.6.0/include/gtest/gtest-printers.h
  119. +0 −232 gtest-1.6.0/include/gtest/gtest-spi.h
  120. +0 −176 gtest-1.6.0/include/gtest/gtest-test-part.h
  121. +0 −259 gtest-1.6.0/include/gtest/gtest-typed-test.h
  122. +0 −2,155 gtest-1.6.0/include/gtest/gtest.h
  123. +0 −358 gtest-1.6.0/include/gtest/gtest_pred_impl.h
  124. +0 −58 gtest-1.6.0/include/gtest/gtest_prod.h
  125. +0 −308 gtest-1.6.0/include/gtest/internal/gtest-death-test-internal.h
  126. +0 −210 gtest-1.6.0/include/gtest/internal/gtest-filepath.h
  127. +0 −1,226 gtest-1.6.0/include/gtest/internal/gtest-internal.h
  128. +0 −233 gtest-1.6.0/include/gtest/internal/gtest-linked_ptr.h
  129. +0 −4,822 gtest-1.6.0/include/gtest/internal/gtest-param-util-generated.h
  130. +0 −301 gtest-1.6.0/include/gtest/internal/gtest-param-util-generated.h.pump
  131. +0 −619 gtest-1.6.0/include/gtest/internal/gtest-param-util.h
  132. +0 −1,775 gtest-1.6.0/include/gtest/internal/gtest-port.h
  133. +0 −350 gtest-1.6.0/include/gtest/internal/gtest-string.h
  134. +0 −968 gtest-1.6.0/include/gtest/internal/gtest-tuple.h
  135. +0 −336 gtest-1.6.0/include/gtest/internal/gtest-tuple.h.pump
  136. +0 −3,330 gtest-1.6.0/include/gtest/internal/gtest-type-util.h
  137. +0 −296 gtest-1.6.0/include/gtest/internal/gtest-type-util.h.pump
  138. BIN gtest-1.6.0/lib/libgtest.a
  139. BIN gtest-1.6.0/lib/libgtest_d.a
  140. +0 −363 gtest-1.6.0/m4/acx_pthread.m4
  141. +0 −74 gtest-1.6.0/m4/gtest.m4
  142. +0 −368 gtest-1.6.0/m4/ltoptions.m4
  143. +0 −123 gtest-1.6.0/m4/ltsugar.m4
  144. +0 −23 gtest-1.6.0/m4/ltversion.m4
  145. +0 −92 gtest-1.6.0/m4/lt~obsolete.m4
  146. +0 −80 gtest-1.6.0/make/Makefile
  147. +0 −45 gtest-1.6.0/msvc/gtest-md.sln
  148. +0 −126 gtest-1.6.0/msvc/gtest-md.vcproj
  149. +0 −45 gtest-1.6.0/msvc/gtest.sln
  150. +0 −126 gtest-1.6.0/msvc/gtest.vcproj
  151. +0 −129 gtest-1.6.0/msvc/gtest_main-md.vcproj
  152. +0 −164 gtest-1.6.0/msvc/gtest_prod_test-md.vcproj
  153. +0 −164 gtest-1.6.0/msvc/gtest_prod_test.vcproj
  154. +0 −147 gtest-1.6.0/msvc/gtest_unittest-md.vcproj
  155. +0 −123 gtest-1.6.0/samples/prime_tables.h
  156. +0 −68 gtest-1.6.0/samples/sample1.cc
  157. +0 −43 gtest-1.6.0/samples/sample1.h
  158. +0 −145 gtest-1.6.0/samples/sample10_unittest.cc
  159. +0 −153 gtest-1.6.0/samples/sample1_unittest.cc
  160. +0 −56 gtest-1.6.0/samples/sample2.cc
  161. +0 −86 gtest-1.6.0/samples/sample2.h
  162. +0 −109 gtest-1.6.0/samples/sample2_unittest.cc
  163. +0 −173 gtest-1.6.0/samples/sample3-inl.h
  164. +0 −151 gtest-1.6.0/samples/sample3_unittest.cc
  165. +0 −46 gtest-1.6.0/samples/sample4.cc
  166. +0 −53 gtest-1.6.0/samples/sample4.h
  167. +0 −45 gtest-1.6.0/samples/sample4_unittest.cc
  168. +0 −199 gtest-1.6.0/samples/sample5_unittest.cc
  169. +0 −224 gtest-1.6.0/samples/sample6_unittest.cc
  170. +0 −130 gtest-1.6.0/samples/sample7_unittest.cc
  171. +0 −173 gtest-1.6.0/samples/sample8_unittest.cc
  172. +0 −160 gtest-1.6.0/samples/sample9_unittest.cc
  173. +0 −250 gtest-1.6.0/scripts/fuse_gtest_files.py
  174. +0 −730 gtest-1.6.0/scripts/gen_gtest_pred_impl.py
  175. +0 −274 gtest-1.6.0/scripts/gtest-config.in
  176. +0 −847 gtest-1.6.0/scripts/pump.py
  177. +0 −59 gtest-1.6.0/scripts/test/Makefile
  178. +0 −48 gtest-1.6.0/src/gtest-all.cc
  179. +0 −1,234 gtest-1.6.0/src/gtest-death-test.cc
  180. +0 −380 gtest-1.6.0/src/gtest-filepath.cc
  181. +0 −1,038 gtest-1.6.0/src/gtest-internal-inl.h
  182. +0 −746 gtest-1.6.0/src/gtest-port.cc
  183. +0 −356 gtest-1.6.0/src/gtest-printers.cc
  184. +0 −110 gtest-1.6.0/src/gtest-test-part.cc
  185. +0 −110 gtest-1.6.0/src/gtest-typed-test.cc
  186. +0 −4,898 gtest-1.6.0/src/gtest.cc
  187. +0 −39 gtest-1.6.0/src/gtest_main.cc
  188. +0 −93 gtest-1.6.0/test/gtest-death-test_ex_test.cc
  189. +0 −1,296 gtest-1.6.0/test/gtest-death-test_test.cc
  190. +0 −696 gtest-1.6.0/test/gtest-filepath_test.cc
  191. +0 −155 gtest-1.6.0/test/gtest-linked_ptr_test.cc
  192. +0 −313 gtest-1.6.0/test/gtest-listener_test.cc
  193. +0 −166 gtest-1.6.0/test/gtest-message_test.cc
  194. +0 −212 gtest-1.6.0/test/gtest-options_test.cc
  195. +0 −65 gtest-1.6.0/test/gtest-param-test2_test.cc
  196. +0 −895 gtest-1.6.0/test/gtest-param-test_test.cc
  197. +0 −55 gtest-1.6.0/test/gtest-param-test_test.h
  198. +0 −1,206 gtest-1.6.0/test/gtest-port_test.cc
  199. +0 −1,307 gtest-1.6.0/test/gtest-printers_test.cc
  200. +0 −208 gtest-1.6.0/test/gtest-test-part_test.cc
  201. +0 −320 gtest-1.6.0/test/gtest-tuple_test.cc
  202. +0 −45 gtest-1.6.0/test/gtest-typed-test2_test.cc
  203. +0 −360 gtest-1.6.0/test/gtest-typed-test_test.cc
  204. +0 −66 gtest-1.6.0/test/gtest-typed-test_test.h
  205. +0 −341 gtest-1.6.0/test/gtest-unittest-api_test.cc
  206. +0 −47 gtest-1.6.0/test/gtest_all_test.cc
  207. +0 −218 gtest-1.6.0/test/gtest_break_on_failure_unittest.py
  208. +0 −88 gtest-1.6.0/test/gtest_break_on_failure_unittest_.cc
  209. +0 −220 gtest-1.6.0/test/gtest_catch_exceptions_test.py
  210. +0 −308 gtest-1.6.0/test/gtest_catch_exceptions_test_.cc
  211. +0 −130 gtest-1.6.0/test/gtest_color_test.py
  212. +0 −71 gtest-1.6.0/test/gtest_color_test_.cc
  213. +0 −103 gtest-1.6.0/test/gtest_env_var_test.py
  214. +0 −126 gtest-1.6.0/test/gtest_env_var_test_.cc
  215. +0 −191 gtest-1.6.0/test/gtest_environment_test.cc
  216. +0 −633 gtest-1.6.0/test/gtest_filter_unittest.py
  217. +0 −140 gtest-1.6.0/test/gtest_filter_unittest_.cc
  218. +0 −172 gtest-1.6.0/test/gtest_help_test.py
  219. +0 −46 gtest-1.6.0/test/gtest_help_test_.cc
  220. +0 −177 gtest-1.6.0/test/gtest_list_tests_unittest.py
  221. +0 −85 gtest-1.6.0/test/gtest_list_tests_unittest_.cc
  222. +0 −45 gtest-1.6.0/test/gtest_main_unittest.cc
  223. +0 −57 gtest-1.6.0/test/gtest_no_test_unittest.cc
  224. +0 −335 gtest-1.6.0/test/gtest_output_test.py
  225. +0 −1,020 gtest-1.6.0/test/gtest_output_test_.cc
  226. +0 −711 gtest-1.6.0/test/gtest_output_test_golden_lin.txt
  227. +0 −2,427 gtest-1.6.0/test/gtest_pred_impl_unittest.cc
  228. +0 −57 gtest-1.6.0/test/gtest_prod_test.cc
  229. +0 −253 gtest-1.6.0/test/gtest_repeat_test.cc
  230. +0 −325 gtest-1.6.0/test/gtest_shuffle_test.py
  231. +0 −104 gtest-1.6.0/test/gtest_shuffle_test_.cc
  232. +0 −57 gtest-1.6.0/test/gtest_sole_header_test.cc
  233. +0 −257 gtest-1.6.0/test/gtest_stress_test.cc
  234. +0 −305 gtest-1.6.0/test/gtest_test_utils.py
  235. +0 −92 gtest-1.6.0/test/gtest_throw_on_failure_ex_test.cc
  236. +0 −171 gtest-1.6.0/test/gtest_throw_on_failure_test.py
  237. +0 −56 gtest-1.6.0/test/gtest_throw_on_failure_test_.cc
  238. +0 −70 gtest-1.6.0/test/gtest_uninitialized_test.py
  239. +0 −43 gtest-1.6.0/test/gtest_uninitialized_test_.cc
  240. +0 −7,337 gtest-1.6.0/test/gtest_unittest.cc
  241. +0 −49 gtest-1.6.0/test/gtest_xml_outfile1_test_.cc
  242. +0 −49 gtest-1.6.0/test/gtest_xml_outfile2_test_.cc
  243. +0 −132 gtest-1.6.0/test/gtest_xml_outfiles_test.py
  244. +0 −242 gtest-1.6.0/test/gtest_xml_output_unittest.py
  245. +0 −174 gtest-1.6.0/test/gtest_xml_output_unittest_.cc
  246. +0 −179 gtest-1.6.0/test/gtest_xml_test_utils.py
  247. +0 −36 gtest-1.6.0/test/production.cc
  248. +0 −55 gtest-1.6.0/test/production.h
  249. +0 −30 gtest-1.6.0/xcode/Config/DebugProject.xcconfig
  250. +0 −17 gtest-1.6.0/xcode/Config/FrameworkTarget.xcconfig
  251. +0 −41 gtest-1.6.0/xcode/Config/General.xcconfig
  252. +0 −32 gtest-1.6.0/xcode/Config/ReleaseProject.xcconfig
  253. +0 −18 gtest-1.6.0/xcode/Config/StaticLibraryTarget.xcconfig
  254. +0 −8 gtest-1.6.0/xcode/Config/TestTarget.xcconfig
  255. +0 −30 gtest-1.6.0/xcode/Resources/Info.plist
  256. +0 −28 gtest-1.6.0/xcode/Samples/FrameworkSample/Info.plist
  257. +0 −457 gtest-1.6.0/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
  258. +0 −62 gtest-1.6.0/xcode/Samples/FrameworkSample/runtests.sh
  259. +0 −63 gtest-1.6.0/xcode/Samples/FrameworkSample/widget.cc
  260. +0 −59 gtest-1.6.0/xcode/Samples/FrameworkSample/widget.h
  261. +0 −68 gtest-1.6.0/xcode/Samples/FrameworkSample/widget_test.cc
  262. +0 −65 gtest-1.6.0/xcode/Scripts/runtests.sh
  263. +0 −100 gtest-1.6.0/xcode/Scripts/versiongenerate.py
  264. +0 −1,091 gtest-1.6.0/xcode/gtest.xcodeproj/project.pbxproj
  265. +0 −7 gtest-1.6.0/xcode/gtest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  266. +0 −59 gtest-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/Check.xcscheme
  267. +0 −59 gtest-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/Version Info.xcscheme
  268. +0 −59 gtest-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/gtest-framework.xcscheme
  269. +0 −59 gtest-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/gtest-static.xcscheme
  270. +0 −59 ...-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/gtest_main-static.xcscheme
  271. +0 −86 ...xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/gtest_unittest-framework.xcscheme
  272. +0 −86 ....0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/gtest_unittest-static.xcscheme
  273. +0 −86 ...ode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/sample1_unittest-framework.xcscheme
  274. +0 −86 .../xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/sample1_unittest-static.xcscheme
  275. +0 −102 gtest-1.6.0/xcode/gtest.xcodeproj/xcuserdata/pentheny.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -203,7 +203,24 @@ struct RGBTriple
# define GetRValue(rgb) ((uint8_t)(rgb))
# define GetGValue(rgb) ((uint8_t)(((uint16_t)(rgb)) >> 8))
# define GetBValue(rgb) ((uint8_t)((rgb) >> 16))
+//# define MACRO_RGB(r,g,b) ((COLORREF)(((uint8_t)(r) | ((uint16_t)((uint8_t)(g)) << 8)) | (((uint32_t)(uint8_t)(b)) << 16)))
# define RGB(r,g,b) ((COLORREF)(((uint8_t)(r) | ((uint16_t)((uint8_t)(g)) << 8)) | (((uint32_t)(uint8_t)(b)) << 16)))
+#if 0
+template <typename T1, typename T2, typename T3>
+inline COLORREF RGB(T1 r, T2 g, T2 b)
+{
+ /*
+ return (COLORREF) ( (uint8_t) r << 16 |
+ (uint8_t) g << 8 |
+ (uint8_t) b);
+ */
+
+ return (COLORREF) ( (uint8_t) r |
+ (uint8_t) g << 8 |
+ (uint8_t) b << 16);
+ //return (COLORREF)(((uint8_t)r | ((uint16_t)((uint8_t)g) << 8)) | ((uint32_t) ((uint8_t)b)) << 16);
+}
+#endif
# ifndef _COMPLEX_DEFINED

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,14 @@
+Current maintainers
+ Nate Gallaher <ngallaher@zoidberg.wp.comcast.net>
+ Sebastian Pipping <sebastian@pipping.org>
+
+Main author:
+ Niklas Lundell <nilu@users.sourceforge.net>
+
+Contributors:
+ David Morris - pkg-config and installation patches.
+ Robin Patenall - migration to XHTML 1.0 strict
+ Sebastian Pipping - several bugfixes
+ Nate Gallaher - additional assertion macros
+ Robert Buchholz - build system fixes
+ Dagobert Michelsen - build system fixes
@@ -0,0 +1,2 @@
+CppTest bug tracker at SourceForge
+https://sourceforge.net/tracker/?atid=550611&group_id=77564&func=browse

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,3 @@
+
+See NEWS for more information.
+
@@ -0,0 +1,229 @@
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
+Foundation, Inc.
+
+ This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+ These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory. After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+ By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc. You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the `--target=TYPE' option to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+will cause the specified gcc to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
@@ -0,0 +1,44 @@
+Installing the CppTest library
+
+Table of contents
+=================
+
+ - Using GNU tools
+ - Simple install procedure
+ - Configuration options
+ - Under Microsoft Windows
+
+Using GNU tools
+===============
+
+For more detailed information about the installation process, see INSTALL.
+
+Simple install procedure
+------------------------
+
+ > gzip -cd cpptest-1.1.2.tar.gz | tar xvf - # unpack the sources
+ > cd cpptest-1.1.2 # change to the its directory
+ > ./configure # run the 'configure' script
+ > make # build 'cpptest'
+
+ [ Become root if necessary ]
+
+ > make install
+
+Configuration options
+---------------------
+
+The 'configure' script can be given a number of options to enable
+and disable various features. For a complete list, type:
+
+ ./configure --help
+
+Under Microsoft Windows
+=======================
+
+Windows specific files are found under the 'win' directory.
+
+If you are using Microsoft Visual Studio .NET, there is a project/solution
+created under win\VisualStudio.Net. This solution creates both the library
+and the test program.
+
@@ -0,0 +1,44 @@
+Installing the CppTest library
+
+Table of contents
+=================
+
+ - Using GNU tools
+ - Simple install procedure
+ - Configuration options
+ - Under Microsoft Windows
+
+Using GNU tools
+===============
+
+For more detailed information about the installation process, see INSTALL.
+
+Simple install procedure
+------------------------
+
+ > gzip -cd cpptest-@VERSION@.tar.gz | tar xvf - # unpack the sources
+ > cd cpptest-@VERSION@ # change to the its directory
+ > ./configure # run the 'configure' script
+ > make # build 'cpptest'
+
+ [ Become root if necessary ]
+
+ > make install
+
+Configuration options
+---------------------
+
+The 'configure' script can be given a number of options to enable
+and disable various features. For a complete list, type:
+
+ ./configure --help
+
+Under Microsoft Windows
+=======================
+
+Windows specific files are found under the 'win' directory.
+
+If you are using Microsoft Visual Studio .NET, there is a project/solution
+created under win\VisualStudio.Net. This solution creates both the library
+and the test program.
+
Oops, something went wrong.

0 comments on commit 2219fc5

Please sign in to comment.