redsnow 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +67 -0
- data/Rakefile +1 -1
- data/doc/RedSnow.html +321 -0
- data/doc/RedSnow/Action.html +702 -0
- data/doc/RedSnow/Binding.html +135 -0
- data/doc/RedSnow/Blueprint.html +657 -0
- data/doc/RedSnow/BlueprintNode.html +139 -0
- data/doc/RedSnow/ErrorCodes.html +165 -0
- data/doc/RedSnow/Headers.html +456 -0
- data/doc/RedSnow/KeyValueCollection.html +343 -0
- data/doc/RedSnow/Location.html +391 -0
- data/doc/RedSnow/Metadata.html +343 -0
- data/doc/RedSnow/NamedBlueprintNode.html +444 -0
- data/doc/RedSnow/Object.html +295 -0
- data/doc/RedSnow/Parameter.html +881 -0
- data/doc/RedSnow/Parameters.html +349 -0
- data/doc/RedSnow/ParseResult.html +570 -0
- data/doc/RedSnow/Payload.html +775 -0
- data/doc/RedSnow/Resource.html +790 -0
- data/doc/RedSnow/ResourceGroup.html +521 -0
- data/doc/RedSnow/TransactionExample.html +700 -0
- data/doc/RedSnow/WarningCodes.html +210 -0
- data/doc/_index.html +342 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +136 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +136 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +347 -0
- data/doc/top-level-namespace.html +112 -0
- data/ext/snowcrash/Gemfile +8 -0
- data/ext/snowcrash/Gemfile.lock +40 -0
- data/ext/snowcrash/LICENSE +22 -0
- data/ext/snowcrash/README.md +118 -0
- data/ext/snowcrash/bin/snowcrash +0 -0
- data/ext/snowcrash/bin/test-libsnowcrash +0 -0
- data/ext/snowcrash/build/Makefile +375 -0
- data/ext/snowcrash/build/gyp-mac-tool +511 -0
- data/ext/snowcrash/build/libmarkdownparser.target.mk +137 -0
- data/ext/snowcrash/build/libsnowcrash.target.mk +165 -0
- data/ext/snowcrash/build/libsundown.target.mk +143 -0
- data/ext/snowcrash/build/out/Release/libmarkdownparser.a +0 -0
- data/ext/snowcrash/build/out/Release/libsnowcrash.dylib +0 -0
- data/ext/snowcrash/build/out/Release/libsundown.a +0 -0
- data/ext/snowcrash/build/out/Release/linker.lock +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/ByteBuffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownNode.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprint.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprintSourcemap.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CSourceAnnotation.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/HTTP.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Parser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/ParserCore.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Section.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Serialize.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeJSON.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeYAML.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Signature.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/UriTemplateParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/csnowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html_smartypants.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/autolink.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/buffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/markdown.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/src_map.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/snowcrash/src/snowcrash/snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_href_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_html_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html_smartypants.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/autolink.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/buffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/markdown.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/src_map.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/stack.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ActionParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-AssetParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Blueprint.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-BlueprintParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeaderParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeadersParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Indentation.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ListUtility.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownBlock.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterDefinitonParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParametersParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Parser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-PayloadParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-RegexMatch.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResouceGroupParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceGroupParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SectionParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolIdentifier.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolTable.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-UriTemplateParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ValuesParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Warnings.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-csnowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/snowcrash +0 -0
- data/ext/snowcrash/build/out/Release/test-libsnowcrash +0 -0
- data/ext/snowcrash/build/perf-libsnowcrash.target.mk +151 -0
- data/ext/snowcrash/build/snowcrash.Makefile +6 -0
- data/ext/snowcrash/build/snowcrash.target.mk +149 -0
- data/ext/snowcrash/build/sundown.target.mk +143 -0
- data/ext/snowcrash/build/test-libsnowcrash.target.mk +170 -0
- data/ext/snowcrash/ext/cmdline/LICENSE +30 -0
- data/ext/snowcrash/ext/cmdline/README.rst +191 -0
- data/ext/snowcrash/ext/cmdline/cmdline.h +817 -0
- data/ext/snowcrash/ext/cmdline/test.cpp +50 -0
- data/ext/snowcrash/ext/cmdline/test2.cpp +61 -0
- data/ext/snowcrash/ext/markdown-parser/LICENSE +22 -0
- data/ext/snowcrash/ext/markdown-parser/README.md +11 -0
- data/ext/snowcrash/ext/markdown-parser/ext/sundown/README.markdown +141 -0
- data/ext/snowcrash/ext/markdown-parser/markdownparser.xcodeproj/project.pbxproj +448 -0
- data/ext/snowcrash/ext/markdown-parser/msvc/test-markdown/test-markdown.vcproj +195 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/LICENSE_1_0.txt +23 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/README.md +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/catch-logo-small.png +0 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/assertions.md +64 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/build-systems.md +36 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/command-line.md +155 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/contributing.md +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/logging.md +52 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/own-main.md +68 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/reference-index.md +14 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-cases-and-sections.md +60 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-fixtures.md +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/tutorial.md +228 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/whats-changed.md +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/why-catch.md +42 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch.hpp +202 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_runner.hpp +224 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_with_main.hpp +15 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/clara.h +868 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/tbc_text_format.h +153 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_approx.hpp +91 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.h +71 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.hpp +91 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_capture.hpp +179 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_clara.h +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_commandline.hpp +145 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.h +119 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.hpp +86 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_compiler_capabilities.h +123 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_config.hpp +178 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour.hpp +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour_impl.hpp +166 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context.h +53 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context_impl.hpp +112 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.h +49 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.hpp +100 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_default_main.hpp +38 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_evaluate.hpp +178 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_exception_translator_registry.hpp +75 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_lhs.hpp +105 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.h +63 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators.hpp +190 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators_impl.hpp +86 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_impl.hpp +92 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_capture.h +46 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_config.h +54 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_exception.h +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_generators.h +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_registry_hub.h +44 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_reporter.h +265 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_runner.h +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_testcase.h +37 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.h +59 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.hpp +82 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_list.hpp +150 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_matchers.hpp +233 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.h +65 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.hpp +43 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.h +35 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc.hpp +203 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc_arc.hpp +51 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_option.hpp +75 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_platform.h +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_ptr.hpp +94 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_registry_hub.hpp +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registrars.hpp +74 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registry.hpp +45 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_result_type.h +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_runner_impl.hpp +319 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.h +55 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.hpp +40 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.h +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.hpp +113 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_sfinae.hpp +44 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.h +33 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.hpp +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_streambuf.h +23 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.h +109 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.hpp +137 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.h +84 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.hpp +166 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_registry_impl.hpp +146 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_tracker.hpp +148 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_registry.hpp +120 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.h +65 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.hpp +133 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_text.h +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.h +35 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.hpp +63 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tostring.hpp +276 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_totals.hpp +67 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.h +37 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.hpp +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_xmlwriter.hpp +218 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_bases.hpp +203 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_console.hpp +411 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_junit.hpp +226 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_xml.hpp +151 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/CMake/CMakeLists.txt +38 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/BDDTests.cpp +68 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.std.approved.txt +778 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.sw.approved.txt +6995 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt +322 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt +562 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt +7251 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ClassTests.cpp +57 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ConditionTests.cpp +334 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ExceptionTests.cpp +153 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MessageTests.cpp +121 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MiscTests.cpp +341 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SectionTrackerTests.cpp +164 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TestMain.cpp +541 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TrickyTests.cpp +396 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/makefile +21 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +394 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +148 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +685 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTest.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +258 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTestSingle.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj +265 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/xcshareddata/OCTest.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.mm +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/Main.mm +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.h +28 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.m +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/OCTest.mm +27 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.h +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.m +18 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/readme +6 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approvalTests.py +99 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approve.py +29 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/generateSingleHeader.py +152 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/scriptCommon.py +4 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/single_include/catch.hpp +8544 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-ByteBuffer.cc +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-MarkdownParser.cc +628 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-libmarkdownparser.cc +10 -0
- data/ext/snowcrash/features/fixtures/ast.json +154 -0
- data/ext/snowcrash/features/fixtures/ast.yaml +87 -0
- data/ext/snowcrash/features/fixtures/blueprint.apib +84 -0
- data/ext/snowcrash/features/fixtures/invalid_blueprint.apib +4 -0
- data/ext/snowcrash/features/parse.feature +23 -0
- data/ext/snowcrash/features/step_definitions/file_content_step.rb +8 -0
- data/ext/snowcrash/features/support/env.rb +7 -0
- data/ext/snowcrash/features/support/setup.rb +1 -0
- data/ext/snowcrash/features/validate.feature +37 -0
- data/ext/snowcrash/features/version.feature +10 -0
- data/ext/snowcrash/snowcrash.xcodeproj/project.pbxproj +798 -0
- data/ext/snowcrash/test/README.md +7 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-1.apib +174 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-2.apib +2455 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-3.apib +10363 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-4.apib +8390 -0
- data/ext/snowcrash/test/performance/perf-snowcrash.cc +162 -0
- data/ext/snowcrash/test/snowcrashtest.h +88 -0
- data/ext/snowcrash/test/test-ActionParser.cc +491 -0
- data/ext/snowcrash/test/test-AssetParser.cc +224 -0
- data/ext/snowcrash/test/test-Blueprint.cc +32 -0
- data/ext/snowcrash/test/test-BlueprintParser.cc +462 -0
- data/ext/snowcrash/test/test-HeadersParser.cc +256 -0
- data/ext/snowcrash/test/test-Indentation.cc +336 -0
- data/ext/snowcrash/test/test-ParameterParser.cc +499 -0
- data/ext/snowcrash/test/test-ParametersParser.cc +355 -0
- data/ext/snowcrash/test/test-PayloadParser.cc +657 -0
- data/ext/snowcrash/test/test-RegexMatch.cc +35 -0
- data/ext/snowcrash/test/test-ResourceGroupParser.cc +457 -0
- data/ext/snowcrash/test/test-ResourceParser.cc +947 -0
- data/ext/snowcrash/test/test-SectionParser.cc +81 -0
- data/ext/snowcrash/test/test-StringUtility.cc +65 -0
- data/ext/snowcrash/test/test-SymbolIdentifier.cc +53 -0
- data/ext/snowcrash/test/test-SymbolTable.cc +31 -0
- data/ext/snowcrash/test/test-UriTemplateParser.cc +333 -0
- data/ext/snowcrash/test/test-ValuesParser.cc +106 -0
- data/ext/snowcrash/test/test-Warnings.cc +94 -0
- data/ext/snowcrash/test/test-csnowcrash.cc +404 -0
- data/ext/snowcrash/test/test-snowcrash.cc +664 -0
- data/ext/snowcrash/test/vendor/Catch/LICENSE_1_0.txt +23 -0
- data/ext/snowcrash/test/vendor/Catch/README.md +24 -0
- data/ext/snowcrash/test/vendor/Catch/catch-logo-small.png +0 -0
- data/ext/snowcrash/test/vendor/Catch/docs/assertions.md +59 -0
- data/ext/snowcrash/test/vendor/Catch/docs/command-line.md +137 -0
- data/ext/snowcrash/test/vendor/Catch/docs/logging.md +52 -0
- data/ext/snowcrash/test/vendor/Catch/docs/own-main.md +68 -0
- data/ext/snowcrash/test/vendor/Catch/docs/reference-index.md +13 -0
- data/ext/snowcrash/test/vendor/Catch/docs/test-fixtures.md +32 -0
- data/ext/snowcrash/test/vendor/Catch/docs/tutorial.md +100 -0
- data/ext/snowcrash/test/vendor/Catch/docs/whats-changed.md +24 -0
- data/ext/snowcrash/test/vendor/Catch/docs/why-catch.md +42 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch.hpp +182 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch_runner.hpp +236 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch_with_main.hpp +15 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_approx.hpp +91 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.h +65 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.hpp +91 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_capture.hpp +175 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_commandline.hpp +129 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_common.h +148 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_compiler_capabilities.h +85 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_config.hpp +182 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour.hpp +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour_impl.hpp +153 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context.h +53 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context_impl.hpp +112 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_debugger.hpp +116 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_default_main.hpp +38 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_evaluate.hpp +178 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_exception_translator_registry.hpp +74 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_lhs.hpp +97 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.h +63 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators.hpp +190 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators_impl.hpp +86 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_impl.hpp +97 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_capture.h +46 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_config.h +32 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_exception.h +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_generators.h +32 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_registry_hub.h +45 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_reporter.h +339 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_runner.h +23 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_testcase.h +34 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.h +39 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.hpp +84 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_list.hpp +198 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_matchers.hpp +233 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.h +65 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.hpp +43 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.h +35 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc.hpp +202 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc_arc.hpp +51 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_option.hpp +67 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_ptr.hpp +94 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_registry_hub.hpp +83 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registrars.hpp +75 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registry.hpp +45 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_result_type.h +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_runner_impl.hpp +326 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_running_test.hpp +117 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section.hpp +56 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section_info.hpp +113 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_sfinae.hpp +44 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_stream.hpp +90 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_streambuf.h +21 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tags.hpp +193 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.h +82 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.hpp +127 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_registry_impl.hpp +151 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_registry.hpp +120 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_spec.h +166 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.h +61 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.hpp +92 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tostring.hpp +224 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_totals.hpp +67 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.h +37 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.hpp +19 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_xmlwriter.hpp +211 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/clara.h +553 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_basic.hpp +353 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_console.hpp +397 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_junit.hpp +252 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_xml.hpp +145 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/BDDTests.cpp +68 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/Baselines/approvedResults.txt +14686 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ClassTests.cpp +57 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/CmdLineTests.cpp +191 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ConditionTests.cpp +348 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ExceptionTests.cpp +143 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MessageTests.cpp +102 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MiscTests.cpp +343 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TestMain.cpp +561 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TrickyTests.cpp +382 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.cpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.hpp +177 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/ReadMe.txt +33 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +398 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/UpgradeLog.XML +12 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.css +207 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.xslt +232 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Minus.gif +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Plus.gif +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/ReadMe.txt +33 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +149 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.pbxproj +440 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist +81 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/Test.xcscheme +154 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.xcodeproj/project.pbxproj +246 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.mm +45 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/Main.mm +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.xcodeproj/project.pbxproj +259 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest_Prefix.pch +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.m +18 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +667 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/xcuserdata/Phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +264 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.pbxproj +249 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.mm +82 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/Main.mm +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.h +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.m +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/OCTest.mm +27 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.m +18 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/readme +6 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/approvalTests.py +63 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/approve.py +14 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/generateSingleHeader.py +117 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/scriptCommon.py +4 -0
- data/ext/snowcrash/test/vendor/Catch/single_include/catch.hpp +8046 -0
- data/ext/snowcrash/tools/README.md +27 -0
- data/ext/snowcrash/tools/gyp/LICENSE +27 -0
- data/ext/snowcrash/tools/gyp/gyptest.py +274 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/MSVSSettings_test.py +1483 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/__init__.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/common_test.py +72 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/easy_xml_test.py +103 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/make.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/msvs_test.py +37 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/ninja_test.py +44 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode_test.py +23 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/input.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/input_test.py +90 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- data/ext/snowcrash/tools/gyp/tools/README +15 -0
- data/ext/snowcrash/tools/gyp/tools/Xcode/README +5 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/README +12 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/gyp-tests.el +63 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/run-unit-tests.sh +7 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp +1105 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
- data/lib/redsnow.rb +2 -2
- data/lib/redsnow/blueprint.rb +2 -1
- data/lib/redsnow/version.rb +1 -1
- data/pkg/redsnow-0.1.3.gem +0 -0
- data/pkg/redsnow-0.1.4.gem +0 -0
- data/pkg/redsnow-0.1.5.gem +0 -0
- data/pkg/redsnow-0.1.6.gem +0 -0
- data/pkg/redsnow-0.2.0.gem +0 -0
- data/pkg/redsnow-0.2.1.gem +0 -0
- data/pkg/redsnow-0.3.1.gem +0 -0
- data/redsnow.gemspec +2 -1
- data/test/redsnow_binding_test.rb +1 -1
- data/test/redsnow_options_test.rb +4 -4
- metadata +540 -6
- data/.gitignore +0 -34
- data/.gitmodules +0 -3
- data/.travis.yml +0 -21
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators_impl.hpp
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 28/01/2011.
|
3
|
+
* Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_GENERATORS_IMPL_HPP_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_GENERATORS_IMPL_HPP_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_interfaces_generators.h"
|
12
|
+
|
13
|
+
#include "catch_common.h"
|
14
|
+
|
15
|
+
#include <vector>
|
16
|
+
#include <string>
|
17
|
+
#include <map>
|
18
|
+
|
19
|
+
namespace Catch {
|
20
|
+
|
21
|
+
struct GeneratorInfo : IGeneratorInfo {
|
22
|
+
|
23
|
+
GeneratorInfo( std::size_t size )
|
24
|
+
: m_size( size ),
|
25
|
+
m_currentIndex( 0 )
|
26
|
+
{}
|
27
|
+
|
28
|
+
bool moveNext() {
|
29
|
+
if( ++m_currentIndex == m_size ) {
|
30
|
+
m_currentIndex = 0;
|
31
|
+
return false;
|
32
|
+
}
|
33
|
+
return true;
|
34
|
+
}
|
35
|
+
|
36
|
+
std::size_t getCurrentIndex() const {
|
37
|
+
return m_currentIndex;
|
38
|
+
}
|
39
|
+
|
40
|
+
std::size_t m_size;
|
41
|
+
std::size_t m_currentIndex;
|
42
|
+
};
|
43
|
+
|
44
|
+
///////////////////////////////////////////////////////////////////////////
|
45
|
+
|
46
|
+
class GeneratorsForTest : public IGeneratorsForTest {
|
47
|
+
|
48
|
+
public:
|
49
|
+
~GeneratorsForTest() {
|
50
|
+
deleteAll( m_generatorsInOrder );
|
51
|
+
}
|
52
|
+
|
53
|
+
IGeneratorInfo& getGeneratorInfo( std::string const& fileInfo, std::size_t size ) {
|
54
|
+
std::map<std::string, IGeneratorInfo*>::const_iterator it = m_generatorsByName.find( fileInfo );
|
55
|
+
if( it == m_generatorsByName.end() ) {
|
56
|
+
IGeneratorInfo* info = new GeneratorInfo( size );
|
57
|
+
m_generatorsByName.insert( std::make_pair( fileInfo, info ) );
|
58
|
+
m_generatorsInOrder.push_back( info );
|
59
|
+
return *info;
|
60
|
+
}
|
61
|
+
return *it->second;
|
62
|
+
}
|
63
|
+
|
64
|
+
bool moveNext() {
|
65
|
+
std::vector<IGeneratorInfo*>::const_iterator it = m_generatorsInOrder.begin();
|
66
|
+
std::vector<IGeneratorInfo*>::const_iterator itEnd = m_generatorsInOrder.end();
|
67
|
+
for(; it != itEnd; ++it ) {
|
68
|
+
if( (*it)->moveNext() )
|
69
|
+
return true;
|
70
|
+
}
|
71
|
+
return false;
|
72
|
+
}
|
73
|
+
|
74
|
+
private:
|
75
|
+
std::map<std::string, IGeneratorInfo*> m_generatorsByName;
|
76
|
+
std::vector<IGeneratorInfo*> m_generatorsInOrder;
|
77
|
+
};
|
78
|
+
|
79
|
+
IGeneratorsForTest* createGeneratorsForTest()
|
80
|
+
{
|
81
|
+
return new GeneratorsForTest();
|
82
|
+
}
|
83
|
+
|
84
|
+
} // end namespace Catch
|
85
|
+
|
86
|
+
#endif // TWOBLUECUBES_CATCH_GENERATORS_IMPL_HPP_INCLUDED
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 5/8/2012.
|
3
|
+
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
10
|
+
|
11
|
+
// Collect all the implementation files together here
|
12
|
+
// These are the equivalent of what would usually be cpp files
|
13
|
+
|
14
|
+
#ifdef __clang__
|
15
|
+
#pragma clang diagnostic push
|
16
|
+
#pragma clang diagnostic ignored "-Wweak-vtables"
|
17
|
+
#endif
|
18
|
+
|
19
|
+
#include "catch_runner.hpp"
|
20
|
+
#include "catch_registry_hub.hpp"
|
21
|
+
#include "catch_notimplemented_exception.hpp"
|
22
|
+
#include "catch_context_impl.hpp"
|
23
|
+
#include "catch_console_colour_impl.hpp"
|
24
|
+
#include "catch_generators_impl.hpp"
|
25
|
+
#include "catch_assertionresult.hpp"
|
26
|
+
#include "catch_expressionresult_builder.hpp"
|
27
|
+
#include "catch_test_case_info.hpp"
|
28
|
+
#include "catch_tags.hpp"
|
29
|
+
#include "catch_test_spec.hpp"
|
30
|
+
#include "catch_version.hpp"
|
31
|
+
#include "catch_message.hpp"
|
32
|
+
#include "catch_legacy_reporter_adapter.hpp"
|
33
|
+
#include "catch_timer.hpp"
|
34
|
+
#include "catch_common.hpp"
|
35
|
+
#include "catch_section.hpp"
|
36
|
+
#include "catch_debugger.hpp"
|
37
|
+
|
38
|
+
#include "../reporters/catch_reporter_xml.hpp"
|
39
|
+
#include "../reporters/catch_reporter_junit.hpp"
|
40
|
+
#include "../reporters/catch_reporter_console.hpp"
|
41
|
+
|
42
|
+
namespace Catch {
|
43
|
+
NonCopyable::~NonCopyable() {}
|
44
|
+
IShared::~IShared() {}
|
45
|
+
StreamBufBase::~StreamBufBase() CATCH_NOEXCEPT {}
|
46
|
+
IContext::~IContext() {}
|
47
|
+
IResultCapture::~IResultCapture() {}
|
48
|
+
ITestCase::~ITestCase() {}
|
49
|
+
ITestCaseRegistry::~ITestCaseRegistry() {}
|
50
|
+
IRegistryHub::~IRegistryHub() {}
|
51
|
+
IMutableRegistryHub::~IMutableRegistryHub() {}
|
52
|
+
IExceptionTranslator::~IExceptionTranslator() {}
|
53
|
+
IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
|
54
|
+
IReporter::~IReporter() {}
|
55
|
+
IReporterFactory::~IReporterFactory() {}
|
56
|
+
IReporterRegistry::~IReporterRegistry() {}
|
57
|
+
IStreamingReporter::~IStreamingReporter() {}
|
58
|
+
AssertionStats::~AssertionStats() {}
|
59
|
+
SectionStats::~SectionStats() {}
|
60
|
+
TestCaseStats::~TestCaseStats() {}
|
61
|
+
TestGroupStats::~TestGroupStats() {}
|
62
|
+
TestRunStats::~TestRunStats() {}
|
63
|
+
CumulativeReporterBase::SectionNode::~SectionNode() {}
|
64
|
+
CumulativeReporterBase::~CumulativeReporterBase() {}
|
65
|
+
|
66
|
+
StreamingReporterBase::~StreamingReporterBase() {}
|
67
|
+
ConsoleReporter::~ConsoleReporter() {}
|
68
|
+
IRunner::~IRunner() {}
|
69
|
+
IMutableContext::~IMutableContext() {}
|
70
|
+
IConfig::~IConfig() {}
|
71
|
+
XmlReporter::~XmlReporter() {}
|
72
|
+
JunitReporter::~JunitReporter() {}
|
73
|
+
TestRegistry::~TestRegistry() {}
|
74
|
+
FreeFunctionTestCase::~FreeFunctionTestCase() {}
|
75
|
+
IGeneratorInfo::~IGeneratorInfo() {}
|
76
|
+
IGeneratorsForTest::~IGeneratorsForTest() {}
|
77
|
+
|
78
|
+
Matchers::Impl::StdString::Equals::~Equals() {}
|
79
|
+
Matchers::Impl::StdString::Contains::~Contains() {}
|
80
|
+
Matchers::Impl::StdString::StartsWith::~StartsWith() {}
|
81
|
+
Matchers::Impl::StdString::EndsWith::~EndsWith() {}
|
82
|
+
|
83
|
+
void Config::dummy() {}
|
84
|
+
|
85
|
+
INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( "xml", XmlReporter )
|
86
|
+
}
|
87
|
+
|
88
|
+
#ifdef __clang__
|
89
|
+
#pragma clang diagnostic pop
|
90
|
+
#endif
|
91
|
+
|
92
|
+
#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_capture.h
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 07/01/2011.
|
3
|
+
* Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CAPTURE_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_CAPTURE_H_INCLUDED
|
10
|
+
|
11
|
+
#include <string>
|
12
|
+
#include "catch_result_type.h"
|
13
|
+
#include "catch_common.h"
|
14
|
+
|
15
|
+
namespace Catch {
|
16
|
+
|
17
|
+
class TestCase;
|
18
|
+
class ExpressionResultBuilder;
|
19
|
+
class AssertionResult;
|
20
|
+
struct AssertionInfo;
|
21
|
+
struct SectionInfo;
|
22
|
+
struct MessageInfo;
|
23
|
+
class ScopedMessageBuilder;
|
24
|
+
struct Counts;
|
25
|
+
|
26
|
+
struct IResultCapture {
|
27
|
+
|
28
|
+
virtual ~IResultCapture();
|
29
|
+
|
30
|
+
virtual void assertionEnded( AssertionResult const& result ) = 0;
|
31
|
+
virtual bool sectionStarted( SectionInfo const& sectionInfo,
|
32
|
+
Counts& assertions ) = 0;
|
33
|
+
virtual void sectionEnded( SectionInfo const& name, Counts const& assertions, double _durationInSeconds ) = 0;
|
34
|
+
virtual void pushScopedMessage( MessageInfo const& message ) = 0;
|
35
|
+
virtual void popScopedMessage( MessageInfo const& message ) = 0;
|
36
|
+
|
37
|
+
virtual bool shouldDebugBreak() const = 0;
|
38
|
+
|
39
|
+
virtual ResultAction::Value acceptExpression( ExpressionResultBuilder const& assertionResult, AssertionInfo const& assertionInfo ) = 0;
|
40
|
+
|
41
|
+
virtual std::string getCurrentTestName() const = 0;
|
42
|
+
virtual const AssertionResult* getLastResult() const = 0;
|
43
|
+
};
|
44
|
+
}
|
45
|
+
|
46
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_CAPTURE_H_INCLUDED
|
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_config.h
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 05/06/2012.
|
3
|
+
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
10
|
+
|
11
|
+
#include <iostream>
|
12
|
+
#include <string>
|
13
|
+
#include <vector>
|
14
|
+
|
15
|
+
#include "catch_ptr.hpp"
|
16
|
+
|
17
|
+
namespace Catch {
|
18
|
+
|
19
|
+
struct Verbosity { enum Level {
|
20
|
+
NoOutput = 0,
|
21
|
+
Quiet,
|
22
|
+
Normal
|
23
|
+
}; };
|
24
|
+
|
25
|
+
struct WarnAbout { enum What {
|
26
|
+
Nothing = 0x00,
|
27
|
+
NoAssertions = 0x01
|
28
|
+
}; };
|
29
|
+
|
30
|
+
struct ShowDurations { enum OrNot {
|
31
|
+
DefaultForReporter,
|
32
|
+
Always,
|
33
|
+
Never
|
34
|
+
}; };
|
35
|
+
|
36
|
+
class TestCaseFilters;
|
37
|
+
|
38
|
+
struct IConfig : IShared {
|
39
|
+
|
40
|
+
virtual ~IConfig();
|
41
|
+
|
42
|
+
virtual bool allowThrows() const = 0;
|
43
|
+
virtual std::ostream& stream() const = 0;
|
44
|
+
virtual std::string name() const = 0;
|
45
|
+
virtual bool includeSuccessfulResults() const = 0;
|
46
|
+
virtual bool shouldDebugBreak() const = 0;
|
47
|
+
virtual bool warnAboutMissingAssertions() const = 0;
|
48
|
+
virtual int abortAfter() const = 0;
|
49
|
+
virtual ShowDurations::OrNot showDurations() const = 0;
|
50
|
+
virtual std::vector<TestCaseFilters> const& filters() const = 0;
|
51
|
+
};
|
52
|
+
}
|
53
|
+
|
54
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
|
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_exception.h
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 20/04/2011.
|
3
|
+
* Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_EXCEPTION_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_EXCEPTION_H_INCLUDED
|
10
|
+
|
11
|
+
#include <string>
|
12
|
+
#include "catch_interfaces_registry_hub.h"
|
13
|
+
|
14
|
+
namespace Catch {
|
15
|
+
|
16
|
+
typedef std::string(*exceptionTranslateFunction)();
|
17
|
+
|
18
|
+
struct IExceptionTranslator {
|
19
|
+
virtual ~IExceptionTranslator();
|
20
|
+
virtual std::string translate() const = 0;
|
21
|
+
};
|
22
|
+
|
23
|
+
struct IExceptionTranslatorRegistry {
|
24
|
+
virtual ~IExceptionTranslatorRegistry();
|
25
|
+
|
26
|
+
virtual std::string translateActiveException() const = 0;
|
27
|
+
};
|
28
|
+
|
29
|
+
class ExceptionTranslatorRegistrar {
|
30
|
+
template<typename T>
|
31
|
+
class ExceptionTranslator : public IExceptionTranslator {
|
32
|
+
public:
|
33
|
+
|
34
|
+
ExceptionTranslator( std::string(*translateFunction)( T& ) )
|
35
|
+
: m_translateFunction( translateFunction )
|
36
|
+
{}
|
37
|
+
|
38
|
+
virtual std::string translate() const {
|
39
|
+
try {
|
40
|
+
throw;
|
41
|
+
}
|
42
|
+
catch( T& ex ) {
|
43
|
+
return m_translateFunction( ex );
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
protected:
|
48
|
+
std::string(*m_translateFunction)( T& );
|
49
|
+
};
|
50
|
+
|
51
|
+
public:
|
52
|
+
template<typename T>
|
53
|
+
ExceptionTranslatorRegistrar( std::string(*translateFunction)( T& ) ) {
|
54
|
+
getMutableRegistryHub().registerTranslator
|
55
|
+
( new ExceptionTranslator<T>( translateFunction ) );
|
56
|
+
}
|
57
|
+
};
|
58
|
+
}
|
59
|
+
|
60
|
+
///////////////////////////////////////////////////////////////////////////////
|
61
|
+
#define INTERNAL_CATCH_TRANSLATE_EXCEPTION( signature ) \
|
62
|
+
static std::string INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator )( signature ); \
|
63
|
+
namespace{ Catch::ExceptionTranslatorRegistrar INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionRegistrar )( &INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator ) ); }\
|
64
|
+
static std::string INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator )( signature )
|
65
|
+
|
66
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_EXCEPTION_H_INCLUDED
|
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_generators.h
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 7/8/2012.
|
3
|
+
* Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_GENERATORS_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_GENERATORS_H_INCLUDED
|
10
|
+
|
11
|
+
#include <string>
|
12
|
+
|
13
|
+
namespace Catch {
|
14
|
+
|
15
|
+
struct IGeneratorInfo {
|
16
|
+
virtual ~IGeneratorInfo();
|
17
|
+
virtual bool moveNext() = 0;
|
18
|
+
virtual std::size_t getCurrentIndex() const = 0;
|
19
|
+
};
|
20
|
+
|
21
|
+
struct IGeneratorsForTest {
|
22
|
+
virtual ~IGeneratorsForTest();
|
23
|
+
|
24
|
+
virtual IGeneratorInfo& getGeneratorInfo( std::string const& fileInfo, std::size_t size ) = 0;
|
25
|
+
virtual bool moveNext() = 0;
|
26
|
+
};
|
27
|
+
|
28
|
+
IGeneratorsForTest* createGeneratorsForTest();
|
29
|
+
|
30
|
+
} // end namespace Catch
|
31
|
+
|
32
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_GENERATORS_H_INCLUDED
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 5/8/2012.
|
3
|
+
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
|
10
|
+
|
11
|
+
#include <string>
|
12
|
+
|
13
|
+
namespace Catch {
|
14
|
+
|
15
|
+
class TestCase;
|
16
|
+
struct ITestCaseRegistry;
|
17
|
+
struct IExceptionTranslatorRegistry;
|
18
|
+
struct IExceptionTranslator;
|
19
|
+
struct IReporterRegistry;
|
20
|
+
struct IReporterFactory;
|
21
|
+
|
22
|
+
struct IRegistryHub {
|
23
|
+
virtual ~IRegistryHub();
|
24
|
+
|
25
|
+
virtual IReporterRegistry const& getReporterRegistry() const = 0;
|
26
|
+
virtual ITestCaseRegistry const& getTestCaseRegistry() const = 0;
|
27
|
+
virtual IExceptionTranslatorRegistry& getExceptionTranslatorRegistry() = 0;
|
28
|
+
};
|
29
|
+
|
30
|
+
struct IMutableRegistryHub {
|
31
|
+
virtual ~IMutableRegistryHub();
|
32
|
+
virtual void registerReporter( std::string const& name, IReporterFactory* factory ) = 0;
|
33
|
+
virtual void registerTest( TestCase const& testInfo ) = 0;
|
34
|
+
virtual void registerTranslator( const IExceptionTranslator* translator ) = 0;
|
35
|
+
};
|
36
|
+
|
37
|
+
IRegistryHub& getRegistryHub();
|
38
|
+
IMutableRegistryHub& getMutableRegistryHub();
|
39
|
+
void cleanUp();
|
40
|
+
std::string translateActiveException();
|
41
|
+
|
42
|
+
}
|
43
|
+
|
44
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
|
data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_reporter.h
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 31/12/2010.
|
3
|
+
* Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
4
|
+
*
|
5
|
+
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
6
|
+
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
7
|
+
*/
|
8
|
+
#ifndef TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_section_info.h"
|
12
|
+
#include "catch_common.h"
|
13
|
+
#include "catch_totals.hpp"
|
14
|
+
#include "catch_ptr.hpp"
|
15
|
+
#include "catch_config.hpp"
|
16
|
+
#include "catch_test_case_info.h"
|
17
|
+
#include "catch_assertionresult.h"
|
18
|
+
#include "catch_message.h"
|
19
|
+
#include "catch_option.hpp"
|
20
|
+
|
21
|
+
#include <string>
|
22
|
+
#include <ostream>
|
23
|
+
#include <map>
|
24
|
+
#include <assert.h>
|
25
|
+
|
26
|
+
namespace Catch
|
27
|
+
{
|
28
|
+
struct ReporterConfig {
|
29
|
+
explicit ReporterConfig( Ptr<IConfig> const& _fullConfig )
|
30
|
+
: m_stream( &_fullConfig->stream() ), m_fullConfig( _fullConfig ) {}
|
31
|
+
|
32
|
+
ReporterConfig( Ptr<IConfig> const& _fullConfig, std::ostream& _stream )
|
33
|
+
: m_stream( &_stream ), m_fullConfig( _fullConfig ) {}
|
34
|
+
|
35
|
+
std::ostream& stream() const { return *m_stream; }
|
36
|
+
Ptr<IConfig> fullConfig() const { return m_fullConfig; }
|
37
|
+
|
38
|
+
private:
|
39
|
+
std::ostream* m_stream;
|
40
|
+
Ptr<IConfig> m_fullConfig;
|
41
|
+
};
|
42
|
+
|
43
|
+
struct ReporterPreferences {
|
44
|
+
ReporterPreferences()
|
45
|
+
: shouldRedirectStdOut( false )
|
46
|
+
{}
|
47
|
+
|
48
|
+
bool shouldRedirectStdOut;
|
49
|
+
};
|
50
|
+
|
51
|
+
template<typename T>
|
52
|
+
struct LazyStat : Option<T> {
|
53
|
+
LazyStat() : used( false ) {}
|
54
|
+
LazyStat& operator=( T const& _value ) {
|
55
|
+
Option<T>::operator=( _value );
|
56
|
+
used = false;
|
57
|
+
return *this;
|
58
|
+
}
|
59
|
+
void reset() {
|
60
|
+
Option<T>::reset();
|
61
|
+
used = false;
|
62
|
+
}
|
63
|
+
bool used;
|
64
|
+
};
|
65
|
+
|
66
|
+
struct TestRunInfo {
|
67
|
+
TestRunInfo( std::string const& _name ) : name( _name ) {}
|
68
|
+
std::string name;
|
69
|
+
};
|
70
|
+
struct GroupInfo {
|
71
|
+
GroupInfo( std::string const& _name,
|
72
|
+
std::size_t _groupIndex,
|
73
|
+
std::size_t _groupsCount )
|
74
|
+
: name( _name ),
|
75
|
+
groupIndex( _groupIndex ),
|
76
|
+
groupsCounts( _groupsCount )
|
77
|
+
{}
|
78
|
+
|
79
|
+
std::string name;
|
80
|
+
std::size_t groupIndex;
|
81
|
+
std::size_t groupsCounts;
|
82
|
+
};
|
83
|
+
|
84
|
+
struct AssertionStats {
|
85
|
+
AssertionStats( AssertionResult const& _assertionResult,
|
86
|
+
std::vector<MessageInfo> const& _infoMessages,
|
87
|
+
Totals const& _totals )
|
88
|
+
: assertionResult( _assertionResult ),
|
89
|
+
infoMessages( _infoMessages ),
|
90
|
+
totals( _totals )
|
91
|
+
{
|
92
|
+
if( assertionResult.hasMessage() ) {
|
93
|
+
// Copy message into messages list.
|
94
|
+
// !TBD This should have been done earlier, somewhere
|
95
|
+
MessageBuilder builder( assertionResult.getTestMacroName(), assertionResult.getSourceInfo(), assertionResult.getResultType() );
|
96
|
+
builder << assertionResult.getMessage();
|
97
|
+
builder.m_info.message = builder.m_stream.str();
|
98
|
+
|
99
|
+
infoMessages.push_back( builder.m_info );
|
100
|
+
}
|
101
|
+
}
|
102
|
+
virtual ~AssertionStats();
|
103
|
+
|
104
|
+
# ifdef CATCH_CPP11_OR_GREATER
|
105
|
+
AssertionStats( AssertionStats const& ) = default;
|
106
|
+
AssertionStats( AssertionStats && ) = default;
|
107
|
+
AssertionStats& operator = ( AssertionStats const& ) = default;
|
108
|
+
AssertionStats& operator = ( AssertionStats && ) = default;
|
109
|
+
# endif
|
110
|
+
|
111
|
+
AssertionResult assertionResult;
|
112
|
+
std::vector<MessageInfo> infoMessages;
|
113
|
+
Totals totals;
|
114
|
+
};
|
115
|
+
|
116
|
+
struct SectionStats {
|
117
|
+
SectionStats( SectionInfo const& _sectionInfo,
|
118
|
+
Counts const& _assertions,
|
119
|
+
double _durationInSeconds,
|
120
|
+
bool _missingAssertions )
|
121
|
+
: sectionInfo( _sectionInfo ),
|
122
|
+
assertions( _assertions ),
|
123
|
+
durationInSeconds( _durationInSeconds ),
|
124
|
+
missingAssertions( _missingAssertions )
|
125
|
+
{}
|
126
|
+
virtual ~SectionStats();
|
127
|
+
# ifdef CATCH_CPP11_OR_GREATER
|
128
|
+
SectionStats( SectionStats const& ) = default;
|
129
|
+
SectionStats( SectionStats && ) = default;
|
130
|
+
SectionStats& operator = ( SectionStats const& ) = default;
|
131
|
+
SectionStats& operator = ( SectionStats && ) = default;
|
132
|
+
# endif
|
133
|
+
|
134
|
+
SectionInfo sectionInfo;
|
135
|
+
Counts assertions;
|
136
|
+
double durationInSeconds;
|
137
|
+
bool missingAssertions;
|
138
|
+
};
|
139
|
+
|
140
|
+
struct TestCaseStats {
|
141
|
+
TestCaseStats( TestCaseInfo const& _testInfo,
|
142
|
+
Totals const& _totals,
|
143
|
+
std::string const& _stdOut,
|
144
|
+
std::string const& _stdErr,
|
145
|
+
bool _aborting )
|
146
|
+
: testInfo( _testInfo ),
|
147
|
+
totals( _totals ),
|
148
|
+
stdOut( _stdOut ),
|
149
|
+
stdErr( _stdErr ),
|
150
|
+
aborting( _aborting )
|
151
|
+
{}
|
152
|
+
virtual ~TestCaseStats();
|
153
|
+
|
154
|
+
# ifdef CATCH_CPP11_OR_GREATER
|
155
|
+
TestCaseStats( TestCaseStats const& ) = default;
|
156
|
+
TestCaseStats( TestCaseStats && ) = default;
|
157
|
+
TestCaseStats& operator = ( TestCaseStats const& ) = default;
|
158
|
+
TestCaseStats& operator = ( TestCaseStats && ) = default;
|
159
|
+
# endif
|
160
|
+
|
161
|
+
TestCaseInfo testInfo;
|
162
|
+
Totals totals;
|
163
|
+
std::string stdOut;
|
164
|
+
std::string stdErr;
|
165
|
+
bool aborting;
|
166
|
+
};
|
167
|
+
|
168
|
+
struct TestGroupStats {
|
169
|
+
TestGroupStats( GroupInfo const& _groupInfo,
|
170
|
+
Totals const& _totals,
|
171
|
+
bool _aborting )
|
172
|
+
: groupInfo( _groupInfo ),
|
173
|
+
totals( _totals ),
|
174
|
+
aborting( _aborting )
|
175
|
+
{}
|
176
|
+
TestGroupStats( GroupInfo const& _groupInfo )
|
177
|
+
: groupInfo( _groupInfo ),
|
178
|
+
aborting( false )
|
179
|
+
{}
|
180
|
+
virtual ~TestGroupStats();
|
181
|
+
|
182
|
+
# ifdef CATCH_CPP11_OR_GREATER
|
183
|
+
TestGroupStats( TestGroupStats const& ) = default;
|
184
|
+
TestGroupStats( TestGroupStats && ) = default;
|
185
|
+
TestGroupStats& operator = ( TestGroupStats const& ) = default;
|
186
|
+
TestGroupStats& operator = ( TestGroupStats && ) = default;
|
187
|
+
# endif
|
188
|
+
|
189
|
+
GroupInfo groupInfo;
|
190
|
+
Totals totals;
|
191
|
+
bool aborting;
|
192
|
+
};
|
193
|
+
|
194
|
+
struct TestRunStats {
|
195
|
+
TestRunStats( TestRunInfo const& _runInfo,
|
196
|
+
Totals const& _totals,
|
197
|
+
bool _aborting )
|
198
|
+
: runInfo( _runInfo ),
|
199
|
+
totals( _totals ),
|
200
|
+
aborting( _aborting )
|
201
|
+
{}
|
202
|
+
virtual ~TestRunStats();
|
203
|
+
|
204
|
+
# ifndef CATCH_CPP11_OR_GREATER
|
205
|
+
TestRunStats( TestRunStats const& _other )
|
206
|
+
: runInfo( _other.runInfo ),
|
207
|
+
totals( _other.totals ),
|
208
|
+
aborting( _other.aborting )
|
209
|
+
{}
|
210
|
+
# else
|
211
|
+
TestRunStats( TestRunStats const& ) = default;
|
212
|
+
TestRunStats( TestRunStats && ) = default;
|
213
|
+
TestRunStats& operator = ( TestRunStats const& ) = default;
|
214
|
+
TestRunStats& operator = ( TestRunStats && ) = default;
|
215
|
+
# endif
|
216
|
+
|
217
|
+
TestRunInfo runInfo;
|
218
|
+
Totals totals;
|
219
|
+
bool aborting;
|
220
|
+
};
|
221
|
+
|
222
|
+
|
223
|
+
struct IStreamingReporter : IShared {
|
224
|
+
virtual ~IStreamingReporter();
|
225
|
+
|
226
|
+
// Implementing class must also provide the following static method:
|
227
|
+
// static std::string getDescription();
|
228
|
+
|
229
|
+
virtual ReporterPreferences getPreferences() const = 0;
|
230
|
+
|
231
|
+
virtual void noMatchingTestCases( std::string const& spec ) = 0;
|
232
|
+
|
233
|
+
virtual void testRunStarting( TestRunInfo const& testRunInfo ) = 0;
|
234
|
+
virtual void testGroupStarting( GroupInfo const& groupInfo ) = 0;
|
235
|
+
|
236
|
+
virtual void testCaseStarting( TestCaseInfo const& testInfo ) = 0;
|
237
|
+
virtual void sectionStarting( SectionInfo const& sectionInfo ) = 0;
|
238
|
+
|
239
|
+
virtual void assertionStarting( AssertionInfo const& assertionInfo ) = 0;
|
240
|
+
|
241
|
+
virtual bool assertionEnded( AssertionStats const& assertionStats ) = 0;
|
242
|
+
virtual void sectionEnded( SectionStats const& sectionStats ) = 0;
|
243
|
+
virtual void testCaseEnded( TestCaseStats const& testCaseStats ) = 0;
|
244
|
+
virtual void testGroupEnded( TestGroupStats const& testGroupStats ) = 0;
|
245
|
+
virtual void testRunEnded( TestRunStats const& testRunStats ) = 0;
|
246
|
+
};
|
247
|
+
|
248
|
+
|
249
|
+
struct IReporterFactory {
|
250
|
+
virtual ~IReporterFactory();
|
251
|
+
virtual IStreamingReporter* create( ReporterConfig const& config ) const = 0;
|
252
|
+
virtual std::string getDescription() const = 0;
|
253
|
+
};
|
254
|
+
|
255
|
+
struct IReporterRegistry {
|
256
|
+
typedef std::map<std::string, IReporterFactory*> FactoryMap;
|
257
|
+
|
258
|
+
virtual ~IReporterRegistry();
|
259
|
+
virtual IStreamingReporter* create( std::string const& name, Ptr<IConfig> const& config ) const = 0;
|
260
|
+
virtual FactoryMap const& getFactories() const = 0;
|
261
|
+
};
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
|