rj_schema 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rj_schema/rapidjson/CHANGELOG.md +158 -0
- data/ext/rj_schema/rapidjson/CMakeLists.txt +226 -0
- data/ext/rj_schema/rapidjson/CMakeModules/FindGTestSrc.cmake +30 -0
- data/ext/rj_schema/rapidjson/RapidJSON.pc.in +7 -0
- data/ext/rj_schema/rapidjson/RapidJSONConfig.cmake.in +25 -0
- data/ext/rj_schema/rapidjson/RapidJSONConfigVersion.cmake.in +10 -0
- data/ext/rj_schema/rapidjson/appveyor.yml +54 -0
- data/ext/rj_schema/rapidjson/bin/data/abcde.txt +1 -0
- data/ext/rj_schema/rapidjson/bin/data/glossary.json +22 -0
- data/ext/rj_schema/rapidjson/bin/data/menu.json +27 -0
- data/ext/rj_schema/rapidjson/bin/data/readme.txt +1 -0
- data/ext/rj_schema/rapidjson/bin/data/sample.json +3315 -0
- data/ext/rj_schema/rapidjson/bin/data/webapp.json +88 -0
- data/ext/rj_schema/rapidjson/bin/data/widget.json +26 -0
- data/ext/rj_schema/rapidjson/bin/draft-04/schema +150 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf16be.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf16bebom.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf16le.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf16lebom.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf32be.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf32bebom.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf32le.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf32lebom.json +0 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf8.json +7 -0
- data/ext/rj_schema/rapidjson/bin/encodings/utf8bom.json +7 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail1.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail10.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail11.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail12.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail13.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail14.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail15.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail16.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail17.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail18.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail19.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail2.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail20.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail21.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail22.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail23.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail24.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail25.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail26.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail27.json +2 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail28.json +2 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail29.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail3.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail30.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail31.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail32.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail33.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail4.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail5.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail6.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail7.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail8.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/fail9.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/pass1.json +58 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/pass2.json +1 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/pass3.json +6 -0
- data/ext/rj_schema/rapidjson/bin/jsonchecker/readme.txt +3 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/LICENSE +19 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/README.md +148 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/bin/jsonschema_suite +283 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/folder/folderInteger.json +3 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/integer.json +3 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/subSchemas.json +8 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalItems.json +82 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalProperties.json +88 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/default.json +49 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/dependencies.json +108 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/disallow.json +80 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/divisibleBy.json +60 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/enum.json +71 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/extends.json +94 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/items.json +46 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxItems.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxLength.json +33 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json +42 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minItems.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minLength.json +33 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minimum.json +42 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/bignum.json +107 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/format.json +222 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json +18 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json +15 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/pattern.json +34 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/patternProperties.json +110 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/properties.json +92 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/ref.json +159 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/refRemote.json +74 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/required.json +53 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/type.json +474 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/uniqueItems.json +79 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalItems.json +82 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalProperties.json +88 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/allOf.json +112 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/anyOf.json +68 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/default.json +49 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/definitions.json +32 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/dependencies.json +113 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/enum.json +72 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/items.json +46 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxItems.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxLength.json +33 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxProperties.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json +42 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minItems.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minLength.json +33 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minProperties.json +28 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minimum.json +42 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/multipleOf.json +60 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/not.json +96 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/oneOf.json +68 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/bignum.json +107 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/format.json +148 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/zeroTerminatedFloats.json +15 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/pattern.json +34 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/patternProperties.json +110 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/properties.json +92 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/ref.json +159 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/refRemote.json +74 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json +39 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/type.json +330 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/uniqueItems.json +79 -0
- data/ext/rj_schema/rapidjson/bin/jsonschema/tox.ini +8 -0
- data/ext/rj_schema/rapidjson/bin/types/booleans.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/floats.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/guids.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/integers.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/mixed.json +592 -0
- data/ext/rj_schema/rapidjson/bin/types/nulls.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/paragraphs.json +102 -0
- data/ext/rj_schema/rapidjson/bin/types/readme.txt +1 -0
- data/ext/rj_schema/rapidjson/contrib/natvis/LICENSE +45 -0
- data/ext/rj_schema/rapidjson/contrib/natvis/README.md +7 -0
- data/ext/rj_schema/rapidjson/contrib/natvis/rapidjson.natvis +38 -0
- data/ext/rj_schema/rapidjson/doc/CMakeLists.txt +27 -0
- data/ext/rj_schema/rapidjson/doc/Doxyfile.in +2369 -0
- data/ext/rj_schema/rapidjson/doc/Doxyfile.zh-cn.in +2369 -0
- data/ext/rj_schema/rapidjson/doc/diagram/architecture.dot +50 -0
- data/ext/rj_schema/rapidjson/doc/diagram/architecture.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/insituparsing.dot +65 -0
- data/ext/rj_schema/rapidjson/doc/diagram/insituparsing.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.dot +62 -0
- data/ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/makefile +8 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move1.dot +47 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move1.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move2.dot +62 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move2.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move3.dot +60 -0
- data/ext/rj_schema/rapidjson/doc/diagram/move3.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/normalparsing.dot +56 -0
- data/ext/rj_schema/rapidjson/doc/diagram/normalparsing.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/simpledom.dot +54 -0
- data/ext/rj_schema/rapidjson/doc/diagram/simpledom.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/tutorial.dot +58 -0
- data/ext/rj_schema/rapidjson/doc/diagram/tutorial.png +0 -0
- data/ext/rj_schema/rapidjson/doc/diagram/utilityclass.dot +73 -0
- data/ext/rj_schema/rapidjson/doc/diagram/utilityclass.png +0 -0
- data/ext/rj_schema/rapidjson/doc/dom.md +281 -0
- data/ext/rj_schema/rapidjson/doc/dom.zh-cn.md +285 -0
- data/ext/rj_schema/rapidjson/doc/encoding.md +146 -0
- data/ext/rj_schema/rapidjson/doc/encoding.zh-cn.md +152 -0
- data/ext/rj_schema/rapidjson/doc/faq.md +289 -0
- data/ext/rj_schema/rapidjson/doc/faq.zh-cn.md +290 -0
- data/ext/rj_schema/rapidjson/doc/features.md +104 -0
- data/ext/rj_schema/rapidjson/doc/features.zh-cn.md +103 -0
- data/ext/rj_schema/rapidjson/doc/internals.md +368 -0
- data/ext/rj_schema/rapidjson/doc/internals.zh-cn.md +363 -0
- data/ext/rj_schema/rapidjson/doc/logo/rapidjson.png +0 -0
- data/ext/rj_schema/rapidjson/doc/logo/rapidjson.svg +119 -0
- data/ext/rj_schema/rapidjson/doc/misc/DoxygenLayout.xml +194 -0
- data/ext/rj_schema/rapidjson/doc/misc/doxygenextra.css +274 -0
- data/ext/rj_schema/rapidjson/doc/misc/footer.html +11 -0
- data/ext/rj_schema/rapidjson/doc/misc/header.html +24 -0
- data/ext/rj_schema/rapidjson/doc/npm.md +31 -0
- data/ext/rj_schema/rapidjson/doc/performance.md +26 -0
- data/ext/rj_schema/rapidjson/doc/performance.zh-cn.md +26 -0
- data/ext/rj_schema/rapidjson/doc/pointer.md +234 -0
- data/ext/rj_schema/rapidjson/doc/pointer.zh-cn.md +234 -0
- data/ext/rj_schema/rapidjson/doc/sax.md +509 -0
- data/ext/rj_schema/rapidjson/doc/sax.zh-cn.md +487 -0
- data/ext/rj_schema/rapidjson/doc/schema.md +505 -0
- data/ext/rj_schema/rapidjson/doc/schema.zh-cn.md +237 -0
- data/ext/rj_schema/rapidjson/doc/stream.md +429 -0
- data/ext/rj_schema/rapidjson/doc/stream.zh-cn.md +429 -0
- data/ext/rj_schema/rapidjson/doc/tutorial.md +536 -0
- data/ext/rj_schema/rapidjson/doc/tutorial.zh-cn.md +535 -0
- data/ext/rj_schema/rapidjson/docker/debian/Dockerfile +8 -0
- data/ext/rj_schema/rapidjson/example/CMakeLists.txt +46 -0
- data/ext/rj_schema/rapidjson/example/archiver/archiver.cpp +292 -0
- data/ext/rj_schema/rapidjson/example/archiver/archiver.h +145 -0
- data/ext/rj_schema/rapidjson/example/archiver/archivertest.cpp +287 -0
- data/ext/rj_schema/rapidjson/example/capitalize/capitalize.cpp +67 -0
- data/ext/rj_schema/rapidjson/example/condense/condense.cpp +32 -0
- data/ext/rj_schema/rapidjson/example/filterkey/filterkey.cpp +135 -0
- data/ext/rj_schema/rapidjson/example/filterkeydom/filterkeydom.cpp +170 -0
- data/ext/rj_schema/rapidjson/example/jsonx/jsonx.cpp +207 -0
- data/ext/rj_schema/rapidjson/example/lookaheadparser/lookaheadparser.cpp +350 -0
- data/ext/rj_schema/rapidjson/example/messagereader/messagereader.cpp +105 -0
- data/ext/rj_schema/rapidjson/example/parsebyparts/parsebyparts.cpp +176 -0
- data/ext/rj_schema/rapidjson/example/pretty/pretty.cpp +30 -0
- data/ext/rj_schema/rapidjson/example/prettyauto/prettyauto.cpp +56 -0
- data/ext/rj_schema/rapidjson/example/schemavalidator/schemavalidator.cpp +78 -0
- data/ext/rj_schema/rapidjson/example/serialize/serialize.cpp +173 -0
- data/ext/rj_schema/rapidjson/example/simpledom/simpledom.cpp +29 -0
- data/ext/rj_schema/rapidjson/example/simplepullreader/simplepullreader.cpp +53 -0
- data/ext/rj_schema/rapidjson/example/simplereader/simplereader.cpp +42 -0
- data/ext/rj_schema/rapidjson/example/simplewriter/simplewriter.cpp +36 -0
- data/ext/rj_schema/rapidjson/example/sortkeys/sortkeys.cpp +62 -0
- data/ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp +151 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/allocators.h +284 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h +78 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/document.h +2732 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/encodedstream.h +299 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/encodings.h +716 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/error/en.h +74 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/error/error.h +161 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/filereadstream.h +99 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/filewritestream.h +104 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/fwd.h +151 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/biginteger.h +290 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/clzll.h +71 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/diyfp.h +257 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/dtoa.h +245 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/ieee754.h +78 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/itoa.h +308 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/meta.h +186 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/pow10.h +55 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/regex.h +739 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/stack.h +232 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/strfunc.h +69 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/strtod.h +290 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/internal/swap.h +46 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/istreamwrapper.h +128 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/memorybuffer.h +70 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/memorystream.h +71 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/msinttypes/inttypes.h +316 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/msinttypes/stdint.h +300 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/ostreamwrapper.h +81 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/pointer.h +1415 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/prettywriter.h +277 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/rapidjson.h +676 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/reader.h +2236 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/schema.h +2496 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/stream.h +223 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/stringbuffer.h +121 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/writer.h +710 -0
- data/ext/rj_schema/rapidjson/include_dirs.js +2 -0
- data/ext/rj_schema/rapidjson/library.json +15 -0
- data/ext/rj_schema/rapidjson/license.txt +57 -0
- data/ext/rj_schema/rapidjson/package.json +24 -0
- data/ext/rj_schema/rapidjson/rapidjson.autopkg +77 -0
- data/ext/rj_schema/rapidjson/readme.md +210 -0
- data/ext/rj_schema/rapidjson/readme.zh-cn.md +152 -0
- data/ext/rj_schema/rapidjson/test/CMakeLists.txt +20 -0
- data/ext/rj_schema/rapidjson/test/perftest/CMakeLists.txt +28 -0
- data/ext/rj_schema/rapidjson/test/perftest/misctest.cpp +974 -0
- data/ext/rj_schema/rapidjson/test/perftest/perftest.cpp +24 -0
- data/ext/rj_schema/rapidjson/test/perftest/perftest.h +185 -0
- data/ext/rj_schema/rapidjson/test/perftest/platformtest.cpp +166 -0
- data/ext/rj_schema/rapidjson/test/perftest/rapidjsontest.cpp +546 -0
- data/ext/rj_schema/rapidjson/test/perftest/schematest.cpp +223 -0
- data/ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt +92 -0
- data/ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp +100 -0
- data/ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp +138 -0
- data/ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp +115 -0
- data/ext/rj_schema/rapidjson/test/unittest/documenttest.cpp +672 -0
- data/ext/rj_schema/rapidjson/test/unittest/dtoatest.cpp +98 -0
- data/ext/rj_schema/rapidjson/test/unittest/encodedstreamtest.cpp +313 -0
- data/ext/rj_schema/rapidjson/test/unittest/encodingstest.cpp +451 -0
- data/ext/rj_schema/rapidjson/test/unittest/filestreamtest.cpp +155 -0
- data/ext/rj_schema/rapidjson/test/unittest/fwdtest.cpp +230 -0
- data/ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp +181 -0
- data/ext/rj_schema/rapidjson/test/unittest/itoatest.cpp +160 -0
- data/ext/rj_schema/rapidjson/test/unittest/jsoncheckertest.cpp +143 -0
- data/ext/rj_schema/rapidjson/test/unittest/namespacetest.cpp +70 -0
- data/ext/rj_schema/rapidjson/test/unittest/ostreamwrappertest.cpp +92 -0
- data/ext/rj_schema/rapidjson/test/unittest/pointertest.cpp +1638 -0
- data/ext/rj_schema/rapidjson/test/unittest/prettywritertest.cpp +373 -0
- data/ext/rj_schema/rapidjson/test/unittest/readertest.cpp +2225 -0
- data/ext/rj_schema/rapidjson/test/unittest/regextest.cpp +639 -0
- data/ext/rj_schema/rapidjson/test/unittest/schematest.cpp +2072 -0
- data/ext/rj_schema/rapidjson/test/unittest/simdtest.cpp +219 -0
- data/ext/rj_schema/rapidjson/test/unittest/strfunctest.cpp +30 -0
- data/ext/rj_schema/rapidjson/test/unittest/stringbuffertest.cpp +192 -0
- data/ext/rj_schema/rapidjson/test/unittest/strtodtest.cpp +132 -0
- data/ext/rj_schema/rapidjson/test/unittest/unittest.cpp +51 -0
- data/ext/rj_schema/rapidjson/test/unittest/unittest.h +143 -0
- data/ext/rj_schema/rapidjson/test/unittest/valuetest.cpp +1851 -0
- data/ext/rj_schema/rapidjson/test/unittest/writertest.cpp +598 -0
- data/ext/rj_schema/rapidjson/test/valgrind.supp +17 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/BUILD.bazel +175 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt +33 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/CONTRIBUTING.md +160 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/Makefile.am +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/README.md +122 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/WORKSPACE +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/appveyor.yml +104 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-autotools.sh +44 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-bazel.sh +36 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-linux.sh +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-osx.sh +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/get-nprocessors.sh +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-linux.sh +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-osx.sh +39 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/log-config.sh +51 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/travis.sh +44 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/configure.ac +16 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +242 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am +224 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md +344 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock.pc.in +9 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock_main.pc.in +9 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac +146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +564 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +3660 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +15 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +447 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +627 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +1262 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +2571 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +833 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +1379 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +347 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +2258 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +675 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +458 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +178 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +5255 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h +246 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +91 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +1918 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +95 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +10 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +136 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +574 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +87 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/make/Makefile +101 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj +191 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops +15 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj +187 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj +201 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +145 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +151 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +176 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +145 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +151 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +176 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +240 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE +203 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +34 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean +115 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py +0 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +1733 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py +227 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py +448 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py +287 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py +31 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in +303 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py +640 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +156 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +204 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +573 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +883 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +205 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/BUILD.bazel +123 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +1575 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +428 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +1230 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +647 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +1341 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +718 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +6767 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +710 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +511 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +2771 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc +51 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc +81 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py +108 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +691 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +183 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +310 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +317 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +323 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +262 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +110 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CHANGES +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +312 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS +37 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am +339 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md +341 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest.pc.in +9 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest_main.pc.in +10 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj +138 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Pkgconfig.md +146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/advanced.md +2416 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/faq.md +1092 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/primer.md +536 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +342 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +249 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +1438 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +501 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +1082 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +231 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h +179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +264 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +2332 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +357 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +61 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +70 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +275 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +205 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +1277 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +5139 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +279 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +723 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +2687 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +167 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +3347 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +313 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4 +363 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4 +74 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/make/Makefile +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.sln +55 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj +149 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.sln +55 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj +149 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj +154 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj +162 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj +199 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj.filters +26 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj +191 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj.filters +26 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj +188 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj +180 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj.filters +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +140 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +154 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.h +85 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +110 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +152 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.h +53 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +199 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +225 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +118 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +174 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/common.py +83 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +253 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +730 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in +274 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/pump.py +855 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py +158 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +1536 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +385 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +1175 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +1277 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +458 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +102 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +119 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +5846 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/BUILD.bazel +396 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +1424 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +652 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc +154 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc +159 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +213 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +61 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +1110 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +53 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +1303 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +1737 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc +208 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc +320 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +380 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h +66 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +341 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_assert_by_exception_test.cc +119 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +210 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +87 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +235 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +63 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +119 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +124 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +189 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +638 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +138 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_outfiles_test.py +162 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_output_unittest.py +611 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_test_utils.py +60 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +207 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +344 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +1067 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +781 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +2427 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +236 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py +325 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc +103 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +250 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +318 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test.py +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test_.cc +44 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc +92 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +171 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc +72 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +69 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +7797 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +140 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +378 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +196 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc +36 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h +55 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig +17 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj +457 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh +62 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc +63 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +1182 -0
- data/ext/rj_schema/rapidjson/travis-doxygen.sh +128 -0
- metadata +613 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
Copyright 2008, Google Inc.
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are
|
6
|
+
met:
|
7
|
+
|
8
|
+
* Redistributions of source code must retain the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer.
|
10
|
+
* Redistributions in binary form must reproduce the above
|
11
|
+
copyright notice, this list of conditions and the following disclaimer
|
12
|
+
in the documentation and/or other materials provided with the
|
13
|
+
distribution.
|
14
|
+
* Neither the name of Google Inc. nor the names of its
|
15
|
+
contributors may be used to endorse or promote products derived from
|
16
|
+
this software without specific prior written permission.
|
17
|
+
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
21
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
24
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
27
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -0,0 +1,224 @@
|
|
1
|
+
# Automake file
|
2
|
+
|
3
|
+
# Nonstandard package files for distribution.
|
4
|
+
EXTRA_DIST = LICENSE
|
5
|
+
|
6
|
+
# We may need to build our internally packaged gtest. If so, it will be
|
7
|
+
# included in the 'subdirs' variable.
|
8
|
+
SUBDIRS = $(subdirs)
|
9
|
+
|
10
|
+
# This is generated by the configure script, so clean it for distribution.
|
11
|
+
DISTCLEANFILES = scripts/gmock-config
|
12
|
+
|
13
|
+
# We define the global AM_CPPFLAGS as everything we compile includes from these
|
14
|
+
# directories.
|
15
|
+
AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I$(srcdir)/include
|
16
|
+
|
17
|
+
# Modifies compiler and linker flags for pthreads compatibility.
|
18
|
+
if HAVE_PTHREADS
|
19
|
+
AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1
|
20
|
+
AM_LIBS = @PTHREAD_LIBS@
|
21
|
+
endif
|
22
|
+
|
23
|
+
# Build rules for libraries.
|
24
|
+
lib_LTLIBRARIES = lib/libgmock.la lib/libgmock_main.la
|
25
|
+
|
26
|
+
lib_libgmock_la_SOURCES = src/gmock-all.cc
|
27
|
+
|
28
|
+
pkginclude_HEADERS = \
|
29
|
+
include/gmock/gmock-actions.h \
|
30
|
+
include/gmock/gmock-cardinalities.h \
|
31
|
+
include/gmock/gmock-generated-actions.h \
|
32
|
+
include/gmock/gmock-generated-function-mockers.h \
|
33
|
+
include/gmock/gmock-generated-matchers.h \
|
34
|
+
include/gmock/gmock-generated-nice-strict.h \
|
35
|
+
include/gmock/gmock-matchers.h \
|
36
|
+
include/gmock/gmock-more-actions.h \
|
37
|
+
include/gmock/gmock-more-matchers.h \
|
38
|
+
include/gmock/gmock-spec-builders.h \
|
39
|
+
include/gmock/gmock.h
|
40
|
+
|
41
|
+
pkginclude_internaldir = $(pkgincludedir)/internal
|
42
|
+
pkginclude_internal_HEADERS = \
|
43
|
+
include/gmock/internal/gmock-generated-internal-utils.h \
|
44
|
+
include/gmock/internal/gmock-internal-utils.h \
|
45
|
+
include/gmock/internal/gmock-port.h \
|
46
|
+
include/gmock/internal/custom/gmock-generated-actions.h \
|
47
|
+
include/gmock/internal/custom/gmock-matchers.h \
|
48
|
+
include/gmock/internal/custom/gmock-port.h
|
49
|
+
|
50
|
+
lib_libgmock_main_la_SOURCES = src/gmock_main.cc
|
51
|
+
lib_libgmock_main_la_LIBADD = lib/libgmock.la
|
52
|
+
|
53
|
+
# Build rules for tests. Automake's naming for some of these variables isn't
|
54
|
+
# terribly obvious, so this is a brief reference:
|
55
|
+
#
|
56
|
+
# TESTS -- Programs run automatically by "make check"
|
57
|
+
# check_PROGRAMS -- Programs built by "make check" but not necessarily run
|
58
|
+
|
59
|
+
TESTS=
|
60
|
+
check_PROGRAMS=
|
61
|
+
AM_LDFLAGS = $(GTEST_LDFLAGS)
|
62
|
+
|
63
|
+
# This exercises all major components of Google Mock. It also
|
64
|
+
# verifies that libgmock works.
|
65
|
+
TESTS += test/gmock-spec-builders_test
|
66
|
+
check_PROGRAMS += test/gmock-spec-builders_test
|
67
|
+
test_gmock_spec_builders_test_SOURCES = test/gmock-spec-builders_test.cc
|
68
|
+
test_gmock_spec_builders_test_LDADD = $(GTEST_LIBS) lib/libgmock.la
|
69
|
+
|
70
|
+
# This tests using Google Mock in multiple translation units. It also
|
71
|
+
# verifies that libgmock_main and libgmock work.
|
72
|
+
TESTS += test/gmock_link_test
|
73
|
+
check_PROGRAMS += test/gmock_link_test
|
74
|
+
test_gmock_link_test_SOURCES = \
|
75
|
+
test/gmock_link2_test.cc \
|
76
|
+
test/gmock_link_test.cc \
|
77
|
+
test/gmock_link_test.h
|
78
|
+
test_gmock_link_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la lib/libgmock.la
|
79
|
+
|
80
|
+
if HAVE_PYTHON
|
81
|
+
# Tests that fused gmock files compile and work.
|
82
|
+
TESTS += test/gmock_fused_test
|
83
|
+
check_PROGRAMS += test/gmock_fused_test
|
84
|
+
test_gmock_fused_test_SOURCES = \
|
85
|
+
fused-src/gmock-gtest-all.cc \
|
86
|
+
fused-src/gmock/gmock.h \
|
87
|
+
fused-src/gmock_main.cc \
|
88
|
+
fused-src/gtest/gtest.h \
|
89
|
+
test/gmock_test.cc
|
90
|
+
test_gmock_fused_test_CPPFLAGS = -I"$(srcdir)/fused-src"
|
91
|
+
endif
|
92
|
+
|
93
|
+
# Google Mock source files that we don't compile directly.
|
94
|
+
GMOCK_SOURCE_INGLUDES = \
|
95
|
+
src/gmock-cardinalities.cc \
|
96
|
+
src/gmock-internal-utils.cc \
|
97
|
+
src/gmock-matchers.cc \
|
98
|
+
src/gmock-spec-builders.cc \
|
99
|
+
src/gmock.cc
|
100
|
+
|
101
|
+
EXTRA_DIST += $(GMOCK_SOURCE_INGLUDES)
|
102
|
+
|
103
|
+
# C++ tests that we don't compile using autotools.
|
104
|
+
EXTRA_DIST += \
|
105
|
+
test/gmock-actions_test.cc \
|
106
|
+
test/gmock_all_test.cc \
|
107
|
+
test/gmock-cardinalities_test.cc \
|
108
|
+
test/gmock_ex_test.cc \
|
109
|
+
test/gmock-generated-actions_test.cc \
|
110
|
+
test/gmock-generated-function-mockers_test.cc \
|
111
|
+
test/gmock-generated-internal-utils_test.cc \
|
112
|
+
test/gmock-generated-matchers_test.cc \
|
113
|
+
test/gmock-internal-utils_test.cc \
|
114
|
+
test/gmock-matchers_test.cc \
|
115
|
+
test/gmock-more-actions_test.cc \
|
116
|
+
test/gmock-nice-strict_test.cc \
|
117
|
+
test/gmock-port_test.cc \
|
118
|
+
test/gmock_stress_test.cc
|
119
|
+
|
120
|
+
# Python tests, which we don't run using autotools.
|
121
|
+
EXTRA_DIST += \
|
122
|
+
test/gmock_leak_test.py \
|
123
|
+
test/gmock_leak_test_.cc \
|
124
|
+
test/gmock_output_test.py \
|
125
|
+
test/gmock_output_test_.cc \
|
126
|
+
test/gmock_output_test_golden.txt \
|
127
|
+
test/gmock_test_utils.py
|
128
|
+
|
129
|
+
# Nonstandard package files for distribution.
|
130
|
+
EXTRA_DIST += \
|
131
|
+
CHANGES \
|
132
|
+
CONTRIBUTORS \
|
133
|
+
make/Makefile
|
134
|
+
|
135
|
+
# Pump scripts for generating Google Mock headers.
|
136
|
+
# TODO(chandlerc@google.com): automate the generation of *.h from *.h.pump.
|
137
|
+
EXTRA_DIST += \
|
138
|
+
include/gmock/gmock-generated-actions.h.pump \
|
139
|
+
include/gmock/gmock-generated-function-mockers.h.pump \
|
140
|
+
include/gmock/gmock-generated-matchers.h.pump \
|
141
|
+
include/gmock/gmock-generated-nice-strict.h.pump \
|
142
|
+
include/gmock/internal/gmock-generated-internal-utils.h.pump \
|
143
|
+
include/gmock/internal/custom/gmock-generated-actions.h.pump
|
144
|
+
|
145
|
+
# Script for fusing Google Mock and Google Test source files.
|
146
|
+
EXTRA_DIST += scripts/fuse_gmock_files.py
|
147
|
+
|
148
|
+
# The Google Mock Generator tool from the cppclean project.
|
149
|
+
EXTRA_DIST += \
|
150
|
+
scripts/generator/LICENSE \
|
151
|
+
scripts/generator/README \
|
152
|
+
scripts/generator/README.cppclean \
|
153
|
+
scripts/generator/cpp/__init__.py \
|
154
|
+
scripts/generator/cpp/ast.py \
|
155
|
+
scripts/generator/cpp/gmock_class.py \
|
156
|
+
scripts/generator/cpp/keywords.py \
|
157
|
+
scripts/generator/cpp/tokenize.py \
|
158
|
+
scripts/generator/cpp/utils.py \
|
159
|
+
scripts/generator/gmock_gen.py
|
160
|
+
|
161
|
+
# Script for diagnosing compiler errors in programs that use Google
|
162
|
+
# Mock.
|
163
|
+
EXTRA_DIST += scripts/gmock_doctor.py
|
164
|
+
|
165
|
+
# CMake scripts.
|
166
|
+
EXTRA_DIST += \
|
167
|
+
CMakeLists.txt
|
168
|
+
|
169
|
+
# Microsoft Visual Studio 2005 projects.
|
170
|
+
EXTRA_DIST += \
|
171
|
+
msvc/2005/gmock.sln \
|
172
|
+
msvc/2005/gmock.vcproj \
|
173
|
+
msvc/2005/gmock_config.vsprops \
|
174
|
+
msvc/2005/gmock_main.vcproj \
|
175
|
+
msvc/2005/gmock_test.vcproj
|
176
|
+
|
177
|
+
# Microsoft Visual Studio 2010 projects.
|
178
|
+
EXTRA_DIST += \
|
179
|
+
msvc/2010/gmock.sln \
|
180
|
+
msvc/2010/gmock.vcxproj \
|
181
|
+
msvc/2010/gmock_config.props \
|
182
|
+
msvc/2010/gmock_main.vcxproj \
|
183
|
+
msvc/2010/gmock_test.vcxproj
|
184
|
+
|
185
|
+
if HAVE_PYTHON
|
186
|
+
# gmock_test.cc does not really depend on files generated by the
|
187
|
+
# fused-gmock-internal rule. However, gmock_test.o does, and it is
|
188
|
+
# important to include test/gmock_test.cc as part of this rule in order to
|
189
|
+
# prevent compiling gmock_test.o until all dependent files have been
|
190
|
+
# generated.
|
191
|
+
$(test_gmock_fused_test_SOURCES): fused-gmock-internal
|
192
|
+
|
193
|
+
# TODO(vladl@google.com): Find a way to add Google Tests's sources here.
|
194
|
+
fused-gmock-internal: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
|
195
|
+
$(lib_libgmock_la_SOURCES) $(GMOCK_SOURCE_INGLUDES) \
|
196
|
+
$(lib_libgmock_main_la_SOURCES) \
|
197
|
+
scripts/fuse_gmock_files.py
|
198
|
+
mkdir -p "$(srcdir)/fused-src"
|
199
|
+
chmod -R u+w "$(srcdir)/fused-src"
|
200
|
+
rm -f "$(srcdir)/fused-src/gtest/gtest.h"
|
201
|
+
rm -f "$(srcdir)/fused-src/gmock/gmock.h"
|
202
|
+
rm -f "$(srcdir)/fused-src/gmock-gtest-all.cc"
|
203
|
+
"$(srcdir)/scripts/fuse_gmock_files.py" "$(srcdir)/fused-src"
|
204
|
+
cp -f "$(srcdir)/src/gmock_main.cc" "$(srcdir)/fused-src"
|
205
|
+
|
206
|
+
maintainer-clean-local:
|
207
|
+
rm -rf "$(srcdir)/fused-src"
|
208
|
+
endif
|
209
|
+
|
210
|
+
# Death tests may produce core dumps in the build directory. In case
|
211
|
+
# this happens, clean them to keep distcleancheck happy.
|
212
|
+
CLEANFILES = core
|
213
|
+
|
214
|
+
# Disables 'make install' as installing a compiled version of Google
|
215
|
+
# Mock can lead to undefined behavior due to violation of the
|
216
|
+
# One-Definition Rule.
|
217
|
+
|
218
|
+
install-exec-local:
|
219
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system."
|
220
|
+
false
|
221
|
+
|
222
|
+
install-data-local:
|
223
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system."
|
224
|
+
false
|
@@ -0,0 +1,344 @@
|
|
1
|
+
## Google Mock ##
|
2
|
+
|
3
|
+
The Google C++ mocking framework.
|
4
|
+
|
5
|
+
### Overview ###
|
6
|
+
|
7
|
+
Google's framework for writing and using C++ mock classes.
|
8
|
+
It can help you derive better designs of your system and write better tests.
|
9
|
+
|
10
|
+
It is inspired by:
|
11
|
+
|
12
|
+
* [jMock](http://www.jmock.org/),
|
13
|
+
* [EasyMock](http://www.easymock.org/), and
|
14
|
+
* [Hamcrest](http://code.google.com/p/hamcrest/),
|
15
|
+
|
16
|
+
and designed with C++'s specifics in mind.
|
17
|
+
|
18
|
+
Google mock:
|
19
|
+
|
20
|
+
* lets you create mock classes trivially using simple macros.
|
21
|
+
* supports a rich set of matchers and actions.
|
22
|
+
* handles unordered, partially ordered, or completely ordered expectations.
|
23
|
+
* is extensible by users.
|
24
|
+
|
25
|
+
We hope you find it useful!
|
26
|
+
|
27
|
+
### Features ###
|
28
|
+
|
29
|
+
* Provides a declarative syntax for defining mocks.
|
30
|
+
* Can easily define partial (hybrid) mocks, which are a cross of real
|
31
|
+
and mock objects.
|
32
|
+
* Handles functions of arbitrary types and overloaded functions.
|
33
|
+
* Comes with a rich set of matchers for validating function arguments.
|
34
|
+
* Uses an intuitive syntax for controlling the behavior of a mock.
|
35
|
+
* Does automatic verification of expectations (no record-and-replay needed).
|
36
|
+
* Allows arbitrary (partial) ordering constraints on
|
37
|
+
function calls to be expressed,.
|
38
|
+
* Lets an user extend it by defining new matchers and actions.
|
39
|
+
* Does not use exceptions.
|
40
|
+
* Is easy to learn and use.
|
41
|
+
|
42
|
+
Please see the project page above for more information as well as the
|
43
|
+
mailing list for questions, discussions, and development. There is
|
44
|
+
also an IRC channel on OFTC (irc.oftc.net) #gtest available. Please
|
45
|
+
join us!
|
46
|
+
|
47
|
+
Please note that code under [scripts/generator](scripts/generator/) is
|
48
|
+
from [cppclean](http://code.google.com/p/cppclean/) and released under
|
49
|
+
the Apache License, which is different from Google Mock's license.
|
50
|
+
|
51
|
+
## Getting Started ##
|
52
|
+
|
53
|
+
If you are new to the project, we suggest that you read the user
|
54
|
+
documentation in the following order:
|
55
|
+
|
56
|
+
* Learn the [basics](../../master/googletest/docs/primer.md) of
|
57
|
+
Google Test, if you choose to use Google Mock with it (recommended).
|
58
|
+
* Read [Google Mock for Dummies](../../master/googlemock/docs/ForDummies.md).
|
59
|
+
* Read the instructions below on how to build Google Mock.
|
60
|
+
|
61
|
+
You can also watch Zhanyong's [talk](http://www.youtube.com/watch?v=sYpCyLI47rM) on Google Mock's usage and implementation.
|
62
|
+
|
63
|
+
Once you understand the basics, check out the rest of the docs:
|
64
|
+
|
65
|
+
* [CheatSheet](../../master/googlemock/docs/CheatSheet.md) - all the commonly used stuff
|
66
|
+
at a glance.
|
67
|
+
* [CookBook](../../master/googlemock/docs/CookBook.md) - recipes for getting things done,
|
68
|
+
including advanced techniques.
|
69
|
+
|
70
|
+
If you need help, please check the
|
71
|
+
[KnownIssues](docs/KnownIssues.md) and
|
72
|
+
[FrequentlyAskedQuestions](docs/FrequentlyAskedQuestions.md) before
|
73
|
+
posting a question on the
|
74
|
+
[discussion group](http://groups.google.com/group/googlemock).
|
75
|
+
|
76
|
+
|
77
|
+
### Using Google Mock Without Google Test ###
|
78
|
+
|
79
|
+
Google Mock is not a testing framework itself. Instead, it needs a
|
80
|
+
testing framework for writing tests. Google Mock works seamlessly
|
81
|
+
with [Google Test](https://github.com/google/googletest), but
|
82
|
+
you can also use it with [any C++ testing framework](../../master/googlemock/docs/ForDummies.md#using-google-mock-with-any-testing-framework).
|
83
|
+
|
84
|
+
### Requirements for End Users ###
|
85
|
+
|
86
|
+
Google Mock is implemented on top of [Google Test](
|
87
|
+
http://github.com/google/googletest/), and depends on it.
|
88
|
+
You must use the bundled version of Google Test when using Google Mock.
|
89
|
+
|
90
|
+
You can also easily configure Google Mock to work with another testing
|
91
|
+
framework, although it will still need Google Test. Please read
|
92
|
+
["Using_Google_Mock_with_Any_Testing_Framework"](
|
93
|
+
../../master/googlemock/docs/ForDummies.md#using-google-mock-with-any-testing-framework)
|
94
|
+
for instructions.
|
95
|
+
|
96
|
+
Google Mock depends on advanced C++ features and thus requires a more
|
97
|
+
modern compiler. The following are needed to use Google Mock:
|
98
|
+
|
99
|
+
#### Linux Requirements ####
|
100
|
+
|
101
|
+
* GNU-compatible Make or "gmake"
|
102
|
+
* POSIX-standard shell
|
103
|
+
* POSIX(-2) Regular Expressions (regex.h)
|
104
|
+
* C++98-standard-compliant compiler (e.g. GCC 3.4 or newer)
|
105
|
+
|
106
|
+
#### Windows Requirements ####
|
107
|
+
|
108
|
+
* Microsoft Visual C++ 8.0 SP1 or newer
|
109
|
+
|
110
|
+
#### Mac OS X Requirements ####
|
111
|
+
|
112
|
+
* Mac OS X 10.4 Tiger or newer
|
113
|
+
* Developer Tools Installed
|
114
|
+
|
115
|
+
### Requirements for Contributors ###
|
116
|
+
|
117
|
+
We welcome patches. If you plan to contribute a patch, you need to
|
118
|
+
build Google Mock and its tests, which has further requirements:
|
119
|
+
|
120
|
+
* Automake version 1.9 or newer
|
121
|
+
* Autoconf version 2.59 or newer
|
122
|
+
* Libtool / Libtoolize
|
123
|
+
* Python version 2.3 or newer (for running some of the tests and
|
124
|
+
re-generating certain source files from templates)
|
125
|
+
|
126
|
+
### Building Google Mock ###
|
127
|
+
|
128
|
+
#### Using CMake ####
|
129
|
+
|
130
|
+
If you have CMake available, it is recommended that you follow the
|
131
|
+
[build instructions][gtest_cmakebuild]
|
132
|
+
as described for Google Test.
|
133
|
+
|
134
|
+
If are using Google Mock with an
|
135
|
+
existing CMake project, the section
|
136
|
+
[Incorporating Into An Existing CMake Project][gtest_incorpcmake]
|
137
|
+
may be of particular interest.
|
138
|
+
To make it work for Google Mock you will need to change
|
139
|
+
|
140
|
+
target_link_libraries(example gtest_main)
|
141
|
+
|
142
|
+
to
|
143
|
+
|
144
|
+
target_link_libraries(example gmock_main)
|
145
|
+
|
146
|
+
This works because `gmock_main` library is compiled with Google Test.
|
147
|
+
However, it does not automatically add Google Test includes.
|
148
|
+
Therefore you will also have to change
|
149
|
+
|
150
|
+
if (CMAKE_VERSION VERSION_LESS 2.8.11)
|
151
|
+
include_directories("${gtest_SOURCE_DIR}/include")
|
152
|
+
endif()
|
153
|
+
|
154
|
+
to
|
155
|
+
|
156
|
+
if (CMAKE_VERSION VERSION_LESS 2.8.11)
|
157
|
+
include_directories(BEFORE SYSTEM
|
158
|
+
"${gtest_SOURCE_DIR}/include" "${gmock_SOURCE_DIR}/include")
|
159
|
+
else()
|
160
|
+
target_include_directories(gmock_main SYSTEM BEFORE INTERFACE
|
161
|
+
"${gtest_SOURCE_DIR}/include" "${gmock_SOURCE_DIR}/include")
|
162
|
+
endif()
|
163
|
+
|
164
|
+
This will addtionally mark Google Mock includes as system, which will
|
165
|
+
silence compiler warnings when compiling your tests using clang with
|
166
|
+
`-Wpedantic -Wall -Wextra -Wconversion`.
|
167
|
+
|
168
|
+
|
169
|
+
#### Preparing to Build (Unix only) ####
|
170
|
+
|
171
|
+
If you are using a Unix system and plan to use the GNU Autotools build
|
172
|
+
system to build Google Mock (described below), you'll need to
|
173
|
+
configure it now.
|
174
|
+
|
175
|
+
To prepare the Autotools build system:
|
176
|
+
|
177
|
+
cd googlemock
|
178
|
+
autoreconf -fvi
|
179
|
+
|
180
|
+
To build Google Mock and your tests that use it, you need to tell your
|
181
|
+
build system where to find its headers and source files. The exact
|
182
|
+
way to do it depends on which build system you use, and is usually
|
183
|
+
straightforward.
|
184
|
+
|
185
|
+
This section shows how you can integrate Google Mock into your
|
186
|
+
existing build system.
|
187
|
+
|
188
|
+
Suppose you put Google Mock in directory `${GMOCK_DIR}` and Google Test
|
189
|
+
in `${GTEST_DIR}` (the latter is `${GMOCK_DIR}/gtest` by default). To
|
190
|
+
build Google Mock, create a library build target (or a project as
|
191
|
+
called by Visual Studio and Xcode) to compile
|
192
|
+
|
193
|
+
${GTEST_DIR}/src/gtest-all.cc and ${GMOCK_DIR}/src/gmock-all.cc
|
194
|
+
|
195
|
+
with
|
196
|
+
|
197
|
+
${GTEST_DIR}/include and ${GMOCK_DIR}/include
|
198
|
+
|
199
|
+
in the system header search path, and
|
200
|
+
|
201
|
+
${GTEST_DIR} and ${GMOCK_DIR}
|
202
|
+
|
203
|
+
in the normal header search path. Assuming a Linux-like system and gcc,
|
204
|
+
something like the following will do:
|
205
|
+
|
206
|
+
g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
|
207
|
+
-isystem ${GMOCK_DIR}/include -I${GMOCK_DIR} \
|
208
|
+
-pthread -c ${GTEST_DIR}/src/gtest-all.cc
|
209
|
+
g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
|
210
|
+
-isystem ${GMOCK_DIR}/include -I${GMOCK_DIR} \
|
211
|
+
-pthread -c ${GMOCK_DIR}/src/gmock-all.cc
|
212
|
+
ar -rv libgmock.a gtest-all.o gmock-all.o
|
213
|
+
|
214
|
+
(We need -pthread as Google Test and Google Mock use threads.)
|
215
|
+
|
216
|
+
Next, you should compile your test source file with
|
217
|
+
${GTEST\_DIR}/include and ${GMOCK\_DIR}/include in the header search
|
218
|
+
path, and link it with gmock and any other necessary libraries:
|
219
|
+
|
220
|
+
g++ -isystem ${GTEST_DIR}/include -isystem ${GMOCK_DIR}/include \
|
221
|
+
-pthread path/to/your_test.cc libgmock.a -o your_test
|
222
|
+
|
223
|
+
As an example, the make/ directory contains a Makefile that you can
|
224
|
+
use to build Google Mock on systems where GNU make is available
|
225
|
+
(e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
|
226
|
+
Mock's own tests. Instead, it just builds the Google Mock library and
|
227
|
+
a sample test. You can use it as a starting point for your own build
|
228
|
+
script.
|
229
|
+
|
230
|
+
If the default settings are correct for your environment, the
|
231
|
+
following commands should succeed:
|
232
|
+
|
233
|
+
cd ${GMOCK_DIR}/make
|
234
|
+
make
|
235
|
+
./gmock_test
|
236
|
+
|
237
|
+
If you see errors, try to tweak the contents of
|
238
|
+
[make/Makefile](make/Makefile) to make them go away.
|
239
|
+
|
240
|
+
### Windows ###
|
241
|
+
|
242
|
+
The msvc/2005 directory contains VC++ 2005 projects and the msvc/2010
|
243
|
+
directory contains VC++ 2010 projects for building Google Mock and
|
244
|
+
selected tests.
|
245
|
+
|
246
|
+
Change to the appropriate directory and run "msbuild gmock.sln" to
|
247
|
+
build the library and tests (or open the gmock.sln in the MSVC IDE).
|
248
|
+
If you want to create your own project to use with Google Mock, you'll
|
249
|
+
have to configure it to use the `gmock_config` propety sheet. For that:
|
250
|
+
|
251
|
+
* Open the Property Manager window (View | Other Windows | Property Manager)
|
252
|
+
* Right-click on your project and select "Add Existing Property Sheet..."
|
253
|
+
* Navigate to `gmock_config.vsprops` or `gmock_config.props` and select it.
|
254
|
+
* In Project Properties | Configuration Properties | General | Additional
|
255
|
+
Include Directories, type <path to Google Mock>/include.
|
256
|
+
|
257
|
+
### Tweaking Google Mock ###
|
258
|
+
|
259
|
+
Google Mock can be used in diverse environments. The default
|
260
|
+
configuration may not work (or may not work well) out of the box in
|
261
|
+
some environments. However, you can easily tweak Google Mock by
|
262
|
+
defining control macros on the compiler command line. Generally,
|
263
|
+
these macros are named like `GTEST_XYZ` and you define them to either 1
|
264
|
+
or 0 to enable or disable a certain feature.
|
265
|
+
|
266
|
+
We list the most frequently used macros below. For a complete list,
|
267
|
+
see file [${GTEST\_DIR}/include/gtest/internal/gtest-port.h](
|
268
|
+
../googletest/include/gtest/internal/gtest-port.h).
|
269
|
+
|
270
|
+
### Choosing a TR1 Tuple Library ###
|
271
|
+
|
272
|
+
Google Mock uses the C++ Technical Report 1 (TR1) tuple library
|
273
|
+
heavily. Unfortunately TR1 tuple is not yet widely available with all
|
274
|
+
compilers. The good news is that Google Test 1.4.0+ implements a
|
275
|
+
subset of TR1 tuple that's enough for Google Mock's need. Google Mock
|
276
|
+
will automatically use that implementation when the compiler doesn't
|
277
|
+
provide TR1 tuple.
|
278
|
+
|
279
|
+
Usually you don't need to care about which tuple library Google Test
|
280
|
+
and Google Mock use. However, if your project already uses TR1 tuple,
|
281
|
+
you need to tell Google Test and Google Mock to use the same TR1 tuple
|
282
|
+
library the rest of your project uses, or the two tuple
|
283
|
+
implementations will clash. To do that, add
|
284
|
+
|
285
|
+
-DGTEST_USE_OWN_TR1_TUPLE=0
|
286
|
+
|
287
|
+
to the compiler flags while compiling Google Test, Google Mock, and
|
288
|
+
your tests. If you want to force Google Test and Google Mock to use
|
289
|
+
their own tuple library, just add
|
290
|
+
|
291
|
+
-DGTEST_USE_OWN_TR1_TUPLE=1
|
292
|
+
|
293
|
+
to the compiler flags instead.
|
294
|
+
|
295
|
+
If you want to use Boost's TR1 tuple library with Google Mock, please
|
296
|
+
refer to the Boost website (http://www.boost.org/) for how to obtain
|
297
|
+
it and set it up.
|
298
|
+
|
299
|
+
### As a Shared Library (DLL) ###
|
300
|
+
|
301
|
+
Google Mock is compact, so most users can build and link it as a static
|
302
|
+
library for the simplicity. Google Mock can be used as a DLL, but the
|
303
|
+
same DLL must contain Google Test as well. See
|
304
|
+
[Google Test's README][gtest_readme]
|
305
|
+
for instructions on how to set up necessary compiler settings.
|
306
|
+
|
307
|
+
### Tweaking Google Mock ###
|
308
|
+
|
309
|
+
Most of Google Test's control macros apply to Google Mock as well.
|
310
|
+
Please see [Google Test's README][gtest_readme] for how to tweak them.
|
311
|
+
|
312
|
+
### Upgrading from an Earlier Version ###
|
313
|
+
|
314
|
+
We strive to keep Google Mock releases backward compatible.
|
315
|
+
Sometimes, though, we have to make some breaking changes for the
|
316
|
+
users' long-term benefits. This section describes what you'll need to
|
317
|
+
do if you are upgrading from an earlier version of Google Mock.
|
318
|
+
|
319
|
+
#### Upgrading from 1.1.0 or Earlier ####
|
320
|
+
|
321
|
+
You may need to explicitly enable or disable Google Test's own TR1
|
322
|
+
tuple library. See the instructions in section "[Choosing a TR1 Tuple
|
323
|
+
Library](../googletest/#choosing-a-tr1-tuple-library)".
|
324
|
+
|
325
|
+
#### Upgrading from 1.4.0 or Earlier ####
|
326
|
+
|
327
|
+
On platforms where the pthread library is available, Google Test and
|
328
|
+
Google Mock use it in order to be thread-safe. For this to work, you
|
329
|
+
may need to tweak your compiler and/or linker flags. Please see the
|
330
|
+
"[Multi-threaded Tests](../googletest#multi-threaded-tests
|
331
|
+
)" section in file Google Test's README for what you may need to do.
|
332
|
+
|
333
|
+
If you have custom matchers defined using `MatcherInterface` or
|
334
|
+
`MakePolymorphicMatcher()`, you'll need to update their definitions to
|
335
|
+
use the new matcher API (
|
336
|
+
[monomorphic](./docs/CookBook.md#writing-new-monomorphic-matchers),
|
337
|
+
[polymorphic](./docs/CookBook.md#writing-new-polymorphic-matchers)).
|
338
|
+
Matchers defined using `MATCHER()` or `MATCHER_P*()` aren't affected.
|
339
|
+
|
340
|
+
Happy testing!
|
341
|
+
|
342
|
+
[gtest_readme]: ../googletest/README.md "googletest"
|
343
|
+
[gtest_cmakebuild]: ../googletest/README.md#using-cmake "Using CMake"
|
344
|
+
[gtest_incorpcmake]: ../googletest/README.md#incorporating-into-an-existing-cmake-project "Incorporating Into An Existing CMake Project"
|