rj_schema 0.2.4 → 1.0.1
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 +248 -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 +102 -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/alotofkeys.json +502 -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/bin/unittestschema/address.json +139 -0
- data/ext/rj_schema/rapidjson/bin/unittestschema/allOf_address.json +7 -0
- data/ext/rj_schema/rapidjson/bin/unittestschema/anyOf_address.json +7 -0
- data/ext/rj_schema/rapidjson/bin/unittestschema/idandref.json +69 -0
- data/ext/rj_schema/rapidjson/bin/unittestschema/oneOf_address.json +7 -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 +198 -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/traverseaspointer.cpp +39 -0
- data/ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp +151 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/allocators.h +692 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h +78 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/document.h +3027 -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 +122 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/error/error.h +216 -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 +83 -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 +1482 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/prettywriter.h +277 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/rapidjson.h +741 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/reader.h +2244 -0
- data/ext/rj_schema/rapidjson/include/rapidjson/schema.h +2795 -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/uri.h +466 -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 +186 -0
- data/ext/rj_schema/rapidjson/test/perftest/platformtest.cpp +166 -0
- data/ext/rj_schema/rapidjson/test/perftest/rapidjsontest.cpp +564 -0
- data/ext/rj_schema/rapidjson/test/perftest/schematest.cpp +223 -0
- data/ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt +95 -0
- data/ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp +292 -0
- data/ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp +138 -0
- data/ext/rj_schema/rapidjson/test/unittest/clzlltest.cpp +34 -0
- data/ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp +115 -0
- data/ext/rj_schema/rapidjson/test/unittest/documenttest.cpp +674 -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/platformtest.cpp +40 -0
- data/ext/rj_schema/rapidjson/test/unittest/pointertest.cpp +1730 -0
- data/ext/rj_schema/rapidjson/test/unittest/prettywritertest.cpp +373 -0
- data/ext/rj_schema/rapidjson/test/unittest/readertest.cpp +2228 -0
- data/ext/rj_schema/rapidjson/test/unittest/regextest.cpp +639 -0
- data/ext/rj_schema/rapidjson/test/unittest/schematest.cpp +2952 -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/uritest.cpp +718 -0
- data/ext/rj_schema/rapidjson/test/unittest/valuetest.cpp +1861 -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
- data/ext/rj_schema/rj_schema.cpp +162 -18
- data/lib/rj_schema.rb +1 -1
- metadata +626 -3
@@ -0,0 +1,312 @@
|
|
1
|
+
########################################################################
|
2
|
+
# CMake build script for Google Test.
|
3
|
+
#
|
4
|
+
# To run the tests for Google Test itself on Linux, use 'make test' or
|
5
|
+
# ctest. You can select which tests to run using 'ctest -R regex'.
|
6
|
+
# For more options, run 'ctest --help'.
|
7
|
+
|
8
|
+
# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to
|
9
|
+
# make it prominent in the GUI.
|
10
|
+
option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
|
11
|
+
|
12
|
+
# When other libraries are using a shared version of runtime libraries,
|
13
|
+
# Google Test also has to use one.
|
14
|
+
option(
|
15
|
+
gtest_force_shared_crt
|
16
|
+
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
|
17
|
+
OFF)
|
18
|
+
|
19
|
+
option(gtest_build_tests "Build all of gtest's own tests." OFF)
|
20
|
+
|
21
|
+
option(gtest_build_samples "Build gtest's sample programs." OFF)
|
22
|
+
|
23
|
+
option(gtest_disable_pthreads "Disable uses of pthreads in gtest." OFF)
|
24
|
+
|
25
|
+
option(
|
26
|
+
gtest_hide_internal_symbols
|
27
|
+
"Build gtest with internal symbols hidden in shared libraries."
|
28
|
+
OFF)
|
29
|
+
|
30
|
+
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
|
31
|
+
include(cmake/hermetic_build.cmake OPTIONAL)
|
32
|
+
|
33
|
+
if (COMMAND pre_project_set_up_hermetic_build)
|
34
|
+
pre_project_set_up_hermetic_build()
|
35
|
+
endif()
|
36
|
+
|
37
|
+
########################################################################
|
38
|
+
#
|
39
|
+
# Project-wide settings
|
40
|
+
|
41
|
+
# Name of the project.
|
42
|
+
#
|
43
|
+
# CMake files in this project can refer to the root source directory
|
44
|
+
# as ${gtest_SOURCE_DIR} and to the root binary directory as
|
45
|
+
# ${gtest_BINARY_DIR}.
|
46
|
+
# Language "C" is required for find_package(Threads).
|
47
|
+
if (CMAKE_VERSION VERSION_LESS 3.0)
|
48
|
+
project(gtest CXX C)
|
49
|
+
else()
|
50
|
+
cmake_policy(SET CMP0048 NEW)
|
51
|
+
project(gtest VERSION 1.9.0 LANGUAGES CXX C)
|
52
|
+
endif()
|
53
|
+
cmake_minimum_required(VERSION 2.6.4)
|
54
|
+
|
55
|
+
if (POLICY CMP0063) # Visibility
|
56
|
+
cmake_policy(SET CMP0063 NEW)
|
57
|
+
endif (POLICY CMP0063)
|
58
|
+
|
59
|
+
if (COMMAND set_up_hermetic_build)
|
60
|
+
set_up_hermetic_build()
|
61
|
+
endif()
|
62
|
+
|
63
|
+
if (gtest_hide_internal_symbols)
|
64
|
+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
65
|
+
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
66
|
+
endif()
|
67
|
+
|
68
|
+
# Define helper functions and macros used by Google Test.
|
69
|
+
include(cmake/internal_utils.cmake)
|
70
|
+
|
71
|
+
config_compiler_and_linker() # Defined in internal_utils.cmake.
|
72
|
+
|
73
|
+
# Where Google Test's .h files can be found.
|
74
|
+
include_directories(
|
75
|
+
"${gtest_SOURCE_DIR}/include"
|
76
|
+
"${gtest_SOURCE_DIR}")
|
77
|
+
|
78
|
+
# Summary of tuple support for Microsoft Visual Studio:
|
79
|
+
# Compiler version(MS) version(cmake) Support
|
80
|
+
# ---------- ----------- -------------- -----------------------------
|
81
|
+
# <= VS 2010 <= 10 <= 1600 Use Google Tests's own tuple.
|
82
|
+
# VS 2012 11 1700 std::tr1::tuple + _VARIADIC_MAX=10
|
83
|
+
# VS 2013 12 1800 std::tr1::tuple
|
84
|
+
# VS 2015 14 1900 std::tuple
|
85
|
+
# VS 2017 15 >= 1910 std::tuple
|
86
|
+
if (MSVC AND MSVC_VERSION EQUAL 1700)
|
87
|
+
add_definitions(/D _VARIADIC_MAX=10)
|
88
|
+
endif()
|
89
|
+
|
90
|
+
########################################################################
|
91
|
+
#
|
92
|
+
# Defines the gtest & gtest_main libraries. User tests should link
|
93
|
+
# with one of them.
|
94
|
+
|
95
|
+
# Google Test libraries. We build them using more strict warnings than what
|
96
|
+
# are used for other targets, to ensure that gtest can be compiled by a user
|
97
|
+
# aggressive about warnings.
|
98
|
+
cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
|
99
|
+
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
|
100
|
+
target_link_libraries(gtest_main gtest)
|
101
|
+
|
102
|
+
# If the CMake version supports it, attach header directory information
|
103
|
+
# to the targets for when we are part of a parent build (ie being pulled
|
104
|
+
# in via add_subdirectory() rather than being a standalone build).
|
105
|
+
if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
|
106
|
+
target_include_directories(gtest SYSTEM INTERFACE "${gtest_SOURCE_DIR}/include")
|
107
|
+
target_include_directories(gtest_main SYSTEM INTERFACE "${gtest_SOURCE_DIR}/include")
|
108
|
+
endif()
|
109
|
+
|
110
|
+
########################################################################
|
111
|
+
#
|
112
|
+
# Install rules
|
113
|
+
if(INSTALL_GTEST)
|
114
|
+
install(TARGETS gtest gtest_main
|
115
|
+
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
116
|
+
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
117
|
+
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
118
|
+
install(DIRECTORY "${gtest_SOURCE_DIR}/include/gtest"
|
119
|
+
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
120
|
+
|
121
|
+
# configure and install pkgconfig files
|
122
|
+
configure_file(
|
123
|
+
cmake/gtest.pc.in
|
124
|
+
"${CMAKE_BINARY_DIR}/gtest.pc"
|
125
|
+
@ONLY)
|
126
|
+
configure_file(
|
127
|
+
cmake/gtest_main.pc.in
|
128
|
+
"${CMAKE_BINARY_DIR}/gtest_main.pc"
|
129
|
+
@ONLY)
|
130
|
+
install(FILES "${CMAKE_BINARY_DIR}/gtest.pc" "${CMAKE_BINARY_DIR}/gtest_main.pc"
|
131
|
+
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
132
|
+
endif()
|
133
|
+
|
134
|
+
########################################################################
|
135
|
+
#
|
136
|
+
# Samples on how to link user tests with gtest or gtest_main.
|
137
|
+
#
|
138
|
+
# They are not built by default. To build them, set the
|
139
|
+
# gtest_build_samples option to ON. You can do it by running ccmake
|
140
|
+
# or specifying the -Dgtest_build_samples=ON flag when running cmake.
|
141
|
+
|
142
|
+
if (gtest_build_samples)
|
143
|
+
cxx_executable(sample1_unittest samples gtest_main samples/sample1.cc)
|
144
|
+
cxx_executable(sample2_unittest samples gtest_main samples/sample2.cc)
|
145
|
+
cxx_executable(sample3_unittest samples gtest_main)
|
146
|
+
cxx_executable(sample4_unittest samples gtest_main samples/sample4.cc)
|
147
|
+
cxx_executable(sample5_unittest samples gtest_main samples/sample1.cc)
|
148
|
+
cxx_executable(sample6_unittest samples gtest_main)
|
149
|
+
cxx_executable(sample7_unittest samples gtest_main)
|
150
|
+
cxx_executable(sample8_unittest samples gtest_main)
|
151
|
+
cxx_executable(sample9_unittest samples gtest)
|
152
|
+
cxx_executable(sample10_unittest samples gtest)
|
153
|
+
endif()
|
154
|
+
|
155
|
+
########################################################################
|
156
|
+
#
|
157
|
+
# Google Test's own tests.
|
158
|
+
#
|
159
|
+
# You can skip this section if you aren't interested in testing
|
160
|
+
# Google Test itself.
|
161
|
+
#
|
162
|
+
# The tests are not built by default. To build them, set the
|
163
|
+
# gtest_build_tests option to ON. You can do it by running ccmake
|
164
|
+
# or specifying the -Dgtest_build_tests=ON flag when running cmake.
|
165
|
+
|
166
|
+
if (gtest_build_tests)
|
167
|
+
# This must be set in the root directory for the tests to be run by
|
168
|
+
# 'make test' or ctest.
|
169
|
+
enable_testing()
|
170
|
+
|
171
|
+
############################################################
|
172
|
+
# C++ tests built with standard compiler flags.
|
173
|
+
|
174
|
+
cxx_test(gtest-death-test_test gtest_main)
|
175
|
+
cxx_test(gtest_environment_test gtest)
|
176
|
+
cxx_test(gtest-filepath_test gtest_main)
|
177
|
+
cxx_test(gtest-linked_ptr_test gtest_main)
|
178
|
+
cxx_test(gtest-listener_test gtest_main)
|
179
|
+
cxx_test(gtest_main_unittest gtest_main)
|
180
|
+
cxx_test(gtest-message_test gtest_main)
|
181
|
+
cxx_test(gtest_no_test_unittest gtest)
|
182
|
+
cxx_test(gtest-options_test gtest_main)
|
183
|
+
cxx_test(gtest-param-test_test gtest
|
184
|
+
test/gtest-param-test2_test.cc)
|
185
|
+
cxx_test(gtest-port_test gtest_main)
|
186
|
+
cxx_test(gtest_pred_impl_unittest gtest_main)
|
187
|
+
cxx_test(gtest_premature_exit_test gtest
|
188
|
+
test/gtest_premature_exit_test.cc)
|
189
|
+
cxx_test(gtest-printers_test gtest_main)
|
190
|
+
cxx_test(gtest_prod_test gtest_main
|
191
|
+
test/production.cc)
|
192
|
+
cxx_test(gtest_repeat_test gtest)
|
193
|
+
cxx_test(gtest_sole_header_test gtest_main)
|
194
|
+
cxx_test(gtest_stress_test gtest)
|
195
|
+
cxx_test(gtest-test-part_test gtest_main)
|
196
|
+
cxx_test(gtest_throw_on_failure_ex_test gtest)
|
197
|
+
cxx_test(gtest-typed-test_test gtest_main
|
198
|
+
test/gtest-typed-test2_test.cc)
|
199
|
+
cxx_test(gtest_unittest gtest_main)
|
200
|
+
cxx_test(gtest-unittest-api_test gtest)
|
201
|
+
|
202
|
+
############################################################
|
203
|
+
# C++ tests built with non-standard compiler flags.
|
204
|
+
|
205
|
+
# MSVC 7.1 does not support STL with exceptions disabled.
|
206
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310)
|
207
|
+
cxx_library(gtest_no_exception "${cxx_no_exception}"
|
208
|
+
src/gtest-all.cc)
|
209
|
+
cxx_library(gtest_main_no_exception "${cxx_no_exception}"
|
210
|
+
src/gtest-all.cc src/gtest_main.cc)
|
211
|
+
endif()
|
212
|
+
cxx_library(gtest_main_no_rtti "${cxx_no_rtti}"
|
213
|
+
src/gtest-all.cc src/gtest_main.cc)
|
214
|
+
|
215
|
+
cxx_test_with_flags(gtest-death-test_ex_nocatch_test
|
216
|
+
"${cxx_exception} -DGTEST_ENABLE_CATCH_EXCEPTIONS_=0"
|
217
|
+
gtest test/gtest-death-test_ex_test.cc)
|
218
|
+
cxx_test_with_flags(gtest-death-test_ex_catch_test
|
219
|
+
"${cxx_exception} -DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"
|
220
|
+
gtest test/gtest-death-test_ex_test.cc)
|
221
|
+
|
222
|
+
cxx_test_with_flags(gtest_no_rtti_unittest "${cxx_no_rtti}"
|
223
|
+
gtest_main_no_rtti test/gtest_unittest.cc)
|
224
|
+
|
225
|
+
cxx_shared_library(gtest_dll "${cxx_default}"
|
226
|
+
src/gtest-all.cc src/gtest_main.cc)
|
227
|
+
|
228
|
+
cxx_executable_with_flags(gtest_dll_test_ "${cxx_default}"
|
229
|
+
gtest_dll test/gtest_all_test.cc)
|
230
|
+
set_target_properties(gtest_dll_test_
|
231
|
+
PROPERTIES
|
232
|
+
COMPILE_DEFINITIONS "GTEST_LINKED_AS_SHARED_LIBRARY=1")
|
233
|
+
|
234
|
+
if (NOT MSVC OR MSVC_VERSION LESS 1600) # 1600 is Visual Studio 2010.
|
235
|
+
# Visual Studio 2010, 2012, and 2013 define symbols in std::tr1 that
|
236
|
+
# conflict with our own definitions. Therefore using our own tuple does not
|
237
|
+
# work on those compilers.
|
238
|
+
cxx_library(gtest_main_use_own_tuple "${cxx_use_own_tuple}"
|
239
|
+
src/gtest-all.cc src/gtest_main.cc)
|
240
|
+
|
241
|
+
cxx_test_with_flags(gtest-tuple_test "${cxx_use_own_tuple}"
|
242
|
+
gtest_main_use_own_tuple test/gtest-tuple_test.cc)
|
243
|
+
|
244
|
+
cxx_test_with_flags(gtest_use_own_tuple_test "${cxx_use_own_tuple}"
|
245
|
+
gtest_main_use_own_tuple
|
246
|
+
test/gtest-param-test_test.cc test/gtest-param-test2_test.cc)
|
247
|
+
endif()
|
248
|
+
|
249
|
+
############################################################
|
250
|
+
# Python tests.
|
251
|
+
|
252
|
+
cxx_executable(gtest_break_on_failure_unittest_ test gtest)
|
253
|
+
py_test(gtest_break_on_failure_unittest)
|
254
|
+
|
255
|
+
# Visual Studio .NET 2003 does not support STL with exceptions disabled.
|
256
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310) # 1310 is Visual Studio .NET 2003
|
257
|
+
cxx_executable_with_flags(
|
258
|
+
gtest_catch_exceptions_no_ex_test_
|
259
|
+
"${cxx_no_exception}"
|
260
|
+
gtest_main_no_exception
|
261
|
+
test/gtest_catch_exceptions_test_.cc)
|
262
|
+
endif()
|
263
|
+
|
264
|
+
cxx_executable_with_flags(
|
265
|
+
gtest_catch_exceptions_ex_test_
|
266
|
+
"${cxx_exception}"
|
267
|
+
gtest_main
|
268
|
+
test/gtest_catch_exceptions_test_.cc)
|
269
|
+
py_test(gtest_catch_exceptions_test)
|
270
|
+
|
271
|
+
cxx_executable(gtest_color_test_ test gtest)
|
272
|
+
py_test(gtest_color_test)
|
273
|
+
|
274
|
+
cxx_executable(gtest_env_var_test_ test gtest)
|
275
|
+
py_test(gtest_env_var_test)
|
276
|
+
|
277
|
+
cxx_executable(gtest_filter_unittest_ test gtest)
|
278
|
+
py_test(gtest_filter_unittest)
|
279
|
+
|
280
|
+
cxx_executable(gtest_help_test_ test gtest_main)
|
281
|
+
py_test(gtest_help_test)
|
282
|
+
|
283
|
+
cxx_executable(gtest_list_tests_unittest_ test gtest)
|
284
|
+
py_test(gtest_list_tests_unittest)
|
285
|
+
|
286
|
+
cxx_executable(gtest_output_test_ test gtest)
|
287
|
+
py_test(gtest_output_test)
|
288
|
+
|
289
|
+
cxx_executable(gtest_shuffle_test_ test gtest)
|
290
|
+
py_test(gtest_shuffle_test)
|
291
|
+
|
292
|
+
# MSVC 7.1 does not support STL with exceptions disabled.
|
293
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310)
|
294
|
+
cxx_executable(gtest_throw_on_failure_test_ test gtest_no_exception)
|
295
|
+
set_target_properties(gtest_throw_on_failure_test_
|
296
|
+
PROPERTIES
|
297
|
+
COMPILE_FLAGS "${cxx_no_exception}")
|
298
|
+
py_test(gtest_throw_on_failure_test)
|
299
|
+
endif()
|
300
|
+
|
301
|
+
cxx_executable(gtest_uninitialized_test_ test gtest)
|
302
|
+
py_test(gtest_uninitialized_test)
|
303
|
+
|
304
|
+
cxx_executable(gtest_xml_outfile1_test_ test gtest_main)
|
305
|
+
cxx_executable(gtest_xml_outfile2_test_ test gtest_main)
|
306
|
+
py_test(gtest_xml_outfiles_test)
|
307
|
+
py_test(gtest_json_outfiles_test)
|
308
|
+
|
309
|
+
cxx_executable(gtest_xml_output_unittest_ test gtest)
|
310
|
+
py_test(gtest_xml_output_unittest)
|
311
|
+
py_test(gtest_json_output_unittest)
|
312
|
+
endif()
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# This file contains a list of people who've made non-trivial
|
2
|
+
# contribution to the Google C++ Testing Framework project. People
|
3
|
+
# who commit code to the project are encouraged to add their names
|
4
|
+
# here. Please keep the list sorted by first names.
|
5
|
+
|
6
|
+
Ajay Joshi <jaj@google.com>
|
7
|
+
Balázs Dán <balazs.dan@gmail.com>
|
8
|
+
Bharat Mediratta <bharat@menalto.com>
|
9
|
+
Chandler Carruth <chandlerc@google.com>
|
10
|
+
Chris Prince <cprince@google.com>
|
11
|
+
Chris Taylor <taylorc@google.com>
|
12
|
+
Dan Egnor <egnor@google.com>
|
13
|
+
Eric Roman <eroman@chromium.org>
|
14
|
+
Hady Zalek <hady.zalek@gmail.com>
|
15
|
+
Jeffrey Yasskin <jyasskin@google.com>
|
16
|
+
Jói Sigurðsson <joi@google.com>
|
17
|
+
Keir Mierle <mierle@gmail.com>
|
18
|
+
Keith Ray <keith.ray@gmail.com>
|
19
|
+
Kenton Varda <kenton@google.com>
|
20
|
+
Manuel Klimek <klimek@google.com>
|
21
|
+
Markus Heule <markus.heule@gmail.com>
|
22
|
+
Mika Raento <mikie@iki.fi>
|
23
|
+
Miklós Fazekas <mfazekas@szemafor.com>
|
24
|
+
Pasi Valminen <pasi.valminen@gmail.com>
|
25
|
+
Patrick Hanna <phanna@google.com>
|
26
|
+
Patrick Riley <pfr@google.com>
|
27
|
+
Peter Kaminski <piotrk@google.com>
|
28
|
+
Preston Jackson <preston.a.jackson@gmail.com>
|
29
|
+
Rainer Klaffenboeck <rainer.klaffenboeck@dynatrace.com>
|
30
|
+
Russ Cox <rsc@google.com>
|
31
|
+
Russ Rufer <russ@pentad.com>
|
32
|
+
Sean Mcafee <eefacm@gmail.com>
|
33
|
+
Sigurður Ásgeirsson <siggi@google.com>
|
34
|
+
Tracy Bialik <tracy@pentad.com>
|
35
|
+
Vadim Berman <vadimb@google.com>
|
36
|
+
Vlad Losev <vladl@google.com>
|
37
|
+
Zhanyong Wan <wan@google.com>
|
@@ -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,339 @@
|
|
1
|
+
# Automake file
|
2
|
+
|
3
|
+
ACLOCAL_AMFLAGS = -I m4
|
4
|
+
|
5
|
+
# Nonstandard package files for distribution
|
6
|
+
EXTRA_DIST = \
|
7
|
+
CHANGES \
|
8
|
+
CONTRIBUTORS \
|
9
|
+
LICENSE \
|
10
|
+
include/gtest/gtest-param-test.h.pump \
|
11
|
+
include/gtest/internal/gtest-param-util-generated.h.pump \
|
12
|
+
include/gtest/internal/gtest-tuple.h.pump \
|
13
|
+
include/gtest/internal/gtest-type-util.h.pump \
|
14
|
+
make/Makefile \
|
15
|
+
scripts/fuse_gtest_files.py \
|
16
|
+
scripts/gen_gtest_pred_impl.py \
|
17
|
+
scripts/pump.py \
|
18
|
+
scripts/test/Makefile
|
19
|
+
|
20
|
+
# gtest source files that we don't compile directly. They are
|
21
|
+
# #included by gtest-all.cc.
|
22
|
+
GTEST_SRC = \
|
23
|
+
src/gtest-death-test.cc \
|
24
|
+
src/gtest-filepath.cc \
|
25
|
+
src/gtest-internal-inl.h \
|
26
|
+
src/gtest-port.cc \
|
27
|
+
src/gtest-printers.cc \
|
28
|
+
src/gtest-test-part.cc \
|
29
|
+
src/gtest-typed-test.cc \
|
30
|
+
src/gtest.cc
|
31
|
+
|
32
|
+
EXTRA_DIST += $(GTEST_SRC)
|
33
|
+
|
34
|
+
# Sample files that we don't compile.
|
35
|
+
EXTRA_DIST += \
|
36
|
+
samples/prime_tables.h \
|
37
|
+
samples/sample1_unittest.cc \
|
38
|
+
samples/sample2_unittest.cc \
|
39
|
+
samples/sample3_unittest.cc \
|
40
|
+
samples/sample4_unittest.cc \
|
41
|
+
samples/sample5_unittest.cc \
|
42
|
+
samples/sample6_unittest.cc \
|
43
|
+
samples/sample7_unittest.cc \
|
44
|
+
samples/sample8_unittest.cc \
|
45
|
+
samples/sample9_unittest.cc
|
46
|
+
|
47
|
+
# C++ test files that we don't compile directly.
|
48
|
+
EXTRA_DIST += \
|
49
|
+
test/gtest-death-test_ex_test.cc \
|
50
|
+
test/gtest-death-test_test.cc \
|
51
|
+
test/gtest-filepath_test.cc \
|
52
|
+
test/gtest-linked_ptr_test.cc \
|
53
|
+
test/gtest-listener_test.cc \
|
54
|
+
test/gtest-message_test.cc \
|
55
|
+
test/gtest-options_test.cc \
|
56
|
+
test/gtest-param-test2_test.cc \
|
57
|
+
test/gtest-param-test2_test.cc \
|
58
|
+
test/gtest-param-test_test.cc \
|
59
|
+
test/gtest-param-test_test.cc \
|
60
|
+
test/gtest-param-test_test.h \
|
61
|
+
test/gtest-port_test.cc \
|
62
|
+
test/gtest_premature_exit_test.cc \
|
63
|
+
test/gtest-printers_test.cc \
|
64
|
+
test/gtest-test-part_test.cc \
|
65
|
+
test/gtest-tuple_test.cc \
|
66
|
+
test/gtest-typed-test2_test.cc \
|
67
|
+
test/gtest-typed-test_test.cc \
|
68
|
+
test/gtest-typed-test_test.h \
|
69
|
+
test/gtest-unittest-api_test.cc \
|
70
|
+
test/gtest_break_on_failure_unittest_.cc \
|
71
|
+
test/gtest_catch_exceptions_test_.cc \
|
72
|
+
test/gtest_color_test_.cc \
|
73
|
+
test/gtest_env_var_test_.cc \
|
74
|
+
test/gtest_environment_test.cc \
|
75
|
+
test/gtest_filter_unittest_.cc \
|
76
|
+
test/gtest_help_test_.cc \
|
77
|
+
test/gtest_list_tests_unittest_.cc \
|
78
|
+
test/gtest_main_unittest.cc \
|
79
|
+
test/gtest_no_test_unittest.cc \
|
80
|
+
test/gtest_output_test_.cc \
|
81
|
+
test/gtest_pred_impl_unittest.cc \
|
82
|
+
test/gtest_prod_test.cc \
|
83
|
+
test/gtest_repeat_test.cc \
|
84
|
+
test/gtest_shuffle_test_.cc \
|
85
|
+
test/gtest_sole_header_test.cc \
|
86
|
+
test/gtest_stress_test.cc \
|
87
|
+
test/gtest_throw_on_failure_ex_test.cc \
|
88
|
+
test/gtest_throw_on_failure_test_.cc \
|
89
|
+
test/gtest_uninitialized_test_.cc \
|
90
|
+
test/gtest_unittest.cc \
|
91
|
+
test/gtest_unittest.cc \
|
92
|
+
test/gtest_xml_outfile1_test_.cc \
|
93
|
+
test/gtest_xml_outfile2_test_.cc \
|
94
|
+
test/gtest_xml_output_unittest_.cc \
|
95
|
+
test/production.cc \
|
96
|
+
test/production.h
|
97
|
+
|
98
|
+
# Python tests that we don't run.
|
99
|
+
EXTRA_DIST += \
|
100
|
+
test/gtest_break_on_failure_unittest.py \
|
101
|
+
test/gtest_catch_exceptions_test.py \
|
102
|
+
test/gtest_color_test.py \
|
103
|
+
test/gtest_env_var_test.py \
|
104
|
+
test/gtest_filter_unittest.py \
|
105
|
+
test/gtest_help_test.py \
|
106
|
+
test/gtest_list_tests_unittest.py \
|
107
|
+
test/gtest_output_test.py \
|
108
|
+
test/gtest_output_test_golden_lin.txt \
|
109
|
+
test/gtest_shuffle_test.py \
|
110
|
+
test/gtest_test_utils.py \
|
111
|
+
test/gtest_throw_on_failure_test.py \
|
112
|
+
test/gtest_uninitialized_test.py \
|
113
|
+
test/gtest_xml_outfiles_test.py \
|
114
|
+
test/gtest_xml_output_unittest.py \
|
115
|
+
test/gtest_xml_test_utils.py
|
116
|
+
|
117
|
+
# CMake script
|
118
|
+
EXTRA_DIST += \
|
119
|
+
CMakeLists.txt \
|
120
|
+
cmake/internal_utils.cmake
|
121
|
+
|
122
|
+
# MSVC project files
|
123
|
+
EXTRA_DIST += \
|
124
|
+
msvc/2010/gtest-md.sln \
|
125
|
+
msvc/2010/gtest-md.vcxproj \
|
126
|
+
msvc/2010/gtest.sln \
|
127
|
+
msvc/2010/gtest.vcxproj \
|
128
|
+
msvc/2010/gtest_main-md.vcxproj \
|
129
|
+
msvc/2010/gtest_main.vcxproj \
|
130
|
+
msvc/2010/gtest_prod_test-md.vcxproj \
|
131
|
+
msvc/2010/gtest_prod_test.vcxproj \
|
132
|
+
msvc/2010/gtest_unittest-md.vcxproj \
|
133
|
+
msvc/2010/gtest_unittest.vcxproj
|
134
|
+
|
135
|
+
# xcode project files
|
136
|
+
EXTRA_DIST += \
|
137
|
+
xcode/Config/DebugProject.xcconfig \
|
138
|
+
xcode/Config/FrameworkTarget.xcconfig \
|
139
|
+
xcode/Config/General.xcconfig \
|
140
|
+
xcode/Config/ReleaseProject.xcconfig \
|
141
|
+
xcode/Config/StaticLibraryTarget.xcconfig \
|
142
|
+
xcode/Config/TestTarget.xcconfig \
|
143
|
+
xcode/Resources/Info.plist \
|
144
|
+
xcode/Scripts/runtests.sh \
|
145
|
+
xcode/Scripts/versiongenerate.py \
|
146
|
+
xcode/gtest.xcodeproj/project.pbxproj
|
147
|
+
|
148
|
+
# xcode sample files
|
149
|
+
EXTRA_DIST += \
|
150
|
+
xcode/Samples/FrameworkSample/Info.plist \
|
151
|
+
xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj \
|
152
|
+
xcode/Samples/FrameworkSample/runtests.sh \
|
153
|
+
xcode/Samples/FrameworkSample/widget.cc \
|
154
|
+
xcode/Samples/FrameworkSample/widget.h \
|
155
|
+
xcode/Samples/FrameworkSample/widget_test.cc
|
156
|
+
|
157
|
+
# C++Builder project files
|
158
|
+
EXTRA_DIST += \
|
159
|
+
codegear/gtest.cbproj \
|
160
|
+
codegear/gtest.groupproj \
|
161
|
+
codegear/gtest_all.cc \
|
162
|
+
codegear/gtest_link.cc \
|
163
|
+
codegear/gtest_main.cbproj \
|
164
|
+
codegear/gtest_unittest.cbproj
|
165
|
+
|
166
|
+
# Distribute and install M4 macro
|
167
|
+
m4datadir = $(datadir)/aclocal
|
168
|
+
m4data_DATA = m4/gtest.m4
|
169
|
+
EXTRA_DIST += $(m4data_DATA)
|
170
|
+
|
171
|
+
# We define the global AM_CPPFLAGS as everything we compile includes from these
|
172
|
+
# directories.
|
173
|
+
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/include
|
174
|
+
|
175
|
+
# Modifies compiler and linker flags for pthreads compatibility.
|
176
|
+
if HAVE_PTHREADS
|
177
|
+
AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1
|
178
|
+
AM_LIBS = @PTHREAD_LIBS@
|
179
|
+
else
|
180
|
+
AM_CXXFLAGS = -DGTEST_HAS_PTHREAD=0
|
181
|
+
endif
|
182
|
+
|
183
|
+
# Build rules for libraries.
|
184
|
+
lib_LTLIBRARIES = lib/libgtest.la lib/libgtest_main.la
|
185
|
+
|
186
|
+
lib_libgtest_la_SOURCES = src/gtest-all.cc
|
187
|
+
|
188
|
+
pkginclude_HEADERS = \
|
189
|
+
include/gtest/gtest-death-test.h \
|
190
|
+
include/gtest/gtest-message.h \
|
191
|
+
include/gtest/gtest-param-test.h \
|
192
|
+
include/gtest/gtest-printers.h \
|
193
|
+
include/gtest/gtest-spi.h \
|
194
|
+
include/gtest/gtest-test-part.h \
|
195
|
+
include/gtest/gtest-typed-test.h \
|
196
|
+
include/gtest/gtest.h \
|
197
|
+
include/gtest/gtest_pred_impl.h \
|
198
|
+
include/gtest/gtest_prod.h
|
199
|
+
|
200
|
+
pkginclude_internaldir = $(pkgincludedir)/internal
|
201
|
+
pkginclude_internal_HEADERS = \
|
202
|
+
include/gtest/internal/gtest-death-test-internal.h \
|
203
|
+
include/gtest/internal/gtest-filepath.h \
|
204
|
+
include/gtest/internal/gtest-internal.h \
|
205
|
+
include/gtest/internal/gtest-linked_ptr.h \
|
206
|
+
include/gtest/internal/gtest-param-util-generated.h \
|
207
|
+
include/gtest/internal/gtest-param-util.h \
|
208
|
+
include/gtest/internal/gtest-port.h \
|
209
|
+
include/gtest/internal/gtest-port-arch.h \
|
210
|
+
include/gtest/internal/gtest-string.h \
|
211
|
+
include/gtest/internal/gtest-tuple.h \
|
212
|
+
include/gtest/internal/gtest-type-util.h \
|
213
|
+
include/gtest/internal/custom/gtest.h \
|
214
|
+
include/gtest/internal/custom/gtest-port.h \
|
215
|
+
include/gtest/internal/custom/gtest-printers.h
|
216
|
+
|
217
|
+
lib_libgtest_main_la_SOURCES = src/gtest_main.cc
|
218
|
+
lib_libgtest_main_la_LIBADD = lib/libgtest.la
|
219
|
+
|
220
|
+
# Build rules for samples and tests. Automake's naming for some of
|
221
|
+
# these variables isn't terribly obvious, so this is a brief
|
222
|
+
# reference:
|
223
|
+
#
|
224
|
+
# TESTS -- Programs run automatically by "make check"
|
225
|
+
# check_PROGRAMS -- Programs built by "make check" but not necessarily run
|
226
|
+
|
227
|
+
TESTS=
|
228
|
+
TESTS_ENVIRONMENT = GTEST_SOURCE_DIR="$(srcdir)/test" \
|
229
|
+
GTEST_BUILD_DIR="$(top_builddir)/test"
|
230
|
+
check_PROGRAMS=
|
231
|
+
|
232
|
+
# A simple sample on using gtest.
|
233
|
+
TESTS += samples/sample1_unittest \
|
234
|
+
samples/sample2_unittest \
|
235
|
+
samples/sample3_unittest \
|
236
|
+
samples/sample4_unittest \
|
237
|
+
samples/sample5_unittest \
|
238
|
+
samples/sample6_unittest \
|
239
|
+
samples/sample7_unittest \
|
240
|
+
samples/sample8_unittest \
|
241
|
+
samples/sample9_unittest \
|
242
|
+
samples/sample10_unittest
|
243
|
+
check_PROGRAMS += samples/sample1_unittest \
|
244
|
+
samples/sample2_unittest \
|
245
|
+
samples/sample3_unittest \
|
246
|
+
samples/sample4_unittest \
|
247
|
+
samples/sample5_unittest \
|
248
|
+
samples/sample6_unittest \
|
249
|
+
samples/sample7_unittest \
|
250
|
+
samples/sample8_unittest \
|
251
|
+
samples/sample9_unittest \
|
252
|
+
samples/sample10_unittest
|
253
|
+
|
254
|
+
samples_sample1_unittest_SOURCES = samples/sample1_unittest.cc samples/sample1.cc
|
255
|
+
samples_sample1_unittest_LDADD = lib/libgtest_main.la \
|
256
|
+
lib/libgtest.la
|
257
|
+
samples_sample2_unittest_SOURCES = samples/sample2_unittest.cc samples/sample2.cc
|
258
|
+
samples_sample2_unittest_LDADD = lib/libgtest_main.la \
|
259
|
+
lib/libgtest.la
|
260
|
+
samples_sample3_unittest_SOURCES = samples/sample3_unittest.cc
|
261
|
+
samples_sample3_unittest_LDADD = lib/libgtest_main.la \
|
262
|
+
lib/libgtest.la
|
263
|
+
samples_sample4_unittest_SOURCES = samples/sample4_unittest.cc samples/sample4.cc
|
264
|
+
samples_sample4_unittest_LDADD = lib/libgtest_main.la \
|
265
|
+
lib/libgtest.la
|
266
|
+
samples_sample5_unittest_SOURCES = samples/sample5_unittest.cc samples/sample1.cc
|
267
|
+
samples_sample5_unittest_LDADD = lib/libgtest_main.la \
|
268
|
+
lib/libgtest.la
|
269
|
+
samples_sample6_unittest_SOURCES = samples/sample6_unittest.cc
|
270
|
+
samples_sample6_unittest_LDADD = lib/libgtest_main.la \
|
271
|
+
lib/libgtest.la
|
272
|
+
samples_sample7_unittest_SOURCES = samples/sample7_unittest.cc
|
273
|
+
samples_sample7_unittest_LDADD = lib/libgtest_main.la \
|
274
|
+
lib/libgtest.la
|
275
|
+
samples_sample8_unittest_SOURCES = samples/sample8_unittest.cc
|
276
|
+
samples_sample8_unittest_LDADD = lib/libgtest_main.la \
|
277
|
+
lib/libgtest.la
|
278
|
+
|
279
|
+
# Also verify that libgtest works by itself.
|
280
|
+
samples_sample9_unittest_SOURCES = samples/sample9_unittest.cc
|
281
|
+
samples_sample9_unittest_LDADD = lib/libgtest.la
|
282
|
+
samples_sample10_unittest_SOURCES = samples/sample10_unittest.cc
|
283
|
+
samples_sample10_unittest_LDADD = lib/libgtest.la
|
284
|
+
|
285
|
+
# This tests most constructs of gtest and verifies that libgtest_main
|
286
|
+
# and libgtest work.
|
287
|
+
TESTS += test/gtest_all_test
|
288
|
+
check_PROGRAMS += test/gtest_all_test
|
289
|
+
test_gtest_all_test_SOURCES = test/gtest_all_test.cc
|
290
|
+
test_gtest_all_test_LDADD = lib/libgtest_main.la \
|
291
|
+
lib/libgtest.la
|
292
|
+
|
293
|
+
# Tests that fused gtest files compile and work.
|
294
|
+
FUSED_GTEST_SRC = \
|
295
|
+
fused-src/gtest/gtest-all.cc \
|
296
|
+
fused-src/gtest/gtest.h \
|
297
|
+
fused-src/gtest/gtest_main.cc
|
298
|
+
|
299
|
+
if HAVE_PYTHON
|
300
|
+
TESTS += test/fused_gtest_test
|
301
|
+
check_PROGRAMS += test/fused_gtest_test
|
302
|
+
test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \
|
303
|
+
samples/sample1.cc samples/sample1_unittest.cc
|
304
|
+
test_fused_gtest_test_CPPFLAGS = -I"$(srcdir)/fused-src"
|
305
|
+
|
306
|
+
# Build rules for putting fused Google Test files into the distribution
|
307
|
+
# package. The user can also create those files by manually running
|
308
|
+
# scripts/fuse_gtest_files.py.
|
309
|
+
$(test_fused_gtest_test_SOURCES): fused-gtest
|
310
|
+
|
311
|
+
fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
|
312
|
+
$(GTEST_SRC) src/gtest-all.cc src/gtest_main.cc \
|
313
|
+
scripts/fuse_gtest_files.py
|
314
|
+
mkdir -p "$(srcdir)/fused-src"
|
315
|
+
chmod -R u+w "$(srcdir)/fused-src"
|
316
|
+
rm -f "$(srcdir)/fused-src/gtest/gtest-all.cc"
|
317
|
+
rm -f "$(srcdir)/fused-src/gtest/gtest.h"
|
318
|
+
"$(srcdir)/scripts/fuse_gtest_files.py" "$(srcdir)/fused-src"
|
319
|
+
cp -f "$(srcdir)/src/gtest_main.cc" "$(srcdir)/fused-src/gtest/"
|
320
|
+
|
321
|
+
maintainer-clean-local:
|
322
|
+
rm -rf "$(srcdir)/fused-src"
|
323
|
+
endif
|
324
|
+
|
325
|
+
# Death tests may produce core dumps in the build directory. In case
|
326
|
+
# this happens, clean them to keep distcleancheck happy.
|
327
|
+
CLEANFILES = core
|
328
|
+
|
329
|
+
# Disables 'make install' as installing a compiled version of Google
|
330
|
+
# Test can lead to undefined behavior due to violation of the
|
331
|
+
# One-Definition Rule.
|
332
|
+
|
333
|
+
install-exec-local:
|
334
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
|
335
|
+
false
|
336
|
+
|
337
|
+
install-data-local:
|
338
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
|
339
|
+
false
|