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
@@ -0,0 +1,23 @@
|
|
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_RUNNER_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_totals.hpp"
|
12
|
+
|
13
|
+
#include <string>
|
14
|
+
|
15
|
+
namespace Catch {
|
16
|
+
class TestCase;
|
17
|
+
|
18
|
+
struct IRunner {
|
19
|
+
virtual ~IRunner();
|
20
|
+
};
|
21
|
+
}
|
22
|
+
|
23
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
|
@@ -0,0 +1,34 @@
|
|
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_TESTCASE_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_ptr.hpp"
|
12
|
+
|
13
|
+
#include <vector>
|
14
|
+
|
15
|
+
namespace Catch {
|
16
|
+
|
17
|
+
class TestCaseFilters;
|
18
|
+
|
19
|
+
struct ITestCase : IShared {
|
20
|
+
virtual void invoke () const = 0;
|
21
|
+
protected:
|
22
|
+
virtual ~ITestCase();
|
23
|
+
};
|
24
|
+
|
25
|
+
class TestCase;
|
26
|
+
|
27
|
+
struct ITestCaseRegistry {
|
28
|
+
virtual ~ITestCaseRegistry();
|
29
|
+
virtual std::vector<TestCase> const& getAllTests() const = 0;
|
30
|
+
virtual std::vector<TestCase> getMatchingTestCases( std::string const& rawTestSpec ) const = 0;
|
31
|
+
};
|
32
|
+
}
|
33
|
+
|
34
|
+
#endif // TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 6th April 2013.
|
3
|
+
* Copyright 2013 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_LEGACY_REPORTER_ADAPTER_H_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_LEGACY_REPORTER_ADAPTER_H_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_interfaces_reporter.h"
|
12
|
+
|
13
|
+
namespace Catch
|
14
|
+
{
|
15
|
+
class LegacyReporterAdapter : public SharedImpl<IStreamingReporter>
|
16
|
+
{
|
17
|
+
public:
|
18
|
+
LegacyReporterAdapter( Ptr<IReporter> const& legacyReporter );
|
19
|
+
virtual ~LegacyReporterAdapter();
|
20
|
+
|
21
|
+
virtual ReporterPreferences getPreferences() const;
|
22
|
+
virtual void noMatchingTestCases( std::string const& );
|
23
|
+
virtual void testRunStarting( TestRunInfo const& );
|
24
|
+
virtual void testGroupStarting( GroupInfo const& groupInfo );
|
25
|
+
virtual void testCaseStarting( TestCaseInfo const& testInfo );
|
26
|
+
virtual void sectionStarting( SectionInfo const& sectionInfo );
|
27
|
+
virtual void assertionStarting( AssertionInfo const& );
|
28
|
+
virtual bool assertionEnded( AssertionStats const& assertionStats );
|
29
|
+
virtual void sectionEnded( SectionStats const& sectionStats );
|
30
|
+
virtual void testCaseEnded( TestCaseStats const& testCaseStats );
|
31
|
+
virtual void testGroupEnded( TestGroupStats const& testGroupStats );
|
32
|
+
virtual void testRunEnded( TestRunStats const& testRunStats );
|
33
|
+
|
34
|
+
private:
|
35
|
+
Ptr<IReporter> m_legacyReporter;
|
36
|
+
};
|
37
|
+
}
|
38
|
+
|
39
|
+
#endif // TWOBLUECUBES_CATCH_LEGACY_REPORTER_ADAPTER_H_INCLUDED
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 6th April 2013.
|
3
|
+
* Copyright 2013 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_LEGACY_REPORTER_ADAPTER_HPP_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_LEGACY_REPORTER_ADAPTER_HPP_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_legacy_reporter_adapter.h"
|
12
|
+
|
13
|
+
namespace Catch
|
14
|
+
{
|
15
|
+
LegacyReporterAdapter::LegacyReporterAdapter( Ptr<IReporter> const& legacyReporter )
|
16
|
+
: m_legacyReporter( legacyReporter )
|
17
|
+
{}
|
18
|
+
LegacyReporterAdapter::~LegacyReporterAdapter() {}
|
19
|
+
|
20
|
+
ReporterPreferences LegacyReporterAdapter::getPreferences() const {
|
21
|
+
ReporterPreferences prefs;
|
22
|
+
prefs.shouldRedirectStdOut = m_legacyReporter->shouldRedirectStdout();
|
23
|
+
return prefs;
|
24
|
+
}
|
25
|
+
|
26
|
+
void LegacyReporterAdapter::noMatchingTestCases( std::string const& ) {}
|
27
|
+
void LegacyReporterAdapter::testRunStarting( TestRunInfo const& ) {
|
28
|
+
m_legacyReporter->StartTesting();
|
29
|
+
}
|
30
|
+
void LegacyReporterAdapter::testGroupStarting( GroupInfo const& groupInfo ) {
|
31
|
+
m_legacyReporter->StartGroup( groupInfo.name );
|
32
|
+
}
|
33
|
+
void LegacyReporterAdapter::testCaseStarting( TestCaseInfo const& testInfo ) {
|
34
|
+
m_legacyReporter->StartTestCase( testInfo );
|
35
|
+
}
|
36
|
+
void LegacyReporterAdapter::sectionStarting( SectionInfo const& sectionInfo ) {
|
37
|
+
m_legacyReporter->StartSection( sectionInfo.name, sectionInfo.description );
|
38
|
+
}
|
39
|
+
void LegacyReporterAdapter::assertionStarting( AssertionInfo const& ) {
|
40
|
+
// Not on legacy interface
|
41
|
+
}
|
42
|
+
|
43
|
+
bool LegacyReporterAdapter::assertionEnded( AssertionStats const& assertionStats ) {
|
44
|
+
if( assertionStats.assertionResult.getResultType() != ResultWas::Ok ) {
|
45
|
+
for( std::vector<MessageInfo>::const_iterator it = assertionStats.infoMessages.begin(), itEnd = assertionStats.infoMessages.end();
|
46
|
+
it != itEnd;
|
47
|
+
++it ) {
|
48
|
+
if( it->type == ResultWas::Info ) {
|
49
|
+
ExpressionResultBuilder expressionBuilder( it->type );
|
50
|
+
expressionBuilder << it->message;
|
51
|
+
AssertionInfo info( it->macroName, it->lineInfo, "", ResultDisposition::Normal );
|
52
|
+
AssertionResult result = expressionBuilder.buildResult( info );
|
53
|
+
m_legacyReporter->Result( result );
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
m_legacyReporter->Result( assertionStats.assertionResult );
|
58
|
+
return true;
|
59
|
+
}
|
60
|
+
void LegacyReporterAdapter::sectionEnded( SectionStats const& sectionStats ) {
|
61
|
+
if( sectionStats.missingAssertions )
|
62
|
+
m_legacyReporter->NoAssertionsInSection( sectionStats.sectionInfo.name );
|
63
|
+
m_legacyReporter->EndSection( sectionStats.sectionInfo.name, sectionStats.assertions );
|
64
|
+
}
|
65
|
+
void LegacyReporterAdapter::testCaseEnded( TestCaseStats const& testCaseStats ) {
|
66
|
+
if( testCaseStats.missingAssertions )
|
67
|
+
m_legacyReporter->NoAssertionsInTestCase( testCaseStats.testInfo.name );
|
68
|
+
m_legacyReporter->EndTestCase
|
69
|
+
( testCaseStats.testInfo,
|
70
|
+
testCaseStats.totals,
|
71
|
+
testCaseStats.stdOut,
|
72
|
+
testCaseStats.stdErr );
|
73
|
+
}
|
74
|
+
void LegacyReporterAdapter::testGroupEnded( TestGroupStats const& testGroupStats ) {
|
75
|
+
if( testGroupStats.aborting )
|
76
|
+
m_legacyReporter->Aborted();
|
77
|
+
m_legacyReporter->EndGroup( testGroupStats.groupInfo.name, testGroupStats.totals );
|
78
|
+
}
|
79
|
+
void LegacyReporterAdapter::testRunEnded( TestRunStats const& testRunStats ) {
|
80
|
+
m_legacyReporter->EndTesting( testRunStats.totals );
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
#endif // TWOBLUECUBES_CATCH_LEGACY_REPORTER_ADAPTER_H_INCLUDED
|
@@ -0,0 +1,198 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil on 5/11/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_LIST_HPP_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_LIST_HPP_INCLUDED
|
10
|
+
|
11
|
+
#include "catch_commandline.hpp"
|
12
|
+
#include "catch_text.h"
|
13
|
+
#include "catch_console_colour.hpp"
|
14
|
+
|
15
|
+
#include <limits>
|
16
|
+
#include <algorithm>
|
17
|
+
|
18
|
+
namespace Catch {
|
19
|
+
inline bool matchesFilters( std::vector<TestCaseFilters> const& filters, TestCase const& testCase ) {
|
20
|
+
std::vector<TestCaseFilters>::const_iterator it = filters.begin();
|
21
|
+
std::vector<TestCaseFilters>::const_iterator itEnd = filters.end();
|
22
|
+
for(; it != itEnd; ++it )
|
23
|
+
if( !it->shouldInclude( testCase ) )
|
24
|
+
return false;
|
25
|
+
return true;
|
26
|
+
}
|
27
|
+
|
28
|
+
inline std::size_t listTests( Config const& config ) {
|
29
|
+
if( config.filters().empty() )
|
30
|
+
std::cout << "All available test cases:\n";
|
31
|
+
else
|
32
|
+
std::cout << "Matching test cases:\n";
|
33
|
+
std::vector<TestCase> const& allTests = getRegistryHub().getTestCaseRegistry().getAllTests();
|
34
|
+
std::vector<TestCase>::const_iterator it = allTests.begin(), itEnd = allTests.end();
|
35
|
+
|
36
|
+
// First pass - get max tags
|
37
|
+
std::size_t maxTagLen = 0;
|
38
|
+
std::size_t maxNameLen = 0;
|
39
|
+
for(; it != itEnd; ++it ) {
|
40
|
+
if( matchesFilters( config.filters(), *it ) ) {
|
41
|
+
maxTagLen = (std::max)( it->getTestCaseInfo().tagsAsString.size(), maxTagLen );
|
42
|
+
maxNameLen = (std::max)( it->getTestCaseInfo().name.size(), maxNameLen );
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
// Try to fit everything in. If not shrink tag column first, down to 30
|
47
|
+
// then shrink name column until it all fits (strings will be wrapped within column)
|
48
|
+
while( maxTagLen + maxNameLen > CATCH_CONFIG_CONSOLE_WIDTH-5 ) {
|
49
|
+
if( maxTagLen > 30 )
|
50
|
+
--maxTagLen;
|
51
|
+
else
|
52
|
+
--maxNameLen;
|
53
|
+
}
|
54
|
+
|
55
|
+
std::size_t matchedTests = 0;
|
56
|
+
for( it = allTests.begin(); it != itEnd; ++it ) {
|
57
|
+
if( matchesFilters( config.filters(), *it ) ) {
|
58
|
+
matchedTests++;
|
59
|
+
Text nameWrapper( it->getTestCaseInfo().name,
|
60
|
+
TextAttributes()
|
61
|
+
.setWidth( maxNameLen )
|
62
|
+
.setInitialIndent(2)
|
63
|
+
.setIndent(4) );
|
64
|
+
|
65
|
+
Text tagsWrapper( it->getTestCaseInfo().tagsAsString,
|
66
|
+
TextAttributes()
|
67
|
+
.setWidth( maxTagLen )
|
68
|
+
.setInitialIndent(0)
|
69
|
+
.setIndent( 2 ) );
|
70
|
+
|
71
|
+
for( std::size_t i = 0; i < (std::max)( nameWrapper.size(), tagsWrapper.size() ); ++i ) {
|
72
|
+
Colour::Code colour = Colour::None;
|
73
|
+
if( it->getTestCaseInfo().isHidden )
|
74
|
+
colour = Colour::SecondaryText;
|
75
|
+
std::string nameCol;
|
76
|
+
if( i < nameWrapper.size() ) {
|
77
|
+
nameCol = nameWrapper[i];
|
78
|
+
}
|
79
|
+
else {
|
80
|
+
nameCol = " ...";
|
81
|
+
colour = Colour::SecondaryText;
|
82
|
+
}
|
83
|
+
|
84
|
+
{
|
85
|
+
Colour colourGuard( colour );
|
86
|
+
std::cout << nameCol;
|
87
|
+
}
|
88
|
+
if( i < tagsWrapper.size() && !tagsWrapper[i].empty() ) {
|
89
|
+
if( i == 0 ) {
|
90
|
+
Colour colourGuard( Colour::SecondaryText );
|
91
|
+
std::cout << " " << std::string( maxNameLen - nameCol.size(), '.' ) << " ";
|
92
|
+
}
|
93
|
+
else {
|
94
|
+
std::cout << std::string( maxNameLen - nameCol.size(), ' ' ) << " ";
|
95
|
+
}
|
96
|
+
std::cout << tagsWrapper[i];
|
97
|
+
}
|
98
|
+
std::cout << "\n";
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
if( config.filters().empty() )
|
103
|
+
std::cout << pluralise( matchedTests, "test case" ) << "\n" << std::endl;
|
104
|
+
else
|
105
|
+
std::cout << pluralise( matchedTests, "matching test case" ) << "\n" << std::endl;
|
106
|
+
return matchedTests;
|
107
|
+
}
|
108
|
+
|
109
|
+
inline std::size_t listTags( Config const& config ) {
|
110
|
+
if( config.filters().empty() )
|
111
|
+
std::cout << "All available tags:\n";
|
112
|
+
else
|
113
|
+
std::cout << "Matching tags:\n";
|
114
|
+
std::vector<TestCase> const& allTests = getRegistryHub().getTestCaseRegistry().getAllTests();
|
115
|
+
std::vector<TestCase>::const_iterator it = allTests.begin(), itEnd = allTests.end();
|
116
|
+
|
117
|
+
std::map<std::string, int> tagCounts;
|
118
|
+
|
119
|
+
std::size_t maxTagLen = 0;
|
120
|
+
|
121
|
+
for(; it != itEnd; ++it ) {
|
122
|
+
if( matchesFilters( config.filters(), *it ) ) {
|
123
|
+
for( std::set<std::string>::const_iterator tagIt = it->getTestCaseInfo().tags.begin(),
|
124
|
+
tagItEnd = it->getTestCaseInfo().tags.end();
|
125
|
+
tagIt != tagItEnd;
|
126
|
+
++tagIt ) {
|
127
|
+
std::string tagName = *tagIt;
|
128
|
+
maxTagLen = (std::max)( maxTagLen, tagName.size() );
|
129
|
+
std::map<std::string, int>::iterator countIt = tagCounts.find( tagName );
|
130
|
+
if( countIt == tagCounts.end() )
|
131
|
+
tagCounts.insert( std::make_pair( tagName, 1 ) );
|
132
|
+
else
|
133
|
+
countIt->second++;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
maxTagLen +=4;
|
138
|
+
if( maxTagLen > CATCH_CONFIG_CONSOLE_WIDTH-10 )
|
139
|
+
maxTagLen = CATCH_CONFIG_CONSOLE_WIDTH-10;
|
140
|
+
|
141
|
+
for( std::map<std::string, int>::const_iterator countIt = tagCounts.begin(), countItEnd = tagCounts.end();
|
142
|
+
countIt != countItEnd;
|
143
|
+
++countIt ) {
|
144
|
+
Text wrapper( "[" + countIt->first + "]", TextAttributes()
|
145
|
+
.setIndent(2)
|
146
|
+
.setWidth( maxTagLen ) );
|
147
|
+
std::cout << wrapper;
|
148
|
+
std::size_t dots = 2;
|
149
|
+
if( maxTagLen > wrapper.last().size() )
|
150
|
+
dots += maxTagLen - wrapper.last().size();
|
151
|
+
{
|
152
|
+
Colour colourGuard( Colour::SecondaryText );
|
153
|
+
std::cout << std::string( dots, '.' );
|
154
|
+
}
|
155
|
+
std::cout << countIt->second
|
156
|
+
<< "\n";
|
157
|
+
}
|
158
|
+
std::cout << pluralise( tagCounts.size(), "tag" ) << "\n" << std::endl;
|
159
|
+
return tagCounts.size();
|
160
|
+
}
|
161
|
+
|
162
|
+
inline std::size_t listReporters( Config const& /*config*/ ) {
|
163
|
+
std::cout << "Available reports:\n";
|
164
|
+
IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactories();
|
165
|
+
IReporterRegistry::FactoryMap::const_iterator itBegin = factories.begin(), itEnd = factories.end(), it;
|
166
|
+
std::size_t maxNameLen = 0;
|
167
|
+
for(it = itBegin; it != itEnd; ++it )
|
168
|
+
maxNameLen = (std::max)( maxNameLen, it->first.size() );
|
169
|
+
|
170
|
+
for(it = itBegin; it != itEnd; ++it ) {
|
171
|
+
Text wrapper( it->second->getDescription(), TextAttributes()
|
172
|
+
.setInitialIndent( 0 )
|
173
|
+
.setIndent( 7+maxNameLen )
|
174
|
+
.setWidth( CATCH_CONFIG_CONSOLE_WIDTH - maxNameLen-8 ) );
|
175
|
+
std::cout << " "
|
176
|
+
<< it->first
|
177
|
+
<< ":"
|
178
|
+
<< std::string( maxNameLen - it->first.size() + 2, ' ' )
|
179
|
+
<< wrapper << "\n";
|
180
|
+
}
|
181
|
+
std::cout << std::endl;
|
182
|
+
return factories.size();
|
183
|
+
}
|
184
|
+
|
185
|
+
inline Option<std::size_t> list( Config const& config ) {
|
186
|
+
Option<std::size_t> listedCount;
|
187
|
+
if( config.listTests() )
|
188
|
+
listedCount = listedCount.valueOr(0) + listTests( config );
|
189
|
+
if( config.listTags() )
|
190
|
+
listedCount = listedCount.valueOr(0) + listTags( config );
|
191
|
+
if( config.listReporters() )
|
192
|
+
listedCount = listedCount.valueOr(0) + listReporters( config );
|
193
|
+
return listedCount;
|
194
|
+
}
|
195
|
+
|
196
|
+
} // end namespace Catch
|
197
|
+
|
198
|
+
#endif // TWOBLUECUBES_CATCH_LIST_HPP_INCLUDED
|
@@ -0,0 +1,233 @@
|
|
1
|
+
/*
|
2
|
+
* Created by Phil Nash on 04/03/2012.
|
3
|
+
* Copyright (c) 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_MATCHERS_HPP_INCLUDED
|
9
|
+
#define TWOBLUECUBES_CATCH_MATCHERS_HPP_INCLUDED
|
10
|
+
|
11
|
+
namespace Catch {
|
12
|
+
namespace Matchers {
|
13
|
+
namespace Impl {
|
14
|
+
|
15
|
+
template<typename ExpressionT>
|
16
|
+
struct Matcher : SharedImpl<IShared>
|
17
|
+
{
|
18
|
+
typedef ExpressionT ExpressionType;
|
19
|
+
|
20
|
+
virtual ~Matcher() {}
|
21
|
+
virtual Ptr<Matcher> clone() const = 0;
|
22
|
+
virtual bool match( ExpressionT const& expr ) const = 0;
|
23
|
+
virtual std::string toString() const = 0;
|
24
|
+
};
|
25
|
+
|
26
|
+
template<typename DerivedT, typename ExpressionT>
|
27
|
+
struct MatcherImpl : Matcher<ExpressionT> {
|
28
|
+
|
29
|
+
virtual Ptr<Matcher<ExpressionT> > clone() const {
|
30
|
+
return Ptr<Matcher<ExpressionT> >( new DerivedT( static_cast<DerivedT const&>( *this ) ) );
|
31
|
+
}
|
32
|
+
};
|
33
|
+
|
34
|
+
namespace Generic {
|
35
|
+
|
36
|
+
template<typename ExpressionT>
|
37
|
+
class AllOf : public MatcherImpl<AllOf<ExpressionT>, ExpressionT> {
|
38
|
+
public:
|
39
|
+
|
40
|
+
AllOf() {}
|
41
|
+
AllOf( AllOf const& other ) : m_matchers( other.m_matchers ) {}
|
42
|
+
|
43
|
+
AllOf& add( Matcher<ExpressionT> const& matcher ) {
|
44
|
+
m_matchers.push_back( matcher.clone() );
|
45
|
+
return *this;
|
46
|
+
}
|
47
|
+
virtual bool match( ExpressionT const& expr ) const
|
48
|
+
{
|
49
|
+
for( std::size_t i = 0; i < m_matchers.size(); ++i )
|
50
|
+
if( !m_matchers[i]->match( expr ) )
|
51
|
+
return false;
|
52
|
+
return true;
|
53
|
+
}
|
54
|
+
virtual std::string toString() const {
|
55
|
+
std::ostringstream oss;
|
56
|
+
oss << "( ";
|
57
|
+
for( std::size_t i = 0; i < m_matchers.size(); ++i ) {
|
58
|
+
if( i != 0 )
|
59
|
+
oss << " and ";
|
60
|
+
oss << m_matchers[i]->toString();
|
61
|
+
}
|
62
|
+
oss << " )";
|
63
|
+
return oss.str();
|
64
|
+
}
|
65
|
+
|
66
|
+
private:
|
67
|
+
std::vector<Ptr<Matcher<ExpressionT> > > m_matchers;
|
68
|
+
};
|
69
|
+
|
70
|
+
template<typename ExpressionT>
|
71
|
+
class AnyOf : public MatcherImpl<AnyOf<ExpressionT>, ExpressionT> {
|
72
|
+
public:
|
73
|
+
|
74
|
+
AnyOf() {}
|
75
|
+
AnyOf( AnyOf const& other ) : m_matchers( other.m_matchers ) {}
|
76
|
+
|
77
|
+
AnyOf& add( Matcher<ExpressionT> const& matcher ) {
|
78
|
+
m_matchers.push_back( matcher.clone() );
|
79
|
+
return *this;
|
80
|
+
}
|
81
|
+
virtual bool match( ExpressionT const& expr ) const
|
82
|
+
{
|
83
|
+
for( std::size_t i = 0; i < m_matchers.size(); ++i )
|
84
|
+
if( m_matchers[i]->match( expr ) )
|
85
|
+
return true;
|
86
|
+
return false;
|
87
|
+
}
|
88
|
+
virtual std::string toString() const {
|
89
|
+
std::ostringstream oss;
|
90
|
+
oss << "( ";
|
91
|
+
for( std::size_t i = 0; i < m_matchers.size(); ++i ) {
|
92
|
+
if( i != 0 )
|
93
|
+
oss << " or ";
|
94
|
+
oss << m_matchers[i]->toString();
|
95
|
+
}
|
96
|
+
oss << " )";
|
97
|
+
return oss.str();
|
98
|
+
}
|
99
|
+
|
100
|
+
private:
|
101
|
+
std::vector<Ptr<Matcher<ExpressionT> > > m_matchers;
|
102
|
+
};
|
103
|
+
|
104
|
+
}
|
105
|
+
|
106
|
+
namespace StdString {
|
107
|
+
|
108
|
+
inline std::string makeString( std::string const& str ) { return str; }
|
109
|
+
inline std::string makeString( const char* str ) { return str ? std::string( str ) : std::string(); }
|
110
|
+
|
111
|
+
struct Equals : MatcherImpl<Equals, std::string> {
|
112
|
+
Equals( std::string const& str ) : m_str( str ){}
|
113
|
+
Equals( Equals const& other ) : m_str( other.m_str ){}
|
114
|
+
|
115
|
+
virtual ~Equals();
|
116
|
+
|
117
|
+
virtual bool match( std::string const& expr ) const {
|
118
|
+
return m_str == expr;
|
119
|
+
}
|
120
|
+
virtual std::string toString() const {
|
121
|
+
return "equals: \"" + m_str + "\"";
|
122
|
+
}
|
123
|
+
|
124
|
+
std::string m_str;
|
125
|
+
};
|
126
|
+
|
127
|
+
struct Contains : MatcherImpl<Contains, std::string> {
|
128
|
+
Contains( std::string const& substr ) : m_substr( substr ){}
|
129
|
+
Contains( Contains const& other ) : m_substr( other.m_substr ){}
|
130
|
+
|
131
|
+
virtual ~Contains();
|
132
|
+
|
133
|
+
virtual bool match( std::string const& expr ) const {
|
134
|
+
return expr.find( m_substr ) != std::string::npos;
|
135
|
+
}
|
136
|
+
virtual std::string toString() const {
|
137
|
+
return "contains: \"" + m_substr + "\"";
|
138
|
+
}
|
139
|
+
|
140
|
+
std::string m_substr;
|
141
|
+
};
|
142
|
+
|
143
|
+
struct StartsWith : MatcherImpl<StartsWith, std::string> {
|
144
|
+
StartsWith( std::string const& substr ) : m_substr( substr ){}
|
145
|
+
StartsWith( StartsWith const& other ) : m_substr( other.m_substr ){}
|
146
|
+
|
147
|
+
virtual ~StartsWith();
|
148
|
+
|
149
|
+
virtual bool match( std::string const& expr ) const {
|
150
|
+
return expr.find( m_substr ) == 0;
|
151
|
+
}
|
152
|
+
virtual std::string toString() const {
|
153
|
+
return "starts with: \"" + m_substr + "\"";
|
154
|
+
}
|
155
|
+
|
156
|
+
std::string m_substr;
|
157
|
+
};
|
158
|
+
|
159
|
+
struct EndsWith : MatcherImpl<EndsWith, std::string> {
|
160
|
+
EndsWith( std::string const& substr ) : m_substr( substr ){}
|
161
|
+
EndsWith( EndsWith const& other ) : m_substr( other.m_substr ){}
|
162
|
+
|
163
|
+
virtual ~EndsWith();
|
164
|
+
|
165
|
+
virtual bool match( std::string const& expr ) const {
|
166
|
+
return expr.find( m_substr ) == expr.size() - m_substr.size();
|
167
|
+
}
|
168
|
+
virtual std::string toString() const {
|
169
|
+
return "ends with: \"" + m_substr + "\"";
|
170
|
+
}
|
171
|
+
|
172
|
+
std::string m_substr;
|
173
|
+
};
|
174
|
+
} // namespace StdString
|
175
|
+
} // namespace Impl
|
176
|
+
|
177
|
+
// The following functions create the actual matcher objects.
|
178
|
+
// This allows the types to be inferred
|
179
|
+
template<typename ExpressionT>
|
180
|
+
inline Impl::Generic::AllOf<ExpressionT> AllOf( Impl::Matcher<ExpressionT> const& m1,
|
181
|
+
Impl::Matcher<ExpressionT> const& m2 ) {
|
182
|
+
return Impl::Generic::AllOf<ExpressionT>().add( m1 ).add( m2 );
|
183
|
+
}
|
184
|
+
template<typename ExpressionT>
|
185
|
+
inline Impl::Generic::AllOf<ExpressionT> AllOf( Impl::Matcher<ExpressionT> const& m1,
|
186
|
+
Impl::Matcher<ExpressionT> const& m2,
|
187
|
+
Impl::Matcher<ExpressionT> const& m3 ) {
|
188
|
+
return Impl::Generic::AllOf<ExpressionT>().add( m1 ).add( m2 ).add( m3 );
|
189
|
+
}
|
190
|
+
template<typename ExpressionT>
|
191
|
+
inline Impl::Generic::AnyOf<ExpressionT> AnyOf( Impl::Matcher<ExpressionT> const& m1,
|
192
|
+
Impl::Matcher<ExpressionT> const& m2 ) {
|
193
|
+
return Impl::Generic::AnyOf<ExpressionT>().add( m1 ).add( m2 );
|
194
|
+
}
|
195
|
+
template<typename ExpressionT>
|
196
|
+
inline Impl::Generic::AnyOf<ExpressionT> AnyOf( Impl::Matcher<ExpressionT> const& m1,
|
197
|
+
Impl::Matcher<ExpressionT> const& m2,
|
198
|
+
Impl::Matcher<ExpressionT> const& m3 ) {
|
199
|
+
return Impl::Generic::AnyOf<ExpressionT>().add( m1 ).add( m2 ).add( m3 );
|
200
|
+
}
|
201
|
+
|
202
|
+
inline Impl::StdString::Equals Equals( std::string const& str ) {
|
203
|
+
return Impl::StdString::Equals( str );
|
204
|
+
}
|
205
|
+
inline Impl::StdString::Equals Equals( const char* str ) {
|
206
|
+
return Impl::StdString::Equals( Impl::StdString::makeString( str ) );
|
207
|
+
}
|
208
|
+
inline Impl::StdString::Contains Contains( std::string const& substr ) {
|
209
|
+
return Impl::StdString::Contains( substr );
|
210
|
+
}
|
211
|
+
inline Impl::StdString::Contains Contains( const char* substr ) {
|
212
|
+
return Impl::StdString::Contains( Impl::StdString::makeString( substr ) );
|
213
|
+
}
|
214
|
+
inline Impl::StdString::StartsWith StartsWith( std::string const& substr ) {
|
215
|
+
return Impl::StdString::StartsWith( substr );
|
216
|
+
}
|
217
|
+
inline Impl::StdString::StartsWith StartsWith( const char* substr ) {
|
218
|
+
return Impl::StdString::StartsWith( Impl::StdString::makeString( substr ) );
|
219
|
+
}
|
220
|
+
inline Impl::StdString::EndsWith EndsWith( std::string const& substr ) {
|
221
|
+
return Impl::StdString::EndsWith( substr );
|
222
|
+
}
|
223
|
+
inline Impl::StdString::EndsWith EndsWith( const char* substr ) {
|
224
|
+
return Impl::StdString::EndsWith( Impl::StdString::makeString( substr ) );
|
225
|
+
}
|
226
|
+
|
227
|
+
} // namespace Matchers
|
228
|
+
|
229
|
+
using namespace Matchers;
|
230
|
+
|
231
|
+
} // namespace Catch
|
232
|
+
|
233
|
+
#endif // TWOBLUECUBES_CATCH_MATCHERS_HPP_INCLUDED
|