├── .codeclimate.yml ├── .gitignore ├── .goxc.json ├── .travis.yml ├── CONTRIBUTING.md ├── Example_of_yaml_controls_for_origins_status_parameter.txt ├── FedRAMP-System-Security-Plan-Template-v2.1.docx ├── LICENSE.md ├── Makefile ├── README.md ├── common ├── origin │ └── origin.go ├── source │ └── info.go └── status │ └── status.go ├── control ├── control_origination.go ├── control_origination_test.go ├── control_suite_test.go ├── field.go ├── implementation_status.go ├── narrative_section.go ├── narrative_table.go ├── narrative_table_test.go ├── parameter_section.go ├── parameter_table.go ├── reporter.go ├── reporter_test.go ├── responsible_role.go ├── summary_table.go ├── summary_table_test.go └── table.go ├── docx ├── checkbox.go └── helper │ └── helper.go ├── fixtures ├── FedRAMP-System-Security-Plan-Template-v2.1.docx ├── FedRAMP_ac-2-1_v2.1.docx ├── FedRAMP_ac-2_v2.1.docx ├── fixtures.go ├── opencontrols │ ├── certifications │ │ └── LATO.yaml │ ├── components │ │ └── EC2 │ │ │ └── component.yaml │ └── standards │ │ └── NIST-800-53.yaml └── simplified_table.xml ├── glide.lock ├── glide.yaml ├── main.go ├── markdowns ├── README.md ├── SUMMARY.md ├── ssp.yaml └── system_documentation │ ├── Cloud_Foundry_System_Architecture.png │ ├── about-the-ssp.md │ ├── system-data.md │ └── system-description.md ├── opencontrol.yaml ├── opencontrol ├── certifications │ ├── FedRAMP-low.yaml │ └── FedRAMP-moderate.yaml └── standards │ └── NIST-800-53.yaml ├── opencontrols ├── certifications │ ├── FedRAMP-low.yaml │ └── FedRAMP-moderate.yaml ├── data.go ├── data_test.go ├── opencontrols_suite_test.go └── standards │ └── NIST-800-53.yaml ├── release.sh ├── reporter └── reporter.go ├── scripts └── preview-doc ├── ssp ├── document.go ├── document_test.go └── ssp_suite_test.go ├── templater ├── templater.go ├── templater_suite_test.go └── templater_test.go ├── vendor ├── github.com │ ├── Masterminds │ │ └── vcs │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── bzr.go │ │ │ ├── bzr_test.go │ │ │ ├── errors.go │ │ │ ├── errors_test.go │ │ │ ├── git.go │ │ │ ├── git_test.go │ │ │ ├── glide.yaml │ │ │ ├── hg.go │ │ │ ├── hg_test.go │ │ │ ├── repo.go │ │ │ ├── repo_test.go │ │ │ ├── svn.go │ │ │ ├── svn_test.go │ │ │ ├── vcs_local_lookup.go │ │ │ ├── vcs_remote_lookup.go │ │ │ └── vcs_remote_lookup_test.go │ ├── blang │ │ └── semver │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ └── main.go │ │ │ ├── json.go │ │ │ ├── json_test.go │ │ │ ├── range.go │ │ │ ├── range_test.go │ │ │ ├── semver.go │ │ │ ├── semver_test.go │ │ │ ├── sort.go │ │ │ ├── sort_test.go │ │ │ ├── sql.go │ │ │ └── sql_test.go │ ├── codegangsta │ │ └── cli │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── altsrc │ │ │ ├── altsrc.go │ │ │ ├── flag.go │ │ │ ├── flag_generated.go │ │ │ ├── flag_test.go │ │ │ ├── helpers_test.go │ │ │ ├── input_source_context.go │ │ │ ├── map_input_source.go │ │ │ ├── yaml_command_test.go │ │ │ └── yaml_file_loader.go │ │ │ ├── app.go │ │ │ ├── app_test.go │ │ │ ├── appveyor.yml │ │ │ ├── autocomplete │ │ │ ├── bash_autocomplete │ │ │ └── zsh_autocomplete │ │ │ ├── category.go │ │ │ ├── cli.go │ │ │ ├── command.go │ │ │ ├── command_test.go │ │ │ ├── context.go │ │ │ ├── context_test.go │ │ │ ├── errors.go │ │ │ ├── errors_test.go │ │ │ ├── flag-types.json │ │ │ ├── flag.go │ │ │ ├── flag_generated.go │ │ │ ├── flag_test.go │ │ │ ├── funcs.go │ │ │ ├── generate-flag-types │ │ │ ├── help.go │ │ │ ├── help_test.go │ │ │ ├── helpers_test.go │ │ │ └── runtests │ ├── go-forks │ │ └── fsnotify │ │ │ ├── .gitignore │ │ │ ├── AUTHORS │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── example_test.go │ │ │ ├── fsnotify.go │ │ │ ├── fsnotify_bsd.go │ │ │ ├── fsnotify_linux.go │ │ │ ├── fsnotify_open_bsd.go │ │ │ ├── fsnotify_open_darwin.go │ │ │ ├── fsnotify_symlink_test.go │ │ │ ├── fsnotify_test.go │ │ │ └── fsnotify_windows.go │ ├── go-utils │ │ ├── ufs │ │ │ ├── README.md │ │ │ ├── _gob.gtxt │ │ │ ├── doc.go │ │ │ ├── fs.go │ │ │ ├── walker.go │ │ │ ├── watcher-default.go │ │ │ └── watcher-sandboxed.go │ │ ├── ugo │ │ │ ├── README.md │ │ │ ├── doc.go │ │ │ └── util.go │ │ ├── uslice │ │ │ ├── -gen-sort.gt │ │ │ ├── -gen.gt │ │ │ ├── README.md │ │ │ ├── bool.gt.go │ │ │ ├── doc.go │ │ │ ├── f64.gt.go │ │ │ ├── int.gt.go │ │ │ └── str.gt.go │ │ └── ustr │ │ │ ├── README.md │ │ │ ├── buf.go │ │ │ ├── doc.go │ │ │ ├── matcher.go │ │ │ └── str.go │ ├── jbowtie │ │ └── gokogiri │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── AUTHOR │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── VERSION │ │ │ ├── css │ │ │ ├── css.go │ │ │ ├── css_test.go │ │ │ ├── notes.txt │ │ │ └── test │ │ │ │ ├── inputs │ │ │ │ ├── outputs-global │ │ │ │ └── outputs-local │ │ │ ├── gokogiri.go │ │ │ ├── gokogiri_test.go │ │ │ ├── help │ │ │ ├── help.go │ │ │ ├── help_test.go │ │ │ └── util_test.go │ │ │ ├── html │ │ │ ├── crash_test.go │ │ │ ├── document.go │ │ │ ├── document_test.go │ │ │ ├── encoding_test.go │ │ │ ├── fragment.go │ │ │ ├── fragment_test.go │ │ │ ├── helper.c │ │ │ ├── helper.h │ │ │ ├── node_test.go │ │ │ ├── tests │ │ │ │ └── document │ │ │ │ │ ├── encoding │ │ │ │ │ └── input.html │ │ │ │ │ └── html_fragment_encoding │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ ├── utils_test.go │ │ │ └── xpath_test.go │ │ │ ├── mem │ │ │ ├── libxml.c │ │ │ ├── libxml.h │ │ │ ├── mem.go │ │ │ └── mem_test.go │ │ │ ├── util │ │ │ ├── util.go │ │ │ └── util_test.go │ │ │ ├── xml │ │ │ ├── attribute.go │ │ │ ├── attribute_test.go │ │ │ ├── cdata.go │ │ │ ├── comment.go │ │ │ ├── document.go │ │ │ ├── document_test.go │ │ │ ├── element.go │ │ │ ├── fragment.go │ │ │ ├── fragment_test.go │ │ │ ├── helper.c │ │ │ ├── helper.h │ │ │ ├── node.go │ │ │ ├── node_test.go │ │ │ ├── nodeset.go │ │ │ ├── pi.go │ │ │ ├── search_test.go │ │ │ ├── tests │ │ │ │ ├── document │ │ │ │ │ ├── basic │ │ │ │ │ │ ├── input.txt │ │ │ │ │ │ └── output.txt │ │ │ │ │ ├── big_un │ │ │ │ │ │ ├── input.txt │ │ │ │ │ │ └── output.txt │ │ │ │ │ ├── empty │ │ │ │ │ │ ├── input.txt │ │ │ │ │ │ └── output.txt │ │ │ │ │ └── normal │ │ │ │ │ │ ├── input.txt │ │ │ │ │ │ └── output.txt │ │ │ │ └── node │ │ │ │ │ ├── add_ancestor │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── add_child │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── add_next_sibling │ │ │ │ │ ├── input.txt │ │ │ │ │ ├── input.txt~ │ │ │ │ │ └── output.txt │ │ │ │ │ ├── add_previous_sibling │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── add_previous_sibling2 │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── attributes │ │ │ │ │ ├── input.txt │ │ │ │ │ ├── output.txt │ │ │ │ │ └── output.txt~ │ │ │ │ │ ├── declare_namespace │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── inner │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── inner_with_attributes │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── replace │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── search │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── set_children │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── set_content │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── set_default_namespace │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ ├── set_namespace │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ │ └── set_ns_attr │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ ├── text.go │ │ │ └── utils_test.go │ │ │ └── xpath │ │ │ ├── expression.go │ │ │ ├── util.go │ │ │ ├── util_test.go │ │ │ ├── xpath.go │ │ │ └── xpath_test.go │ ├── onsi │ │ ├── ginkgo │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── config │ │ │ │ └── config.go │ │ │ ├── extensions │ │ │ │ └── table │ │ │ │ │ ├── table.go │ │ │ │ │ ├── table_entry.go │ │ │ │ │ ├── table_suite_test.go │ │ │ │ │ └── table_test.go │ │ │ ├── ginkgo │ │ │ │ ├── bootstrap_command.go │ │ │ │ ├── build_command.go │ │ │ │ ├── convert │ │ │ │ │ ├── ginkgo_ast_nodes.go │ │ │ │ │ ├── import.go │ │ │ │ │ ├── package_rewriter.go │ │ │ │ │ ├── test_finder.go │ │ │ │ │ ├── testfile_rewriter.go │ │ │ │ │ └── testing_t_rewriter.go │ │ │ │ ├── convert_command.go │ │ │ │ ├── generate_command.go │ │ │ │ ├── help_command.go │ │ │ │ ├── interrupthandler │ │ │ │ │ ├── interrupt_handler.go │ │ │ │ │ ├── sigquit_swallower_unix.go │ │ │ │ │ └── sigquit_swallower_windows.go │ │ │ │ ├── main.go │ │ │ │ ├── nodot │ │ │ │ │ ├── nodot.go │ │ │ │ │ ├── nodot_suite_test.go │ │ │ │ │ └── nodot_test.go │ │ │ │ ├── nodot_command.go │ │ │ │ ├── notifications.go │ │ │ │ ├── run_command.go │ │ │ │ ├── run_watch_and_build_command_flags.go │ │ │ │ ├── suite_runner.go │ │ │ │ ├── testrunner │ │ │ │ │ ├── log_writer.go │ │ │ │ │ ├── run_result.go │ │ │ │ │ └── test_runner.go │ │ │ │ ├── testsuite │ │ │ │ │ ├── test_suite.go │ │ │ │ │ ├── testsuite_suite_test.go │ │ │ │ │ ├── testsuite_test.go │ │ │ │ │ ├── vendor_check_go15.go │ │ │ │ │ ├── vendor_check_go15_test.go │ │ │ │ │ └── vendor_check_go16.go │ │ │ │ ├── unfocus_command.go │ │ │ │ ├── version_command.go │ │ │ │ ├── watch │ │ │ │ │ ├── delta.go │ │ │ │ │ ├── delta_tracker.go │ │ │ │ │ ├── dependencies.go │ │ │ │ │ ├── package_hash.go │ │ │ │ │ ├── package_hashes.go │ │ │ │ │ └── suite.go │ │ │ │ └── watch_command.go │ │ │ ├── ginkgo_dsl.go │ │ │ ├── integration │ │ │ │ ├── _fixtures │ │ │ │ │ ├── convert_fixtures │ │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ │ ├── nested │ │ │ │ │ │ │ └── nested_test.go │ │ │ │ │ │ ├── nested_without_gofiles │ │ │ │ │ │ │ └── subpackage │ │ │ │ │ │ │ │ └── nested_subpackage_test.go │ │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ │ └── xunit_test.go │ │ │ │ │ ├── convert_goldmasters │ │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ │ ├── fixtures_suite_test.go │ │ │ │ │ │ ├── nested_subpackage_test.go │ │ │ │ │ │ ├── nested_suite_test.go │ │ │ │ │ │ ├── nested_test.go │ │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ │ ├── suite_test.go │ │ │ │ │ │ └── xunit_test.go │ │ │ │ │ ├── coverage_fixture │ │ │ │ │ │ ├── coverage.go │ │ │ │ │ │ ├── coverage_fixture_suite_test.go │ │ │ │ │ │ ├── coverage_fixture_test.go │ │ │ │ │ │ └── external_coverage_fixture │ │ │ │ │ │ │ └── external_coverage.go │ │ │ │ │ ├── does_not_compile │ │ │ │ │ │ ├── does_not_compile_suite_test.go │ │ │ │ │ │ └── does_not_compile_test.go │ │ │ │ │ ├── eventually_failing │ │ │ │ │ │ ├── eventually_failing_suite_test.go │ │ │ │ │ │ └── eventually_failing_test.go │ │ │ │ │ ├── exiting_synchronized_setup_tests │ │ │ │ │ │ └── exiting_synchronized_setup_tests_suite_test.go │ │ │ │ │ ├── fail_fixture │ │ │ │ │ │ ├── fail_fixture_suite_test.go │ │ │ │ │ │ └── fail_fixture_test.go │ │ │ │ │ ├── failing_after_suite │ │ │ │ │ │ ├── failing_after_suite_suite_test.go │ │ │ │ │ │ └── failing_after_suite_test.go │ │ │ │ │ ├── failing_before_suite │ │ │ │ │ │ ├── failing_before_suite_suite_test.go │ │ │ │ │ │ └── failing_before_suite_test.go │ │ │ │ │ ├── failing_ginkgo_tests │ │ │ │ │ │ ├── failing_ginkgo_tests.go │ │ │ │ │ │ ├── failing_ginkgo_tests_suite_test.go │ │ │ │ │ │ └── failing_ginkgo_tests_test.go │ │ │ │ │ ├── flags_tests │ │ │ │ │ │ ├── flags.go │ │ │ │ │ │ ├── flags_suite_test.go │ │ │ │ │ │ └── flags_test.go │ │ │ │ │ ├── focused_fixture │ │ │ │ │ │ ├── focused_fixture_suite_test.go │ │ │ │ │ │ └── focused_fixture_test.go │ │ │ │ │ ├── hanging_suite │ │ │ │ │ │ ├── hanging_suite_suite_test.go │ │ │ │ │ │ └── hanging_suite_test.go │ │ │ │ │ ├── more_ginkgo_tests │ │ │ │ │ │ ├── more_ginkgo_tests.go │ │ │ │ │ │ ├── more_ginkgo_tests_suite_test.go │ │ │ │ │ │ └── more_ginkgo_tests_test.go │ │ │ │ │ ├── no_tests │ │ │ │ │ │ └── no_tests.go │ │ │ │ │ ├── passing_ginkgo_tests │ │ │ │ │ │ ├── passing_ginkgo_tests.go │ │ │ │ │ │ ├── passing_ginkgo_tests_suite_test.go │ │ │ │ │ │ └── passing_ginkgo_tests_test.go │ │ │ │ │ ├── passing_suite_setup │ │ │ │ │ │ ├── passing_suite_setup_suite_test.go │ │ │ │ │ │ └── passing_suite_test.go │ │ │ │ │ ├── progress_fixture │ │ │ │ │ │ ├── progress_fixture_suite_test.go │ │ │ │ │ │ └── progress_fixture_test.go │ │ │ │ │ ├── skip_fixture │ │ │ │ │ │ ├── skip_fixture_suite_test.go │ │ │ │ │ │ └── skip_fixture_test.go │ │ │ │ │ ├── suite_command_tests │ │ │ │ │ │ ├── suite_command.go │ │ │ │ │ │ ├── suite_command_suite_test.go │ │ │ │ │ │ └── suite_command_test.go │ │ │ │ │ ├── synchronized_setup_tests │ │ │ │ │ │ └── synchronized_setup_tests_suite_test.go │ │ │ │ │ ├── tags_tests │ │ │ │ │ │ ├── ignored_test.go │ │ │ │ │ │ ├── tags_tests_suite_test.go │ │ │ │ │ │ └── tags_tests_test.go │ │ │ │ │ ├── test_description │ │ │ │ │ │ ├── test_description_suite_test.go │ │ │ │ │ │ └── test_description_test.go │ │ │ │ │ ├── watch_fixtures │ │ │ │ │ │ ├── A │ │ │ │ │ │ │ ├── A.go │ │ │ │ │ │ │ ├── A_suite_test.go │ │ │ │ │ │ │ └── A_test.go │ │ │ │ │ │ ├── B │ │ │ │ │ │ │ ├── B.go │ │ │ │ │ │ │ ├── B_suite_test.go │ │ │ │ │ │ │ └── B_test.go │ │ │ │ │ │ ├── C │ │ │ │ │ │ │ ├── C.go │ │ │ │ │ │ │ ├── C_suite_test.go │ │ │ │ │ │ │ └── C_test.go │ │ │ │ │ │ └── D │ │ │ │ │ │ │ ├── D.go │ │ │ │ │ │ │ ├── D_suite_test.go │ │ │ │ │ │ │ └── D_test.go │ │ │ │ │ └── xunit_tests │ │ │ │ │ │ ├── xunit_tests.go │ │ │ │ │ │ └── xunit_tests_test.go │ │ │ │ ├── convert_test.go │ │ │ │ ├── coverage_test.go │ │ │ │ ├── fail_test.go │ │ │ │ ├── flags_test.go │ │ │ │ ├── integration.go │ │ │ │ ├── integration_suite_test.go │ │ │ │ ├── interrupt_test.go │ │ │ │ ├── precompiled_test.go │ │ │ │ ├── progress_test.go │ │ │ │ ├── run_test.go │ │ │ │ ├── skip_test.go │ │ │ │ ├── subcommand_test.go │ │ │ │ ├── suite_command_test.go │ │ │ │ ├── suite_setup_test.go │ │ │ │ ├── tags_test.go │ │ │ │ ├── test_description_test.go │ │ │ │ ├── verbose_and_succinct_test.go │ │ │ │ └── watch_test.go │ │ │ ├── internal │ │ │ │ ├── codelocation │ │ │ │ │ ├── code_location.go │ │ │ │ │ ├── code_location_suite_test.go │ │ │ │ │ └── code_location_test.go │ │ │ │ ├── containernode │ │ │ │ │ ├── container_node.go │ │ │ │ │ ├── container_node_suite_test.go │ │ │ │ │ └── container_node_test.go │ │ │ │ ├── failer │ │ │ │ │ ├── failer.go │ │ │ │ │ ├── failer_suite_test.go │ │ │ │ │ └── failer_test.go │ │ │ │ ├── leafnodes │ │ │ │ │ ├── benchmarker.go │ │ │ │ │ ├── interfaces.go │ │ │ │ │ ├── it_node.go │ │ │ │ │ ├── it_node_test.go │ │ │ │ │ ├── leaf_node_suite_test.go │ │ │ │ │ ├── measure_node.go │ │ │ │ │ ├── measure_node_test.go │ │ │ │ │ ├── runner.go │ │ │ │ │ ├── setup_nodes.go │ │ │ │ │ ├── setup_nodes_test.go │ │ │ │ │ ├── shared_runner_test.go │ │ │ │ │ ├── suite_nodes.go │ │ │ │ │ ├── suite_nodes_test.go │ │ │ │ │ ├── synchronized_after_suite_node.go │ │ │ │ │ ├── synchronized_after_suite_node_test.go │ │ │ │ │ ├── synchronized_before_suite_node.go │ │ │ │ │ └── synchronized_before_suite_node_test.go │ │ │ │ ├── remote │ │ │ │ │ ├── aggregator.go │ │ │ │ │ ├── aggregator_test.go │ │ │ │ │ ├── fake_output_interceptor_test.go │ │ │ │ │ ├── fake_poster_test.go │ │ │ │ │ ├── forwarding_reporter.go │ │ │ │ │ ├── forwarding_reporter_test.go │ │ │ │ │ ├── output_interceptor.go │ │ │ │ │ ├── output_interceptor_unix.go │ │ │ │ │ ├── output_interceptor_win.go │ │ │ │ │ ├── remote_suite_test.go │ │ │ │ │ ├── server.go │ │ │ │ │ ├── server_test.go │ │ │ │ │ ├── syscall_dup_linux_arm64.go │ │ │ │ │ └── syscall_dup_unix.go │ │ │ │ ├── spec │ │ │ │ │ ├── index_computer.go │ │ │ │ │ ├── index_computer_test.go │ │ │ │ │ ├── spec.go │ │ │ │ │ ├── spec_suite_test.go │ │ │ │ │ ├── spec_test.go │ │ │ │ │ ├── specs.go │ │ │ │ │ └── specs_test.go │ │ │ │ ├── specrunner │ │ │ │ │ ├── random_id.go │ │ │ │ │ ├── spec_runner.go │ │ │ │ │ ├── spec_runner_suite_test.go │ │ │ │ │ └── spec_runner_test.go │ │ │ │ ├── suite │ │ │ │ │ ├── suite.go │ │ │ │ │ ├── suite_suite_test.go │ │ │ │ │ └── suite_test.go │ │ │ │ ├── testingtproxy │ │ │ │ │ └── testing_t_proxy.go │ │ │ │ └── writer │ │ │ │ │ ├── fake_writer.go │ │ │ │ │ ├── writer.go │ │ │ │ │ ├── writer_suite_test.go │ │ │ │ │ └── writer_test.go │ │ │ ├── reporters │ │ │ │ ├── default_reporter.go │ │ │ │ ├── default_reporter_test.go │ │ │ │ ├── fake_reporter.go │ │ │ │ ├── junit_reporter.go │ │ │ │ ├── junit_reporter_test.go │ │ │ │ ├── reporter.go │ │ │ │ ├── reporters_suite_test.go │ │ │ │ ├── stenographer │ │ │ │ │ ├── console_logging.go │ │ │ │ │ ├── fake_stenographer.go │ │ │ │ │ └── stenographer.go │ │ │ │ ├── teamcity_reporter.go │ │ │ │ └── teamcity_reporter_test.go │ │ │ └── types │ │ │ │ ├── code_location.go │ │ │ │ ├── synchronization.go │ │ │ │ ├── types.go │ │ │ │ ├── types_suite_test.go │ │ │ │ └── types_test.go │ │ └── gomega │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── format │ │ │ ├── format.go │ │ │ ├── format_suite_test.go │ │ │ └── format_test.go │ │ │ ├── gbytes │ │ │ ├── buffer.go │ │ │ ├── buffer_test.go │ │ │ ├── gbuffer_suite_test.go │ │ │ ├── say_matcher.go │ │ │ └── say_matcher_test.go │ │ │ ├── gexec │ │ │ ├── _fixture │ │ │ │ └── firefly │ │ │ │ │ └── main.go │ │ │ ├── build.go │ │ │ ├── exit_matcher.go │ │ │ ├── exit_matcher_test.go │ │ │ ├── gexec_suite_test.go │ │ │ ├── prefixed_writer.go │ │ │ ├── prefixed_writer_test.go │ │ │ ├── session.go │ │ │ └── session_test.go │ │ │ ├── ghttp │ │ │ ├── handlers.go │ │ │ ├── protobuf │ │ │ │ ├── protobuf.go │ │ │ │ ├── simple_message.pb.go │ │ │ │ └── simple_message.proto │ │ │ ├── test_server.go │ │ │ ├── test_server_suite_test.go │ │ │ └── test_server_test.go │ │ │ ├── gomega_dsl.go │ │ │ ├── internal │ │ │ ├── assertion │ │ │ │ ├── assertion.go │ │ │ │ ├── assertion_suite_test.go │ │ │ │ └── assertion_test.go │ │ │ ├── asyncassertion │ │ │ │ ├── async_assertion.go │ │ │ │ ├── async_assertion_suite_test.go │ │ │ │ └── async_assertion_test.go │ │ │ ├── fakematcher │ │ │ │ └── fake_matcher.go │ │ │ ├── oraclematcher │ │ │ │ └── oracle_matcher.go │ │ │ └── testingtsupport │ │ │ │ ├── testing_t_support.go │ │ │ │ └── testing_t_support_test.go │ │ │ ├── matchers.go │ │ │ ├── matchers │ │ │ ├── and.go │ │ │ ├── and_test.go │ │ │ ├── assignable_to_type_of_matcher.go │ │ │ ├── assignable_to_type_of_matcher_test.go │ │ │ ├── be_a_directory.go │ │ │ ├── be_a_directory_test.go │ │ │ ├── be_a_regular_file.go │ │ │ ├── be_a_regular_file_test.go │ │ │ ├── be_an_existing_file.go │ │ │ ├── be_an_existing_file_test.go │ │ │ ├── be_closed_matcher.go │ │ │ ├── be_closed_matcher_test.go │ │ │ ├── be_empty_matcher.go │ │ │ ├── be_empty_matcher_test.go │ │ │ ├── be_equivalent_to_matcher.go │ │ │ ├── be_equivalent_to_matcher_test.go │ │ │ ├── be_false_matcher.go │ │ │ ├── be_false_matcher_test.go │ │ │ ├── be_identical_to.go │ │ │ ├── be_identical_to_test.go │ │ │ ├── be_nil_matcher.go │ │ │ ├── be_nil_matcher_test.go │ │ │ ├── be_numerically_matcher.go │ │ │ ├── be_numerically_matcher_test.go │ │ │ ├── be_sent_matcher.go │ │ │ ├── be_sent_matcher_test.go │ │ │ ├── be_temporally_matcher.go │ │ │ ├── be_temporally_matcher_test.go │ │ │ ├── be_true_matcher.go │ │ │ ├── be_true_matcher_test.go │ │ │ ├── be_zero_matcher.go │ │ │ ├── be_zero_matcher_test.go │ │ │ ├── consist_of.go │ │ │ ├── consist_of_test.go │ │ │ ├── contain_element_matcher.go │ │ │ ├── contain_element_matcher_test.go │ │ │ ├── contain_substring_matcher.go │ │ │ ├── contain_substring_matcher_test.go │ │ │ ├── equal_matcher.go │ │ │ ├── equal_matcher_test.go │ │ │ ├── have_cap_matcher.go │ │ │ ├── have_cap_matcher_test.go │ │ │ ├── have_key_matcher.go │ │ │ ├── have_key_matcher_test.go │ │ │ ├── have_key_with_value_matcher.go │ │ │ ├── have_key_with_value_matcher_test.go │ │ │ ├── have_len_matcher.go │ │ │ ├── have_len_matcher_test.go │ │ │ ├── have_occurred_matcher.go │ │ │ ├── have_occurred_matcher_test.go │ │ │ ├── have_prefix_matcher.go │ │ │ ├── have_prefix_matcher_test.go │ │ │ ├── have_suffix_matcher.go │ │ │ ├── have_suffix_matcher_test.go │ │ │ ├── match_error_matcher.go │ │ │ ├── match_error_matcher_test.go │ │ │ ├── match_json_matcher.go │ │ │ ├── match_json_matcher_test.go │ │ │ ├── match_regexp_matcher.go │ │ │ ├── match_regexp_matcher_test.go │ │ │ ├── matcher_tests_suite_test.go │ │ │ ├── not.go │ │ │ ├── not_test.go │ │ │ ├── or.go │ │ │ ├── or_test.go │ │ │ ├── panic_matcher.go │ │ │ ├── panic_matcher_test.go │ │ │ ├── receive_matcher.go │ │ │ ├── receive_matcher_test.go │ │ │ ├── succeed_matcher.go │ │ │ ├── succeed_matcher_test.go │ │ │ ├── support │ │ │ │ └── goraph │ │ │ │ │ ├── MIT.LICENSE │ │ │ │ │ ├── bipartitegraph │ │ │ │ │ ├── bipartitegraph.go │ │ │ │ │ └── bipartitegraphmatching.go │ │ │ │ │ ├── edge │ │ │ │ │ └── edge.go │ │ │ │ │ ├── node │ │ │ │ │ └── node.go │ │ │ │ │ └── util │ │ │ │ │ └── util.go │ │ │ ├── type_support.go │ │ │ ├── with_transform.go │ │ │ └── with_transform_test.go │ │ │ └── types │ │ │ └── types.go │ ├── opencontrol │ │ ├── compliance-masonry │ │ │ ├── .gitignore │ │ │ ├── .goxc.json │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── appveyor.yml │ │ │ ├── circle.yml │ │ │ ├── circleci │ │ │ │ ├── README.md │ │ │ │ └── coverage.sh │ │ │ ├── commands │ │ │ │ ├── diff │ │ │ │ │ ├── diff_suite_test.go │ │ │ │ │ ├── inventory.go │ │ │ │ │ └── inventory_test.go │ │ │ │ ├── docs │ │ │ │ │ ├── docs.go │ │ │ │ │ ├── docs_suite_test.go │ │ │ │ │ ├── docs_test.go │ │ │ │ │ ├── docx │ │ │ │ │ │ ├── docx.go │ │ │ │ │ │ ├── docx_suite_test.go │ │ │ │ │ │ └── docx_test.go │ │ │ │ │ └── gitbook │ │ │ │ │ │ ├── gitbook.go │ │ │ │ │ │ ├── gitbookCertification.go │ │ │ │ │ │ ├── gitbookCertification_test.go │ │ │ │ │ │ ├── gitbookComponents.go │ │ │ │ │ │ ├── gitbookComponents_test.go │ │ │ │ │ │ ├── gitbookSummaries.go │ │ │ │ │ │ ├── gitbookSummaries_test.go │ │ │ │ │ │ └── gitbook_test.go │ │ │ │ └── get │ │ │ │ │ └── get.go │ │ │ ├── compliance_masonry_go_suite_test.go │ │ │ ├── config │ │ │ │ ├── README.md │ │ │ │ ├── common │ │ │ │ │ ├── base.go │ │ │ │ │ ├── base_test.go │ │ │ │ │ ├── common_suite_test.go │ │ │ │ │ ├── entry.go │ │ │ │ │ ├── entry_test.go │ │ │ │ │ ├── mocks │ │ │ │ │ │ ├── BaseSchema.go │ │ │ │ │ │ ├── EntryDownloader.go │ │ │ │ │ │ └── SchemaParser.go │ │ │ │ │ └── resources │ │ │ │ │ │ ├── mocks │ │ │ │ │ │ └── ResourceGetter.go │ │ │ │ │ │ ├── resourceGetter.go │ │ │ │ │ │ ├── resourceGetter_test.go │ │ │ │ │ │ └── resources_suite_test.go │ │ │ │ ├── config_suite_test.go │ │ │ │ ├── parse.go │ │ │ │ ├── parse_test.go │ │ │ │ ├── parser │ │ │ │ │ └── parser.go │ │ │ │ └── versions │ │ │ │ │ └── 1.0.0 │ │ │ │ │ ├── 1.0.0_suite_test.go │ │ │ │ │ ├── schema.go │ │ │ │ │ └── schema_test.go │ │ │ ├── diff.go │ │ │ ├── diff_test.go │ │ │ ├── fixtures │ │ │ │ ├── component_fixtures │ │ │ │ │ ├── common │ │ │ │ │ │ ├── EC2BrokenControl │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ ├── EC2UnsupportedVersion │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ ├── EC2VersionNotSemver │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ └── EC2_InvalidFieldTypeForVersion2_0 │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ ├── v2_0_0 │ │ │ │ │ │ ├── EC2 │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ └── EC2WithKey │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ ├── v3_0_0 │ │ │ │ │ │ ├── EC2 │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ └── EC2WithKey │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ └── v3_1_0 │ │ │ │ │ │ ├── EC2 │ │ │ │ │ │ └── component.yaml │ │ │ │ │ │ └── EC2WithKey │ │ │ │ │ │ └── component.yaml │ │ │ │ ├── exports_fixtures │ │ │ │ │ ├── complete_export │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── SUMMARY.md │ │ │ │ │ │ ├── components │ │ │ │ │ │ │ └── EC2.md │ │ │ │ │ │ └── standards │ │ │ │ │ │ │ ├── NIST-800-53-AC-2.md │ │ │ │ │ │ │ ├── NIST-800-53-AC-6.md │ │ │ │ │ │ │ ├── NIST-800-53-AC.md │ │ │ │ │ │ │ ├── NIST-800-53-CM-2.md │ │ │ │ │ │ │ ├── NIST-800-53-CM.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.1.1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-2.1.md │ │ │ │ │ │ │ └── PCI-DSS-MAY-2015-2.md │ │ │ │ │ ├── complete_export_with_markdown │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── SUMMARY.md │ │ │ │ │ │ ├── components │ │ │ │ │ │ │ └── EC2.md │ │ │ │ │ │ ├── standards │ │ │ │ │ │ │ ├── NIST-800-53-AC-2.md │ │ │ │ │ │ │ ├── NIST-800-53-AC-6.md │ │ │ │ │ │ │ ├── NIST-800-53-AC.md │ │ │ │ │ │ │ ├── NIST-800-53-CM-2.md │ │ │ │ │ │ │ ├── NIST-800-53-CM.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.1.1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-2.1.md │ │ │ │ │ │ │ └── PCI-DSS-MAY-2015-2.md │ │ │ │ │ │ └── system_documentation │ │ │ │ │ │ │ └── about-the-ssp.md │ │ │ │ │ ├── gitbook_exports │ │ │ │ │ │ ├── components_readme.md │ │ │ │ │ │ ├── general_readme.md │ │ │ │ │ │ ├── standards │ │ │ │ │ │ │ ├── NIST-800-53-AC.md │ │ │ │ │ │ │ ├── NIST-800-53-CM.md │ │ │ │ │ │ │ ├── PCI-DSS-MAY-2015-1.md │ │ │ │ │ │ │ └── PCI-DSS-MAY-2015-2.md │ │ │ │ │ │ └── standards_readme.md │ │ │ │ │ └── output.docx │ │ │ │ ├── opencontrol_fixtures │ │ │ │ │ ├── certifications │ │ │ │ │ │ └── LATO.yaml │ │ │ │ │ ├── components │ │ │ │ │ │ └── EC2 │ │ │ │ │ │ │ ├── artifact-ec2-1.png │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ └── standards │ │ │ │ │ │ ├── NIST-800-53.yaml │ │ │ │ │ │ └── PCI-DSS-MAY-2015.yaml │ │ │ │ ├── opencontrol_fixtures_complete │ │ │ │ │ ├── certifications │ │ │ │ │ │ └── LATO.yaml │ │ │ │ │ ├── components │ │ │ │ │ │ └── EC2 │ │ │ │ │ │ │ ├── artifact-ec2-1.png │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ └── standards │ │ │ │ │ │ ├── NIST-800-53.yaml │ │ │ │ │ │ └── PCI-DSS-MAY-2015.yaml │ │ │ │ ├── opencontrol_fixtures_with_markdown │ │ │ │ │ ├── certifications │ │ │ │ │ │ └── LATO.yaml │ │ │ │ │ ├── components │ │ │ │ │ │ └── EC2 │ │ │ │ │ │ │ ├── artifact-ec2-1.png │ │ │ │ │ │ │ └── component.yaml │ │ │ │ │ ├── markdowns │ │ │ │ │ │ ├── SUMMARY.md │ │ │ │ │ │ └── system_documentation │ │ │ │ │ │ │ └── about-the-ssp.md │ │ │ │ │ └── standards │ │ │ │ │ │ ├── NIST-800-53.yaml │ │ │ │ │ │ └── PCI-DSS-MAY-2015.yaml │ │ │ │ ├── standards_fixtures │ │ │ │ │ └── BrokenStandard │ │ │ │ │ │ └── NIST-800-53.yaml │ │ │ │ └── template_fixtures │ │ │ │ │ ├── test.docx │ │ │ │ │ └── test_corrupted.docx │ │ │ ├── glide.lock │ │ │ ├── glide.yaml │ │ │ ├── masonry-go.go │ │ │ ├── masonry-go_test.go │ │ │ ├── models │ │ │ │ ├── certifications.go │ │ │ │ ├── certifications_test.go │ │ │ │ ├── common │ │ │ │ │ ├── references.go │ │ │ │ │ └── references_test.go │ │ │ │ ├── components │ │ │ │ │ ├── README.md │ │ │ │ │ ├── components.go │ │ │ │ │ └── versions │ │ │ │ │ │ ├── 2_0_0 │ │ │ │ │ │ ├── component.go │ │ │ │ │ │ └── component_test.go │ │ │ │ │ │ ├── 3_0_0 │ │ │ │ │ │ ├── component.go │ │ │ │ │ │ └── component_test.go │ │ │ │ │ │ ├── 3_1_0 │ │ │ │ │ │ ├── component.go │ │ │ │ │ │ └── component_test.go │ │ │ │ │ │ ├── base │ │ │ │ │ │ └── component.go │ │ │ │ │ │ ├── parse.go │ │ │ │ │ │ └── parse_test.go │ │ │ │ ├── justifications.go │ │ │ │ ├── justifications_test.go │ │ │ │ ├── opencontrol.go │ │ │ │ ├── opencontrol_test.go │ │ │ │ ├── standards.go │ │ │ │ └── standards_test.go │ │ │ ├── release.sh │ │ │ ├── tools │ │ │ │ ├── certifications │ │ │ │ │ └── certifications.go │ │ │ │ ├── constants │ │ │ │ │ └── constants.go │ │ │ │ ├── fs │ │ │ │ │ ├── fs.go │ │ │ │ │ └── mocks │ │ │ │ │ │ └── Util.go │ │ │ │ ├── mapset │ │ │ │ │ ├── map.go │ │ │ │ │ ├── map_test.go │ │ │ │ │ └── mapset_suite_test.go │ │ │ │ └── vcs │ │ │ │ │ ├── manager.go │ │ │ │ │ ├── manager_test.go │ │ │ │ │ ├── mocks │ │ │ │ │ └── RepoManager.go │ │ │ │ │ └── vcs_suite_test.go │ │ │ └── vendor │ │ │ │ ├── github.com │ │ │ │ ├── Masterminds │ │ │ │ │ └── vcs │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bzr.go │ │ │ │ │ │ ├── bzr_test.go │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── errors_test.go │ │ │ │ │ │ ├── git.go │ │ │ │ │ │ ├── git_test.go │ │ │ │ │ │ ├── glide.yaml │ │ │ │ │ │ ├── hg.go │ │ │ │ │ │ ├── hg_test.go │ │ │ │ │ │ ├── repo.go │ │ │ │ │ │ ├── repo_test.go │ │ │ │ │ │ ├── svn.go │ │ │ │ │ │ ├── svn_test.go │ │ │ │ │ │ ├── vcs_local_lookup.go │ │ │ │ │ │ ├── vcs_remote_lookup.go │ │ │ │ │ │ └── vcs_remote_lookup_test.go │ │ │ │ ├── blang │ │ │ │ │ └── semver │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── examples │ │ │ │ │ │ └── main.go │ │ │ │ │ │ ├── json.go │ │ │ │ │ │ ├── json_test.go │ │ │ │ │ │ ├── range.go │ │ │ │ │ │ ├── range_test.go │ │ │ │ │ │ ├── semver.go │ │ │ │ │ │ ├── semver_test.go │ │ │ │ │ │ ├── sort.go │ │ │ │ │ │ ├── sort_test.go │ │ │ │ │ │ ├── sql.go │ │ │ │ │ │ └── sql_test.go │ │ │ │ ├── codegangsta │ │ │ │ │ └── cli │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── altsrc │ │ │ │ │ │ ├── flag.go │ │ │ │ │ │ ├── flag_test.go │ │ │ │ │ │ ├── helpers_test.go │ │ │ │ │ │ ├── input_source_context.go │ │ │ │ │ │ ├── map_input_source.go │ │ │ │ │ │ ├── yaml_command_test.go │ │ │ │ │ │ └── yaml_file_loader.go │ │ │ │ │ │ ├── app.go │ │ │ │ │ │ ├── app_test.go │ │ │ │ │ │ ├── appveyor.yml │ │ │ │ │ │ ├── autocomplete │ │ │ │ │ │ ├── bash_autocomplete │ │ │ │ │ │ └── zsh_autocomplete │ │ │ │ │ │ ├── category.go │ │ │ │ │ │ ├── cli.go │ │ │ │ │ │ ├── command.go │ │ │ │ │ │ ├── command_test.go │ │ │ │ │ │ ├── context.go │ │ │ │ │ │ ├── context_test.go │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── errors_test.go │ │ │ │ │ │ ├── flag.go │ │ │ │ │ │ ├── flag_test.go │ │ │ │ │ │ ├── funcs.go │ │ │ │ │ │ ├── help.go │ │ │ │ │ │ ├── help_test.go │ │ │ │ │ │ ├── helpers_test.go │ │ │ │ │ │ └── runtests │ │ │ │ ├── davecgh │ │ │ │ │ └── go-spew │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── cov_report.sh │ │ │ │ │ │ ├── spew │ │ │ │ │ │ ├── bypass.go │ │ │ │ │ │ ├── bypasssafe.go │ │ │ │ │ │ ├── common.go │ │ │ │ │ │ ├── common_test.go │ │ │ │ │ │ ├── config.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── dump.go │ │ │ │ │ │ ├── dump_test.go │ │ │ │ │ │ ├── dumpcgo_test.go │ │ │ │ │ │ ├── dumpnocgo_test.go │ │ │ │ │ │ ├── example_test.go │ │ │ │ │ │ ├── format.go │ │ │ │ │ │ ├── format_test.go │ │ │ │ │ │ ├── internal_test.go │ │ │ │ │ │ ├── internalunsafe_test.go │ │ │ │ │ │ ├── spew.go │ │ │ │ │ │ ├── spew_test.go │ │ │ │ │ │ └── testdata │ │ │ │ │ │ │ └── dumpcgo.go │ │ │ │ │ │ └── test_coverage.txt │ │ │ │ ├── go-forks │ │ │ │ │ └── fsnotify │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── AUTHORS │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── example_test.go │ │ │ │ │ │ ├── fsnotify.go │ │ │ │ │ │ ├── fsnotify_bsd.go │ │ │ │ │ │ ├── fsnotify_linux.go │ │ │ │ │ │ ├── fsnotify_open_bsd.go │ │ │ │ │ │ ├── fsnotify_open_darwin.go │ │ │ │ │ │ ├── fsnotify_symlink_test.go │ │ │ │ │ │ ├── fsnotify_test.go │ │ │ │ │ │ └── fsnotify_windows.go │ │ │ │ ├── go-utils │ │ │ │ │ ├── ufs │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── _gob.gtxt │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── fs.go │ │ │ │ │ │ ├── walker.go │ │ │ │ │ │ ├── watcher-default.go │ │ │ │ │ │ └── watcher-sandboxed.go │ │ │ │ │ ├── ugo │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── util.go │ │ │ │ │ ├── uslice │ │ │ │ │ │ ├── -gen-sort.gt │ │ │ │ │ │ ├── -gen.gt │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bool.gt.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── f64.gt.go │ │ │ │ │ │ ├── int.gt.go │ │ │ │ │ │ └── str.gt.go │ │ │ │ │ └── ustr │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── buf.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── matcher.go │ │ │ │ │ │ └── str.go │ │ │ │ ├── golang │ │ │ │ │ └── protobuf │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── AUTHORS │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── Make.protobuf │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── jsonpb │ │ │ │ │ │ ├── jsonpb.go │ │ │ │ │ │ ├── jsonpb_test.go │ │ │ │ │ │ └── jsonpb_test_proto │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── more_test_objects.pb.go │ │ │ │ │ │ │ ├── more_test_objects.proto │ │ │ │ │ │ │ ├── test_objects.pb.go │ │ │ │ │ │ │ └── test_objects.proto │ │ │ │ │ │ ├── proto │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── all_test.go │ │ │ │ │ │ ├── any_test.go │ │ │ │ │ │ ├── clone.go │ │ │ │ │ │ ├── clone_test.go │ │ │ │ │ │ ├── decode.go │ │ │ │ │ │ ├── encode.go │ │ │ │ │ │ ├── equal.go │ │ │ │ │ │ ├── equal_test.go │ │ │ │ │ │ ├── extensions.go │ │ │ │ │ │ ├── extensions_test.go │ │ │ │ │ │ ├── lib.go │ │ │ │ │ │ ├── message_set.go │ │ │ │ │ │ ├── message_set_test.go │ │ │ │ │ │ ├── pointer_reflect.go │ │ │ │ │ │ ├── pointer_unsafe.go │ │ │ │ │ │ ├── properties.go │ │ │ │ │ │ ├── proto3_proto │ │ │ │ │ │ │ ├── proto3.pb.go │ │ │ │ │ │ │ └── proto3.proto │ │ │ │ │ │ ├── proto3_test.go │ │ │ │ │ │ ├── size2_test.go │ │ │ │ │ │ ├── size_test.go │ │ │ │ │ │ ├── testdata │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── golden_test.go │ │ │ │ │ │ │ ├── test.pb.go │ │ │ │ │ │ │ └── test.proto │ │ │ │ │ │ ├── text.go │ │ │ │ │ │ ├── text_parser.go │ │ │ │ │ │ ├── text_parser_test.go │ │ │ │ │ │ └── text_test.go │ │ │ │ │ │ ├── protoc-gen-go │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── descriptor │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ └── descriptor.pb.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── generator │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── generator.go │ │ │ │ │ │ │ └── name_test.go │ │ │ │ │ │ ├── grpc │ │ │ │ │ │ │ └── grpc.go │ │ │ │ │ │ ├── link_grpc.go │ │ │ │ │ │ ├── main.go │ │ │ │ │ │ ├── plugin │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── plugin.pb.go │ │ │ │ │ │ │ └── plugin.pb.golden │ │ │ │ │ │ └── testdata │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── extension_base.proto │ │ │ │ │ │ │ ├── extension_extra.proto │ │ │ │ │ │ │ ├── extension_test.go │ │ │ │ │ │ │ ├── extension_user.proto │ │ │ │ │ │ │ ├── grpc.proto │ │ │ │ │ │ │ ├── imp.pb.go.golden │ │ │ │ │ │ │ ├── imp.proto │ │ │ │ │ │ │ ├── imp2.proto │ │ │ │ │ │ │ ├── imp3.proto │ │ │ │ │ │ │ ├── main_test.go │ │ │ │ │ │ │ ├── multi │ │ │ │ │ │ │ ├── multi1.proto │ │ │ │ │ │ │ ├── multi2.proto │ │ │ │ │ │ │ └── multi3.proto │ │ │ │ │ │ │ ├── my_test │ │ │ │ │ │ │ ├── test.pb.go │ │ │ │ │ │ │ ├── test.pb.go.golden │ │ │ │ │ │ │ └── test.proto │ │ │ │ │ │ │ └── proto3.proto │ │ │ │ │ │ └── ptypes │ │ │ │ │ │ ├── any.go │ │ │ │ │ │ ├── any │ │ │ │ │ │ ├── any.pb.go │ │ │ │ │ │ └── any.proto │ │ │ │ │ │ ├── any_test.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── duration.go │ │ │ │ │ │ ├── duration │ │ │ │ │ │ ├── duration.pb.go │ │ │ │ │ │ └── duration.proto │ │ │ │ │ │ ├── duration_test.go │ │ │ │ │ │ ├── empty │ │ │ │ │ │ ├── empty.pb.go │ │ │ │ │ │ └── empty.proto │ │ │ │ │ │ ├── regen.sh │ │ │ │ │ │ ├── struct │ │ │ │ │ │ ├── struct.pb.go │ │ │ │ │ │ └── struct.proto │ │ │ │ │ │ ├── timestamp.go │ │ │ │ │ │ ├── timestamp │ │ │ │ │ │ ├── timestamp.pb.go │ │ │ │ │ │ └── timestamp.proto │ │ │ │ │ │ ├── timestamp_test.go │ │ │ │ │ │ └── wrappers │ │ │ │ │ │ ├── wrappers.pb.go │ │ │ │ │ │ └── wrappers.proto │ │ │ │ ├── onsi │ │ │ │ │ ├── ginkgo │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── config │ │ │ │ │ │ │ └── config.go │ │ │ │ │ │ ├── extensions │ │ │ │ │ │ │ └── table │ │ │ │ │ │ │ │ ├── table.go │ │ │ │ │ │ │ │ ├── table_entry.go │ │ │ │ │ │ │ │ ├── table_suite_test.go │ │ │ │ │ │ │ │ └── table_test.go │ │ │ │ │ │ ├── ginkgo │ │ │ │ │ │ │ ├── bootstrap_command.go │ │ │ │ │ │ │ ├── build_command.go │ │ │ │ │ │ │ ├── convert │ │ │ │ │ │ │ │ ├── ginkgo_ast_nodes.go │ │ │ │ │ │ │ │ ├── import.go │ │ │ │ │ │ │ │ ├── package_rewriter.go │ │ │ │ │ │ │ │ ├── test_finder.go │ │ │ │ │ │ │ │ ├── testfile_rewriter.go │ │ │ │ │ │ │ │ └── testing_t_rewriter.go │ │ │ │ │ │ │ ├── convert_command.go │ │ │ │ │ │ │ ├── generate_command.go │ │ │ │ │ │ │ ├── help_command.go │ │ │ │ │ │ │ ├── interrupthandler │ │ │ │ │ │ │ │ ├── interrupt_handler.go │ │ │ │ │ │ │ │ ├── sigquit_swallower_unix.go │ │ │ │ │ │ │ │ └── sigquit_swallower_windows.go │ │ │ │ │ │ │ ├── main.go │ │ │ │ │ │ │ ├── nodot │ │ │ │ │ │ │ │ ├── nodot.go │ │ │ │ │ │ │ │ ├── nodot_suite_test.go │ │ │ │ │ │ │ │ └── nodot_test.go │ │ │ │ │ │ │ ├── nodot_command.go │ │ │ │ │ │ │ ├── notifications.go │ │ │ │ │ │ │ ├── run_command.go │ │ │ │ │ │ │ ├── run_watch_and_build_command_flags.go │ │ │ │ │ │ │ ├── suite_runner.go │ │ │ │ │ │ │ ├── testrunner │ │ │ │ │ │ │ │ ├── log_writer.go │ │ │ │ │ │ │ │ ├── run_result.go │ │ │ │ │ │ │ │ └── test_runner.go │ │ │ │ │ │ │ ├── testsuite │ │ │ │ │ │ │ │ ├── test_suite.go │ │ │ │ │ │ │ │ ├── testsuite_suite_test.go │ │ │ │ │ │ │ │ ├── testsuite_test.go │ │ │ │ │ │ │ │ ├── vendor_check_go15.go │ │ │ │ │ │ │ │ ├── vendor_check_go15_test.go │ │ │ │ │ │ │ │ └── vendor_check_go16.go │ │ │ │ │ │ │ ├── unfocus_command.go │ │ │ │ │ │ │ ├── version_command.go │ │ │ │ │ │ │ ├── watch │ │ │ │ │ │ │ │ ├── delta.go │ │ │ │ │ │ │ │ ├── delta_tracker.go │ │ │ │ │ │ │ │ ├── dependencies.go │ │ │ │ │ │ │ │ ├── package_hash.go │ │ │ │ │ │ │ │ ├── package_hashes.go │ │ │ │ │ │ │ │ └── suite.go │ │ │ │ │ │ │ └── watch_command.go │ │ │ │ │ │ ├── ginkgo_dsl.go │ │ │ │ │ │ ├── integration │ │ │ │ │ │ │ ├── _fixtures │ │ │ │ │ │ │ │ ├── convert_fixtures │ │ │ │ │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ │ │ │ │ ├── nested │ │ │ │ │ │ │ │ │ │ └── nested_test.go │ │ │ │ │ │ │ │ │ ├── nested_without_gofiles │ │ │ │ │ │ │ │ │ │ └── subpackage │ │ │ │ │ │ │ │ │ │ │ └── nested_subpackage_test.go │ │ │ │ │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ │ │ │ │ └── xunit_test.go │ │ │ │ │ │ │ │ ├── convert_goldmasters │ │ │ │ │ │ │ │ │ ├── extra_functions_test.go │ │ │ │ │ │ │ │ │ ├── fixtures_suite_test.go │ │ │ │ │ │ │ │ │ ├── nested_subpackage_test.go │ │ │ │ │ │ │ │ │ ├── nested_suite_test.go │ │ │ │ │ │ │ │ │ ├── nested_test.go │ │ │ │ │ │ │ │ │ ├── outside_package_test.go │ │ │ │ │ │ │ │ │ ├── suite_test.go │ │ │ │ │ │ │ │ │ └── xunit_test.go │ │ │ │ │ │ │ │ ├── coverage_fixture │ │ │ │ │ │ │ │ │ ├── coverage.go │ │ │ │ │ │ │ │ │ ├── coverage_fixture_suite_test.go │ │ │ │ │ │ │ │ │ ├── coverage_fixture_test.go │ │ │ │ │ │ │ │ │ └── external_coverage_fixture │ │ │ │ │ │ │ │ │ │ └── external_coverage.go │ │ │ │ │ │ │ │ ├── does_not_compile │ │ │ │ │ │ │ │ │ ├── does_not_compile_suite_test.go │ │ │ │ │ │ │ │ │ └── does_not_compile_test.go │ │ │ │ │ │ │ │ ├── eventually_failing │ │ │ │ │ │ │ │ │ ├── eventually_failing_suite_test.go │ │ │ │ │ │ │ │ │ └── eventually_failing_test.go │ │ │ │ │ │ │ │ ├── exiting_synchronized_setup_tests │ │ │ │ │ │ │ │ │ └── exiting_synchronized_setup_tests_suite_test.go │ │ │ │ │ │ │ │ ├── fail_fixture │ │ │ │ │ │ │ │ │ ├── fail_fixture_suite_test.go │ │ │ │ │ │ │ │ │ └── fail_fixture_test.go │ │ │ │ │ │ │ │ ├── failing_after_suite │ │ │ │ │ │ │ │ │ ├── failing_after_suite_suite_test.go │ │ │ │ │ │ │ │ │ └── failing_after_suite_test.go │ │ │ │ │ │ │ │ ├── failing_before_suite │ │ │ │ │ │ │ │ │ ├── failing_before_suite_suite_test.go │ │ │ │ │ │ │ │ │ └── failing_before_suite_test.go │ │ │ │ │ │ │ │ ├── failing_ginkgo_tests │ │ │ │ │ │ │ │ │ ├── failing_ginkgo_tests.go │ │ │ │ │ │ │ │ │ ├── failing_ginkgo_tests_suite_test.go │ │ │ │ │ │ │ │ │ └── failing_ginkgo_tests_test.go │ │ │ │ │ │ │ │ ├── flags_tests │ │ │ │ │ │ │ │ │ ├── flags.go │ │ │ │ │ │ │ │ │ ├── flags_suite_test.go │ │ │ │ │ │ │ │ │ └── flags_test.go │ │ │ │ │ │ │ │ ├── focused_fixture │ │ │ │ │ │ │ │ │ ├── focused_fixture_suite_test.go │ │ │ │ │ │ │ │ │ └── focused_fixture_test.go │ │ │ │ │ │ │ │ ├── hanging_suite │ │ │ │ │ │ │ │ │ ├── hanging_suite_suite_test.go │ │ │ │ │ │ │ │ │ └── hanging_suite_test.go │ │ │ │ │ │ │ │ ├── more_ginkgo_tests │ │ │ │ │ │ │ │ │ ├── more_ginkgo_tests.go │ │ │ │ │ │ │ │ │ ├── more_ginkgo_tests_suite_test.go │ │ │ │ │ │ │ │ │ └── more_ginkgo_tests_test.go │ │ │ │ │ │ │ │ ├── no_tests │ │ │ │ │ │ │ │ │ └── no_tests.go │ │ │ │ │ │ │ │ ├── passing_ginkgo_tests │ │ │ │ │ │ │ │ │ ├── passing_ginkgo_tests.go │ │ │ │ │ │ │ │ │ ├── passing_ginkgo_tests_suite_test.go │ │ │ │ │ │ │ │ │ └── passing_ginkgo_tests_test.go │ │ │ │ │ │ │ │ ├── passing_suite_setup │ │ │ │ │ │ │ │ │ ├── passing_suite_setup_suite_test.go │ │ │ │ │ │ │ │ │ └── passing_suite_test.go │ │ │ │ │ │ │ │ ├── progress_fixture │ │ │ │ │ │ │ │ │ ├── progress_fixture_suite_test.go │ │ │ │ │ │ │ │ │ └── progress_fixture_test.go │ │ │ │ │ │ │ │ ├── skip_fixture │ │ │ │ │ │ │ │ │ ├── skip_fixture_suite_test.go │ │ │ │ │ │ │ │ │ └── skip_fixture_test.go │ │ │ │ │ │ │ │ ├── suite_command_tests │ │ │ │ │ │ │ │ │ ├── suite_command.go │ │ │ │ │ │ │ │ │ ├── suite_command_suite_test.go │ │ │ │ │ │ │ │ │ └── suite_command_test.go │ │ │ │ │ │ │ │ ├── synchronized_setup_tests │ │ │ │ │ │ │ │ │ └── synchronized_setup_tests_suite_test.go │ │ │ │ │ │ │ │ ├── tags_tests │ │ │ │ │ │ │ │ │ ├── ignored_test.go │ │ │ │ │ │ │ │ │ ├── tags_tests_suite_test.go │ │ │ │ │ │ │ │ │ └── tags_tests_test.go │ │ │ │ │ │ │ │ ├── test_description │ │ │ │ │ │ │ │ │ ├── test_description_suite_test.go │ │ │ │ │ │ │ │ │ └── test_description_test.go │ │ │ │ │ │ │ │ ├── watch_fixtures │ │ │ │ │ │ │ │ │ ├── A │ │ │ │ │ │ │ │ │ │ ├── A.go │ │ │ │ │ │ │ │ │ │ ├── A_suite_test.go │ │ │ │ │ │ │ │ │ │ └── A_test.go │ │ │ │ │ │ │ │ │ ├── B │ │ │ │ │ │ │ │ │ │ ├── B.go │ │ │ │ │ │ │ │ │ │ ├── B_suite_test.go │ │ │ │ │ │ │ │ │ │ └── B_test.go │ │ │ │ │ │ │ │ │ ├── C │ │ │ │ │ │ │ │ │ │ ├── C.go │ │ │ │ │ │ │ │ │ │ ├── C_suite_test.go │ │ │ │ │ │ │ │ │ │ └── C_test.go │ │ │ │ │ │ │ │ │ └── D │ │ │ │ │ │ │ │ │ │ ├── D.go │ │ │ │ │ │ │ │ │ │ ├── D_suite_test.go │ │ │ │ │ │ │ │ │ │ └── D_test.go │ │ │ │ │ │ │ │ └── xunit_tests │ │ │ │ │ │ │ │ │ ├── xunit_tests.go │ │ │ │ │ │ │ │ │ └── xunit_tests_test.go │ │ │ │ │ │ │ ├── convert_test.go │ │ │ │ │ │ │ ├── coverage_test.go │ │ │ │ │ │ │ ├── fail_test.go │ │ │ │ │ │ │ ├── flags_test.go │ │ │ │ │ │ │ ├── integration.go │ │ │ │ │ │ │ ├── integration_suite_test.go │ │ │ │ │ │ │ ├── interrupt_test.go │ │ │ │ │ │ │ ├── precompiled_test.go │ │ │ │ │ │ │ ├── progress_test.go │ │ │ │ │ │ │ ├── run_test.go │ │ │ │ │ │ │ ├── skip_test.go │ │ │ │ │ │ │ ├── subcommand_test.go │ │ │ │ │ │ │ ├── suite_command_test.go │ │ │ │ │ │ │ ├── suite_setup_test.go │ │ │ │ │ │ │ ├── tags_test.go │ │ │ │ │ │ │ ├── test_description_test.go │ │ │ │ │ │ │ ├── verbose_and_succinct_test.go │ │ │ │ │ │ │ └── watch_test.go │ │ │ │ │ │ ├── internal │ │ │ │ │ │ │ ├── codelocation │ │ │ │ │ │ │ │ ├── code_location.go │ │ │ │ │ │ │ │ ├── code_location_suite_test.go │ │ │ │ │ │ │ │ └── code_location_test.go │ │ │ │ │ │ │ ├── containernode │ │ │ │ │ │ │ │ ├── container_node.go │ │ │ │ │ │ │ │ ├── container_node_suite_test.go │ │ │ │ │ │ │ │ └── container_node_test.go │ │ │ │ │ │ │ ├── failer │ │ │ │ │ │ │ │ ├── failer.go │ │ │ │ │ │ │ │ ├── failer_suite_test.go │ │ │ │ │ │ │ │ └── failer_test.go │ │ │ │ │ │ │ ├── leafnodes │ │ │ │ │ │ │ │ ├── benchmarker.go │ │ │ │ │ │ │ │ ├── interfaces.go │ │ │ │ │ │ │ │ ├── it_node.go │ │ │ │ │ │ │ │ ├── it_node_test.go │ │ │ │ │ │ │ │ ├── leaf_node_suite_test.go │ │ │ │ │ │ │ │ ├── measure_node.go │ │ │ │ │ │ │ │ ├── measure_node_test.go │ │ │ │ │ │ │ │ ├── runner.go │ │ │ │ │ │ │ │ ├── setup_nodes.go │ │ │ │ │ │ │ │ ├── setup_nodes_test.go │ │ │ │ │ │ │ │ ├── shared_runner_test.go │ │ │ │ │ │ │ │ ├── suite_nodes.go │ │ │ │ │ │ │ │ ├── suite_nodes_test.go │ │ │ │ │ │ │ │ ├── synchronized_after_suite_node.go │ │ │ │ │ │ │ │ ├── synchronized_after_suite_node_test.go │ │ │ │ │ │ │ │ ├── synchronized_before_suite_node.go │ │ │ │ │ │ │ │ └── synchronized_before_suite_node_test.go │ │ │ │ │ │ │ ├── remote │ │ │ │ │ │ │ │ ├── aggregator.go │ │ │ │ │ │ │ │ ├── aggregator_test.go │ │ │ │ │ │ │ │ ├── fake_output_interceptor_test.go │ │ │ │ │ │ │ │ ├── fake_poster_test.go │ │ │ │ │ │ │ │ ├── forwarding_reporter.go │ │ │ │ │ │ │ │ ├── forwarding_reporter_test.go │ │ │ │ │ │ │ │ ├── output_interceptor.go │ │ │ │ │ │ │ │ ├── output_interceptor_unix.go │ │ │ │ │ │ │ │ ├── output_interceptor_win.go │ │ │ │ │ │ │ │ ├── remote_suite_test.go │ │ │ │ │ │ │ │ ├── server.go │ │ │ │ │ │ │ │ ├── server_test.go │ │ │ │ │ │ │ │ ├── syscall_dup_linux_arm64.go │ │ │ │ │ │ │ │ ├── syscall_dup_solaris.go │ │ │ │ │ │ │ │ └── syscall_dup_unix.go │ │ │ │ │ │ │ ├── spec │ │ │ │ │ │ │ │ ├── index_computer.go │ │ │ │ │ │ │ │ ├── index_computer_test.go │ │ │ │ │ │ │ │ ├── spec.go │ │ │ │ │ │ │ │ ├── spec_suite_test.go │ │ │ │ │ │ │ │ ├── spec_test.go │ │ │ │ │ │ │ │ ├── specs.go │ │ │ │ │ │ │ │ └── specs_test.go │ │ │ │ │ │ │ ├── specrunner │ │ │ │ │ │ │ │ ├── random_id.go │ │ │ │ │ │ │ │ ├── spec_runner.go │ │ │ │ │ │ │ │ ├── spec_runner_suite_test.go │ │ │ │ │ │ │ │ └── spec_runner_test.go │ │ │ │ │ │ │ ├── suite │ │ │ │ │ │ │ │ ├── suite.go │ │ │ │ │ │ │ │ ├── suite_suite_test.go │ │ │ │ │ │ │ │ └── suite_test.go │ │ │ │ │ │ │ ├── testingtproxy │ │ │ │ │ │ │ │ └── testing_t_proxy.go │ │ │ │ │ │ │ └── writer │ │ │ │ │ │ │ │ ├── fake_writer.go │ │ │ │ │ │ │ │ ├── writer.go │ │ │ │ │ │ │ │ ├── writer_suite_test.go │ │ │ │ │ │ │ │ └── writer_test.go │ │ │ │ │ │ ├── reporters │ │ │ │ │ │ │ ├── default_reporter.go │ │ │ │ │ │ │ ├── default_reporter_test.go │ │ │ │ │ │ │ ├── fake_reporter.go │ │ │ │ │ │ │ ├── junit_reporter.go │ │ │ │ │ │ │ ├── junit_reporter_test.go │ │ │ │ │ │ │ ├── reporter.go │ │ │ │ │ │ │ ├── reporters_suite_test.go │ │ │ │ │ │ │ ├── stenographer │ │ │ │ │ │ │ │ ├── console_logging.go │ │ │ │ │ │ │ │ ├── fake_stenographer.go │ │ │ │ │ │ │ │ └── stenographer.go │ │ │ │ │ │ │ ├── teamcity_reporter.go │ │ │ │ │ │ │ └── teamcity_reporter_test.go │ │ │ │ │ │ └── types │ │ │ │ │ │ │ ├── code_location.go │ │ │ │ │ │ │ ├── synchronization.go │ │ │ │ │ │ │ ├── types.go │ │ │ │ │ │ │ ├── types_suite_test.go │ │ │ │ │ │ │ └── types_test.go │ │ │ │ │ └── gomega │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── format │ │ │ │ │ │ ├── format.go │ │ │ │ │ │ ├── format_suite_test.go │ │ │ │ │ │ └── format_test.go │ │ │ │ │ │ ├── gbytes │ │ │ │ │ │ ├── buffer.go │ │ │ │ │ │ ├── buffer_test.go │ │ │ │ │ │ ├── gbuffer_suite_test.go │ │ │ │ │ │ ├── say_matcher.go │ │ │ │ │ │ └── say_matcher_test.go │ │ │ │ │ │ ├── gexec │ │ │ │ │ │ ├── _fixture │ │ │ │ │ │ │ └── firefly │ │ │ │ │ │ │ │ └── main.go │ │ │ │ │ │ ├── build.go │ │ │ │ │ │ ├── build_test.go │ │ │ │ │ │ ├── exit_matcher.go │ │ │ │ │ │ ├── exit_matcher_test.go │ │ │ │ │ │ ├── gexec_suite_test.go │ │ │ │ │ │ ├── prefixed_writer.go │ │ │ │ │ │ ├── prefixed_writer_test.go │ │ │ │ │ │ ├── session.go │ │ │ │ │ │ └── session_test.go │ │ │ │ │ │ ├── ghttp │ │ │ │ │ │ ├── handlers.go │ │ │ │ │ │ ├── protobuf │ │ │ │ │ │ │ ├── protobuf.go │ │ │ │ │ │ │ ├── simple_message.pb.go │ │ │ │ │ │ │ └── simple_message.proto │ │ │ │ │ │ ├── test_server.go │ │ │ │ │ │ ├── test_server_suite_test.go │ │ │ │ │ │ └── test_server_test.go │ │ │ │ │ │ ├── gomega_dsl.go │ │ │ │ │ │ ├── internal │ │ │ │ │ │ ├── assertion │ │ │ │ │ │ │ ├── assertion.go │ │ │ │ │ │ │ ├── assertion_suite_test.go │ │ │ │ │ │ │ └── assertion_test.go │ │ │ │ │ │ ├── asyncassertion │ │ │ │ │ │ │ ├── async_assertion.go │ │ │ │ │ │ │ ├── async_assertion_suite_test.go │ │ │ │ │ │ │ └── async_assertion_test.go │ │ │ │ │ │ ├── fakematcher │ │ │ │ │ │ │ └── fake_matcher.go │ │ │ │ │ │ ├── oraclematcher │ │ │ │ │ │ │ └── oracle_matcher.go │ │ │ │ │ │ └── testingtsupport │ │ │ │ │ │ │ ├── testing_t_support.go │ │ │ │ │ │ │ └── testing_t_support_test.go │ │ │ │ │ │ ├── matchers.go │ │ │ │ │ │ ├── matchers │ │ │ │ │ │ ├── and.go │ │ │ │ │ │ ├── and_test.go │ │ │ │ │ │ ├── assignable_to_type_of_matcher.go │ │ │ │ │ │ ├── assignable_to_type_of_matcher_test.go │ │ │ │ │ │ ├── be_a_directory.go │ │ │ │ │ │ ├── be_a_directory_test.go │ │ │ │ │ │ ├── be_a_regular_file.go │ │ │ │ │ │ ├── be_a_regular_file_test.go │ │ │ │ │ │ ├── be_an_existing_file.go │ │ │ │ │ │ ├── be_an_existing_file_test.go │ │ │ │ │ │ ├── be_closed_matcher.go │ │ │ │ │ │ ├── be_closed_matcher_test.go │ │ │ │ │ │ ├── be_empty_matcher.go │ │ │ │ │ │ ├── be_empty_matcher_test.go │ │ │ │ │ │ ├── be_equivalent_to_matcher.go │ │ │ │ │ │ ├── be_equivalent_to_matcher_test.go │ │ │ │ │ │ ├── be_false_matcher.go │ │ │ │ │ │ ├── be_false_matcher_test.go │ │ │ │ │ │ ├── be_identical_to.go │ │ │ │ │ │ ├── be_identical_to_test.go │ │ │ │ │ │ ├── be_nil_matcher.go │ │ │ │ │ │ ├── be_nil_matcher_test.go │ │ │ │ │ │ ├── be_numerically_matcher.go │ │ │ │ │ │ ├── be_numerically_matcher_test.go │ │ │ │ │ │ ├── be_sent_matcher.go │ │ │ │ │ │ ├── be_sent_matcher_test.go │ │ │ │ │ │ ├── be_temporally_matcher.go │ │ │ │ │ │ ├── be_temporally_matcher_test.go │ │ │ │ │ │ ├── be_true_matcher.go │ │ │ │ │ │ ├── be_true_matcher_test.go │ │ │ │ │ │ ├── be_zero_matcher.go │ │ │ │ │ │ ├── be_zero_matcher_test.go │ │ │ │ │ │ ├── consist_of.go │ │ │ │ │ │ ├── consist_of_test.go │ │ │ │ │ │ ├── contain_element_matcher.go │ │ │ │ │ │ ├── contain_element_matcher_test.go │ │ │ │ │ │ ├── contain_substring_matcher.go │ │ │ │ │ │ ├── contain_substring_matcher_test.go │ │ │ │ │ │ ├── equal_matcher.go │ │ │ │ │ │ ├── equal_matcher_test.go │ │ │ │ │ │ ├── have_cap_matcher.go │ │ │ │ │ │ ├── have_cap_matcher_test.go │ │ │ │ │ │ ├── have_key_matcher.go │ │ │ │ │ │ ├── have_key_matcher_test.go │ │ │ │ │ │ ├── have_key_with_value_matcher.go │ │ │ │ │ │ ├── have_key_with_value_matcher_test.go │ │ │ │ │ │ ├── have_len_matcher.go │ │ │ │ │ │ ├── have_len_matcher_test.go │ │ │ │ │ │ ├── have_occurred_matcher.go │ │ │ │ │ │ ├── have_occurred_matcher_test.go │ │ │ │ │ │ ├── have_prefix_matcher.go │ │ │ │ │ │ ├── have_prefix_matcher_test.go │ │ │ │ │ │ ├── have_suffix_matcher.go │ │ │ │ │ │ ├── have_suffix_matcher_test.go │ │ │ │ │ │ ├── match_error_matcher.go │ │ │ │ │ │ ├── match_error_matcher_test.go │ │ │ │ │ │ ├── match_json_matcher.go │ │ │ │ │ │ ├── match_json_matcher_test.go │ │ │ │ │ │ ├── match_regexp_matcher.go │ │ │ │ │ │ ├── match_regexp_matcher_test.go │ │ │ │ │ │ ├── match_yaml_matcher.go │ │ │ │ │ │ ├── match_yaml_matcher_test.go │ │ │ │ │ │ ├── matcher_tests_suite_test.go │ │ │ │ │ │ ├── not.go │ │ │ │ │ │ ├── not_test.go │ │ │ │ │ │ ├── or.go │ │ │ │ │ │ ├── or_test.go │ │ │ │ │ │ ├── panic_matcher.go │ │ │ │ │ │ ├── panic_matcher_test.go │ │ │ │ │ │ ├── receive_matcher.go │ │ │ │ │ │ ├── receive_matcher_test.go │ │ │ │ │ │ ├── succeed_matcher.go │ │ │ │ │ │ ├── succeed_matcher_test.go │ │ │ │ │ │ ├── support │ │ │ │ │ │ │ └── goraph │ │ │ │ │ │ │ │ ├── MIT.LICENSE │ │ │ │ │ │ │ │ ├── bipartitegraph │ │ │ │ │ │ │ │ ├── bipartitegraph.go │ │ │ │ │ │ │ │ └── bipartitegraphmatching.go │ │ │ │ │ │ │ │ ├── edge │ │ │ │ │ │ │ │ └── edge.go │ │ │ │ │ │ │ │ ├── node │ │ │ │ │ │ │ │ └── node.go │ │ │ │ │ │ │ │ └── util │ │ │ │ │ │ │ │ └── util.go │ │ │ │ │ │ ├── type_support.go │ │ │ │ │ │ ├── with_transform.go │ │ │ │ │ │ └── with_transform_test.go │ │ │ │ │ │ └── types │ │ │ │ │ │ └── types.go │ │ │ │ ├── opencontrol │ │ │ │ │ └── doc-template │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── base.go │ │ │ │ │ │ ├── docx │ │ │ │ │ │ ├── docx.go │ │ │ │ │ │ ├── docx_test.go │ │ │ │ │ │ ├── fixtures │ │ │ │ │ │ │ └── test.docx │ │ │ │ │ │ └── utils.go │ │ │ │ │ │ └── mocks │ │ │ │ │ │ └── Document.go │ │ │ │ ├── pmezard │ │ │ │ │ └── go-difflib │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ └── difflib │ │ │ │ │ │ ├── difflib.go │ │ │ │ │ │ └── difflib_test.go │ │ │ │ ├── stretchr │ │ │ │ │ ├── objx │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── accessors.go │ │ │ │ │ │ ├── accessors_test.go │ │ │ │ │ │ ├── codegen │ │ │ │ │ │ │ ├── array-access.txt │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── template.txt │ │ │ │ │ │ │ └── types_list.txt │ │ │ │ │ │ ├── constants.go │ │ │ │ │ │ ├── conversions.go │ │ │ │ │ │ ├── conversions_test.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── fixture_test.go │ │ │ │ │ │ ├── map.go │ │ │ │ │ │ ├── map_for_test.go │ │ │ │ │ │ ├── map_test.go │ │ │ │ │ │ ├── mutations.go │ │ │ │ │ │ ├── mutations_test.go │ │ │ │ │ │ ├── security.go │ │ │ │ │ │ ├── security_test.go │ │ │ │ │ │ ├── simple_example_test.go │ │ │ │ │ │ ├── tests.go │ │ │ │ │ │ ├── tests_test.go │ │ │ │ │ │ ├── type_specific_codegen.go │ │ │ │ │ │ ├── type_specific_codegen_test.go │ │ │ │ │ │ ├── value.go │ │ │ │ │ │ └── value_test.go │ │ │ │ │ └── testify │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── Godeps │ │ │ │ │ │ ├── Godeps.json │ │ │ │ │ │ └── Readme │ │ │ │ │ │ ├── LICENCE.txt │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── _codegen │ │ │ │ │ │ └── main.go │ │ │ │ │ │ ├── assert │ │ │ │ │ │ ├── assertion_forward.go │ │ │ │ │ │ ├── assertion_forward.go.tmpl │ │ │ │ │ │ ├── assertions.go │ │ │ │ │ │ ├── assertions_test.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── forward_assertions.go │ │ │ │ │ │ ├── forward_assertions_test.go │ │ │ │ │ │ ├── http_assertions.go │ │ │ │ │ │ └── http_assertions_test.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── http │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── test_response_writer.go │ │ │ │ │ │ └── test_round_tripper.go │ │ │ │ │ │ ├── mock │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── mock.go │ │ │ │ │ │ └── mock_test.go │ │ │ │ │ │ ├── package_test.go │ │ │ │ │ │ ├── require │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── forward_requirements.go │ │ │ │ │ │ ├── forward_requirements_test.go │ │ │ │ │ │ ├── require.go │ │ │ │ │ │ ├── require.go.tmpl │ │ │ │ │ │ ├── require_forward.go │ │ │ │ │ │ ├── require_forward.go.tmpl │ │ │ │ │ │ ├── requirements.go │ │ │ │ │ │ └── requirements_test.go │ │ │ │ │ │ ├── suite │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── interfaces.go │ │ │ │ │ │ ├── suite.go │ │ │ │ │ │ └── suite_test.go │ │ │ │ │ │ └── vendor │ │ │ │ │ │ └── github.com │ │ │ │ │ │ ├── davecgh │ │ │ │ │ │ └── go-spew │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ └── spew │ │ │ │ │ │ │ ├── bypass.go │ │ │ │ │ │ │ ├── bypasssafe.go │ │ │ │ │ │ │ ├── common.go │ │ │ │ │ │ │ ├── config.go │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ ├── dump.go │ │ │ │ │ │ │ ├── format.go │ │ │ │ │ │ │ └── spew.go │ │ │ │ │ │ ├── pmezard │ │ │ │ │ │ └── go-difflib │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ └── difflib │ │ │ │ │ │ │ └── difflib.go │ │ │ │ │ │ └── stretchr │ │ │ │ │ │ └── objx │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── accessors.go │ │ │ │ │ │ ├── codegen │ │ │ │ │ │ ├── array-access.txt │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── template.txt │ │ │ │ │ │ └── types_list.txt │ │ │ │ │ │ ├── constants.go │ │ │ │ │ │ ├── conversions.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ ├── map.go │ │ │ │ │ │ ├── mutations.go │ │ │ │ │ │ ├── security.go │ │ │ │ │ │ ├── tests.go │ │ │ │ │ │ ├── type_specific_codegen.go │ │ │ │ │ │ └── value.go │ │ │ │ ├── tg │ │ │ │ │ └── gosortmap │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── sortmap.go │ │ │ │ │ │ └── sortmap_test.go │ │ │ │ ├── urfave │ │ │ │ │ └── cli │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── altsrc │ │ │ │ │ │ ├── flag.go │ │ │ │ │ │ ├── flag_test.go │ │ │ │ │ │ ├── helpers_test.go │ │ │ │ │ │ ├── input_source_context.go │ │ │ │ │ │ ├── map_input_source.go │ │ │ │ │ │ ├── yaml_command_test.go │ │ │ │ │ │ └── yaml_file_loader.go │ │ │ │ │ │ ├── app.go │ │ │ │ │ │ ├── app_test.go │ │ │ │ │ │ ├── appveyor.yml │ │ │ │ │ │ ├── autocomplete │ │ │ │ │ │ ├── bash_autocomplete │ │ │ │ │ │ └── zsh_autocomplete │ │ │ │ │ │ ├── category.go │ │ │ │ │ │ ├── cli.go │ │ │ │ │ │ ├── command.go │ │ │ │ │ │ ├── command_test.go │ │ │ │ │ │ ├── context.go │ │ │ │ │ │ ├── context_test.go │ │ │ │ │ │ ├── errors.go │ │ │ │ │ │ ├── errors_test.go │ │ │ │ │ │ ├── flag.go │ │ │ │ │ │ ├── flag_test.go │ │ │ │ │ │ ├── funcs.go │ │ │ │ │ │ ├── help.go │ │ │ │ │ │ ├── help_test.go │ │ │ │ │ │ ├── helpers_test.go │ │ │ │ │ │ └── runtests │ │ │ │ └── vektra │ │ │ │ │ └── errors │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── checking.go │ │ │ │ │ ├── details.go │ │ │ │ │ ├── details_test.go │ │ │ │ │ ├── eof_darwin.go │ │ │ │ │ ├── eof_default.go │ │ │ │ │ ├── eof_default_test.go │ │ │ │ │ ├── eof_linux.go │ │ │ │ │ ├── eof_test.go │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── errors_test.go │ │ │ │ │ └── print.go │ │ │ │ ├── golang.org │ │ │ │ └── x │ │ │ │ │ └── sys │ │ │ │ │ ├── .gitattributes │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── AUTHORS │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── PATENTS │ │ │ │ │ ├── README │ │ │ │ │ ├── codereview.cfg │ │ │ │ │ ├── plan9 │ │ │ │ │ ├── asm.s │ │ │ │ │ ├── asm_plan9_386.s │ │ │ │ │ ├── asm_plan9_amd64.s │ │ │ │ │ ├── const_plan9.go │ │ │ │ │ ├── dir_plan9.go │ │ │ │ │ ├── env_plan9.go │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── errors_plan9.go │ │ │ │ │ ├── mkall.sh │ │ │ │ │ ├── mkerrors.sh │ │ │ │ │ ├── mksyscall.pl │ │ │ │ │ ├── mksysnum_plan9.sh │ │ │ │ │ ├── pwd_go15_plan9.go │ │ │ │ │ ├── pwd_plan9.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── str.go │ │ │ │ │ ├── syscall.go │ │ │ │ │ ├── syscall_plan9.go │ │ │ │ │ ├── syscall_test.go │ │ │ │ │ ├── zsyscall_plan9_386.go │ │ │ │ │ ├── zsyscall_plan9_amd64.go │ │ │ │ │ └── zsysnum_plan9.go │ │ │ │ │ ├── unix │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── asm.s │ │ │ │ │ ├── asm_darwin_386.s │ │ │ │ │ ├── asm_darwin_amd64.s │ │ │ │ │ ├── asm_darwin_arm.s │ │ │ │ │ ├── asm_darwin_arm64.s │ │ │ │ │ ├── asm_dragonfly_amd64.s │ │ │ │ │ ├── asm_freebsd_386.s │ │ │ │ │ ├── asm_freebsd_amd64.s │ │ │ │ │ ├── asm_freebsd_arm.s │ │ │ │ │ ├── asm_linux_386.s │ │ │ │ │ ├── asm_linux_amd64.s │ │ │ │ │ ├── asm_linux_arm.s │ │ │ │ │ ├── asm_linux_arm64.s │ │ │ │ │ ├── asm_linux_mips64x.s │ │ │ │ │ ├── asm_linux_ppc64x.s │ │ │ │ │ ├── asm_linux_s390x.s │ │ │ │ │ ├── asm_netbsd_386.s │ │ │ │ │ ├── asm_netbsd_amd64.s │ │ │ │ │ ├── asm_netbsd_arm.s │ │ │ │ │ ├── asm_openbsd_386.s │ │ │ │ │ ├── asm_openbsd_amd64.s │ │ │ │ │ ├── asm_solaris_amd64.s │ │ │ │ │ ├── bluetooth_linux.go │ │ │ │ │ ├── constants.go │ │ │ │ │ ├── creds_test.go │ │ │ │ │ ├── env_unix.go │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── export_test.go │ │ │ │ │ ├── flock.go │ │ │ │ │ ├── flock_linux_32bit.go │ │ │ │ │ ├── gccgo.go │ │ │ │ │ ├── gccgo_c.c │ │ │ │ │ ├── gccgo_linux_amd64.go │ │ │ │ │ ├── mkall.sh │ │ │ │ │ ├── mkerrors.sh │ │ │ │ │ ├── mkpost.go │ │ │ │ │ ├── mksyscall.pl │ │ │ │ │ ├── mksyscall_solaris.pl │ │ │ │ │ ├── mksysctl_openbsd.pl │ │ │ │ │ ├── mksysnum_darwin.pl │ │ │ │ │ ├── mksysnum_dragonfly.pl │ │ │ │ │ ├── mksysnum_freebsd.pl │ │ │ │ │ ├── mksysnum_linux.pl │ │ │ │ │ ├── mksysnum_netbsd.pl │ │ │ │ │ ├── mksysnum_openbsd.pl │ │ │ │ │ ├── mmap_unix_test.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── sockcmsg_linux.go │ │ │ │ │ ├── sockcmsg_unix.go │ │ │ │ │ ├── str.go │ │ │ │ │ ├── syscall.go │ │ │ │ │ ├── syscall_bsd.go │ │ │ │ │ ├── syscall_bsd_test.go │ │ │ │ │ ├── syscall_darwin.go │ │ │ │ │ ├── syscall_darwin_386.go │ │ │ │ │ ├── syscall_darwin_amd64.go │ │ │ │ │ ├── syscall_darwin_arm.go │ │ │ │ │ ├── syscall_darwin_arm64.go │ │ │ │ │ ├── syscall_dragonfly.go │ │ │ │ │ ├── syscall_dragonfly_amd64.go │ │ │ │ │ ├── syscall_freebsd.go │ │ │ │ │ ├── syscall_freebsd_386.go │ │ │ │ │ ├── syscall_freebsd_amd64.go │ │ │ │ │ ├── syscall_freebsd_arm.go │ │ │ │ │ ├── syscall_freebsd_test.go │ │ │ │ │ ├── syscall_linux.go │ │ │ │ │ ├── syscall_linux_386.go │ │ │ │ │ ├── syscall_linux_amd64.go │ │ │ │ │ ├── syscall_linux_arm.go │ │ │ │ │ ├── syscall_linux_arm64.go │ │ │ │ │ ├── syscall_linux_mips64x.go │ │ │ │ │ ├── syscall_linux_ppc64x.go │ │ │ │ │ ├── syscall_linux_s390x.go │ │ │ │ │ ├── syscall_linux_test.go │ │ │ │ │ ├── syscall_netbsd.go │ │ │ │ │ ├── syscall_netbsd_386.go │ │ │ │ │ ├── syscall_netbsd_amd64.go │ │ │ │ │ ├── syscall_netbsd_arm.go │ │ │ │ │ ├── syscall_no_getwd.go │ │ │ │ │ ├── syscall_openbsd.go │ │ │ │ │ ├── syscall_openbsd_386.go │ │ │ │ │ ├── syscall_openbsd_amd64.go │ │ │ │ │ ├── syscall_solaris.go │ │ │ │ │ ├── syscall_solaris_amd64.go │ │ │ │ │ ├── syscall_test.go │ │ │ │ │ ├── syscall_unix.go │ │ │ │ │ ├── syscall_unix_test.go │ │ │ │ │ ├── types_darwin.go │ │ │ │ │ ├── types_dragonfly.go │ │ │ │ │ ├── types_freebsd.go │ │ │ │ │ ├── types_linux.go │ │ │ │ │ ├── types_netbsd.go │ │ │ │ │ ├── types_openbsd.go │ │ │ │ │ ├── types_solaris.go │ │ │ │ │ ├── zerrors_darwin_386.go │ │ │ │ │ ├── zerrors_darwin_amd64.go │ │ │ │ │ ├── zerrors_darwin_arm.go │ │ │ │ │ ├── zerrors_darwin_arm64.go │ │ │ │ │ ├── zerrors_dragonfly_amd64.go │ │ │ │ │ ├── zerrors_freebsd_386.go │ │ │ │ │ ├── zerrors_freebsd_amd64.go │ │ │ │ │ ├── zerrors_freebsd_arm.go │ │ │ │ │ ├── zerrors_linux_386.go │ │ │ │ │ ├── zerrors_linux_amd64.go │ │ │ │ │ ├── zerrors_linux_arm.go │ │ │ │ │ ├── zerrors_linux_arm64.go │ │ │ │ │ ├── zerrors_linux_mips64.go │ │ │ │ │ ├── zerrors_linux_mips64le.go │ │ │ │ │ ├── zerrors_linux_ppc64.go │ │ │ │ │ ├── zerrors_linux_ppc64le.go │ │ │ │ │ ├── zerrors_linux_s390x.go │ │ │ │ │ ├── zerrors_netbsd_386.go │ │ │ │ │ ├── zerrors_netbsd_amd64.go │ │ │ │ │ ├── zerrors_netbsd_arm.go │ │ │ │ │ ├── zerrors_openbsd_386.go │ │ │ │ │ ├── zerrors_openbsd_amd64.go │ │ │ │ │ ├── zerrors_solaris_amd64.go │ │ │ │ │ ├── zsyscall_darwin_386.go │ │ │ │ │ ├── zsyscall_darwin_amd64.go │ │ │ │ │ ├── zsyscall_darwin_arm.go │ │ │ │ │ ├── zsyscall_darwin_arm64.go │ │ │ │ │ ├── zsyscall_dragonfly_amd64.go │ │ │ │ │ ├── zsyscall_freebsd_386.go │ │ │ │ │ ├── zsyscall_freebsd_amd64.go │ │ │ │ │ ├── zsyscall_freebsd_arm.go │ │ │ │ │ ├── zsyscall_linux_386.go │ │ │ │ │ ├── zsyscall_linux_amd64.go │ │ │ │ │ ├── zsyscall_linux_arm.go │ │ │ │ │ ├── zsyscall_linux_arm64.go │ │ │ │ │ ├── zsyscall_linux_mips64.go │ │ │ │ │ ├── zsyscall_linux_mips64le.go │ │ │ │ │ ├── zsyscall_linux_ppc64.go │ │ │ │ │ ├── zsyscall_linux_ppc64le.go │ │ │ │ │ ├── zsyscall_linux_s390x.go │ │ │ │ │ ├── zsyscall_netbsd_386.go │ │ │ │ │ ├── zsyscall_netbsd_amd64.go │ │ │ │ │ ├── zsyscall_netbsd_arm.go │ │ │ │ │ ├── zsyscall_openbsd_386.go │ │ │ │ │ ├── zsyscall_openbsd_amd64.go │ │ │ │ │ ├── zsyscall_solaris_amd64.go │ │ │ │ │ ├── zsysctl_openbsd.go │ │ │ │ │ ├── zsysnum_darwin_386.go │ │ │ │ │ ├── zsysnum_darwin_amd64.go │ │ │ │ │ ├── zsysnum_darwin_arm.go │ │ │ │ │ ├── zsysnum_darwin_arm64.go │ │ │ │ │ ├── zsysnum_dragonfly_amd64.go │ │ │ │ │ ├── zsysnum_freebsd_386.go │ │ │ │ │ ├── zsysnum_freebsd_amd64.go │ │ │ │ │ ├── zsysnum_freebsd_arm.go │ │ │ │ │ ├── zsysnum_linux_386.go │ │ │ │ │ ├── zsysnum_linux_amd64.go │ │ │ │ │ ├── zsysnum_linux_arm.go │ │ │ │ │ ├── zsysnum_linux_arm64.go │ │ │ │ │ ├── zsysnum_linux_mips64.go │ │ │ │ │ ├── zsysnum_linux_mips64le.go │ │ │ │ │ ├── zsysnum_linux_ppc64.go │ │ │ │ │ ├── zsysnum_linux_ppc64le.go │ │ │ │ │ ├── zsysnum_linux_s390x.go │ │ │ │ │ ├── zsysnum_netbsd_386.go │ │ │ │ │ ├── zsysnum_netbsd_amd64.go │ │ │ │ │ ├── zsysnum_netbsd_arm.go │ │ │ │ │ ├── zsysnum_openbsd_386.go │ │ │ │ │ ├── zsysnum_openbsd_amd64.go │ │ │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ │ │ ├── ztypes_darwin_386.go │ │ │ │ │ ├── ztypes_darwin_amd64.go │ │ │ │ │ ├── ztypes_darwin_arm.go │ │ │ │ │ ├── ztypes_darwin_arm64.go │ │ │ │ │ ├── ztypes_dragonfly_amd64.go │ │ │ │ │ ├── ztypes_freebsd_386.go │ │ │ │ │ ├── ztypes_freebsd_amd64.go │ │ │ │ │ ├── ztypes_freebsd_arm.go │ │ │ │ │ ├── ztypes_linux_386.go │ │ │ │ │ ├── ztypes_linux_amd64.go │ │ │ │ │ ├── ztypes_linux_arm.go │ │ │ │ │ ├── ztypes_linux_arm64.go │ │ │ │ │ ├── ztypes_linux_mips64.go │ │ │ │ │ ├── ztypes_linux_mips64le.go │ │ │ │ │ ├── ztypes_linux_ppc64.go │ │ │ │ │ ├── ztypes_linux_ppc64le.go │ │ │ │ │ ├── ztypes_linux_s390x.go │ │ │ │ │ ├── ztypes_netbsd_386.go │ │ │ │ │ ├── ztypes_netbsd_amd64.go │ │ │ │ │ ├── ztypes_netbsd_arm.go │ │ │ │ │ ├── ztypes_openbsd_386.go │ │ │ │ │ ├── ztypes_openbsd_amd64.go │ │ │ │ │ └── ztypes_solaris_amd64.go │ │ │ │ │ └── windows │ │ │ │ │ ├── asm_windows_386.s │ │ │ │ │ ├── asm_windows_amd64.s │ │ │ │ │ ├── dll_windows.go │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── env_windows.go │ │ │ │ │ ├── eventlog.go │ │ │ │ │ ├── exec_windows.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── registry │ │ │ │ │ ├── export_test.go │ │ │ │ │ ├── key.go │ │ │ │ │ ├── registry_test.go │ │ │ │ │ ├── syscall.go │ │ │ │ │ ├── value.go │ │ │ │ │ └── zsyscall_windows.go │ │ │ │ │ ├── security_windows.go │ │ │ │ │ ├── service.go │ │ │ │ │ ├── str.go │ │ │ │ │ ├── svc │ │ │ │ │ ├── debug │ │ │ │ │ │ ├── log.go │ │ │ │ │ │ └── service.go │ │ │ │ │ ├── event.go │ │ │ │ │ ├── eventlog │ │ │ │ │ │ ├── install.go │ │ │ │ │ │ ├── log.go │ │ │ │ │ │ └── log_test.go │ │ │ │ │ ├── example │ │ │ │ │ │ ├── beep.go │ │ │ │ │ │ ├── install.go │ │ │ │ │ │ ├── main.go │ │ │ │ │ │ ├── manage.go │ │ │ │ │ │ └── service.go │ │ │ │ │ ├── go12.c │ │ │ │ │ ├── go12.go │ │ │ │ │ ├── go13.go │ │ │ │ │ ├── mgr │ │ │ │ │ │ ├── config.go │ │ │ │ │ │ ├── mgr.go │ │ │ │ │ │ ├── mgr_test.go │ │ │ │ │ │ └── service.go │ │ │ │ │ ├── security.go │ │ │ │ │ ├── service.go │ │ │ │ │ ├── svc_test.go │ │ │ │ │ ├── sys_386.s │ │ │ │ │ └── sys_amd64.s │ │ │ │ │ ├── syscall.go │ │ │ │ │ ├── syscall_test.go │ │ │ │ │ ├── syscall_windows.go │ │ │ │ │ ├── syscall_windows_test.go │ │ │ │ │ ├── zsyscall_windows.go │ │ │ │ │ ├── ztypes_windows.go │ │ │ │ │ ├── ztypes_windows_386.go │ │ │ │ │ └── ztypes_windows_amd64.go │ │ │ │ ├── gopkg.in │ │ │ │ ├── fatih │ │ │ │ │ └── set.v0 │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── set.go │ │ │ │ │ │ ├── set_nots.go │ │ │ │ │ │ ├── set_nots_test.go │ │ │ │ │ │ ├── set_test.go │ │ │ │ │ │ ├── set_ts.go │ │ │ │ │ │ └── set_ts_test.go │ │ │ │ └── yaml.v2 │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── LICENSE.libyaml │ │ │ │ │ ├── README.md │ │ │ │ │ ├── apic.go │ │ │ │ │ ├── decode.go │ │ │ │ │ ├── decode_test.go │ │ │ │ │ ├── emitterc.go │ │ │ │ │ ├── encode.go │ │ │ │ │ ├── encode_test.go │ │ │ │ │ ├── parserc.go │ │ │ │ │ ├── readerc.go │ │ │ │ │ ├── resolve.go │ │ │ │ │ ├── scannerc.go │ │ │ │ │ ├── sorter.go │ │ │ │ │ ├── suite_test.go │ │ │ │ │ ├── writerc.go │ │ │ │ │ ├── yaml.go │ │ │ │ │ ├── yamlh.go │ │ │ │ │ └── yamlprivateh.go │ │ │ │ └── vbom.ml │ │ │ │ └── util │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── cmd │ │ │ │ └── short-regexp │ │ │ │ │ └── main.go │ │ │ │ ├── doc.go │ │ │ │ ├── regexp.go │ │ │ │ ├── regexp_test.go │ │ │ │ ├── rope │ │ │ │ ├── README.md │ │ │ │ ├── concat.go │ │ │ │ ├── concat_test.go │ │ │ │ ├── debug.go │ │ │ │ ├── leaf.go │ │ │ │ ├── leaf_test.go │ │ │ │ ├── node.go │ │ │ │ ├── node_test.go │ │ │ │ ├── reader.go │ │ │ │ ├── reader_test.go │ │ │ │ ├── rebalance.go │ │ │ │ ├── rebalance_test.go │ │ │ │ ├── rope.go │ │ │ │ └── rope_test.go │ │ │ │ └── sortorder │ │ │ │ ├── README.md │ │ │ │ ├── doc.go │ │ │ │ ├── natsort.go │ │ │ │ └── natsort_test.go │ │ └── doc-template │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── base.go │ │ │ ├── docx │ │ │ ├── docx.go │ │ │ ├── docx_test.go │ │ │ ├── fixtures │ │ │ │ └── test.docx │ │ │ └── utils.go │ │ │ └── mocks │ │ │ └── Document.go │ └── vektra │ │ └── errors │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── checking.go │ │ ├── details.go │ │ ├── details_test.go │ │ ├── eof_darwin.go │ │ ├── eof_default.go │ │ ├── eof_default_test.go │ │ ├── eof_linux.go │ │ ├── eof_test.go │ │ ├── errors.go │ │ ├── errors_test.go │ │ └── print.go ├── gopkg.in │ ├── fatih │ │ └── set.v0 │ │ │ ├── .travis.yml │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── set.go │ │ │ ├── set_nots.go │ │ │ ├── set_nots_test.go │ │ │ ├── set_test.go │ │ │ ├── set_ts.go │ │ │ └── set_ts_test.go │ └── yaml.v2 │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── LICENSE.libyaml │ │ ├── README.md │ │ ├── apic.go │ │ ├── decode.go │ │ ├── decode_test.go │ │ ├── emitterc.go │ │ ├── encode.go │ │ ├── encode_test.go │ │ ├── parserc.go │ │ ├── readerc.go │ │ ├── resolve.go │ │ ├── scannerc.go │ │ ├── sorter.go │ │ ├── suite_test.go │ │ ├── writerc.go │ │ ├── yaml.go │ │ ├── yamlh.go │ │ └── yamlprivateh.go └── vbom.ml │ └── util │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── cmd │ └── short-regexp │ │ └── main.go │ ├── doc.go │ ├── regexp.go │ ├── regexp_test.go │ ├── rope │ ├── README.md │ ├── concat.go │ ├── concat_test.go │ ├── debug.go │ ├── leaf.go │ ├── leaf_test.go │ ├── node.go │ ├── node_test.go │ ├── reader.go │ ├── reader_test.go │ ├── rebalance.go │ ├── rebalance_test.go │ ├── rope.go │ └── rope_test.go │ └── sortorder │ ├── README.md │ ├── doc.go │ ├── natsort.go │ └── natsort_test.go └── xml └── helper └── helper.go /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | engines: 2 | fixme: 3 | enabled: true 4 | gofmt: 5 | enabled: true 6 | golint: 7 | enabled: true 8 | exclude_paths: 9 | # Ginkgo/Gomega style aren't compatible 10 | - "**_test.go" 11 | govet: 12 | enabled: true 13 | ratings: 14 | paths: 15 | - "**.go" 16 | exclude_paths: 17 | - fixtures/ 18 | - vendor/ 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # elements originally ignored 2 | tmp/ 3 | fedramp-templater 4 | ~$* 5 | .goxc.local.json 6 | bin 7 | 8 | # additional items that we want to ignore 9 | *~ 10 | .git 11 | *.pyc 12 | *.pyo 13 | .idea 14 | *.swp 15 | .DS_Store 16 | .swo 17 | .swp 18 | .*# 19 | 20 | -------------------------------------------------------------------------------- /.goxc.json: -------------------------------------------------------------------------------- 1 | { 2 | "Tasks": [ 3 | "default", 4 | "publish-github" 5 | ], 6 | "TasksExclude": [ 7 | "go-test" 8 | ], 9 | "BuildConstraints": "linux,windows,darwin", 10 | "PackageVersion": "1.0.0", 11 | "TaskSettings": { 12 | "publish-github": { 13 | "owner": "opencontrol", 14 | "repository": "fedramp-templater" 15 | } 16 | }, 17 | "ConfigVersion": "0.9" 18 | } 19 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - '1.6' 4 | # all dependencies should be vendored 5 | install: true 6 | script: go test -v $(go list ./... | grep -v /vendor/) 7 | -------------------------------------------------------------------------------- /FedRAMP-System-Security-Plan-Template-v2.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/FedRAMP-System-Security-Plan-Template-v2.1.docx -------------------------------------------------------------------------------- /common/source/info.go: -------------------------------------------------------------------------------- 1 | package source 2 | 3 | // Source represents the source of where the information is located. 4 | type Source string 5 | 6 | const ( 7 | // SSP indicates that the information is located in the SSP document. 8 | SSP Source = "SSP" 9 | // YAML indicates that the information is located in a YAML file. 10 | YAML Source = "YAML" 11 | ) 12 | -------------------------------------------------------------------------------- /control/control_suite_test.go: -------------------------------------------------------------------------------- 1 | package control_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestControl(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Control Suite") 13 | } 14 | -------------------------------------------------------------------------------- /control/field.go: -------------------------------------------------------------------------------- 1 | package control 2 | 3 | import ( 4 | "github.com/opencontrol/fedramp-templater/common/source" 5 | ) 6 | 7 | // field is the very simple representation of information. 8 | type field struct { 9 | source source.Source 10 | text string 11 | } 12 | -------------------------------------------------------------------------------- /fixtures/FedRAMP-System-Security-Plan-Template-v2.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/fixtures/FedRAMP-System-Security-Plan-Template-v2.1.docx -------------------------------------------------------------------------------- /fixtures/FedRAMP_ac-2-1_v2.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/fixtures/FedRAMP_ac-2-1_v2.1.docx -------------------------------------------------------------------------------- /fixtures/FedRAMP_ac-2_v2.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/fixtures/FedRAMP_ac-2_v2.1.docx -------------------------------------------------------------------------------- /fixtures/opencontrols/certifications/LATO.yaml: -------------------------------------------------------------------------------- 1 | name: LATO 2 | standards: 3 | NIST-800-53: 4 | AC-2: {} 5 | AC-6: {} 6 | CM-2: {} 7 | -------------------------------------------------------------------------------- /markdowns/README.md: -------------------------------------------------------------------------------- 1 | # FedRAMP Moderate System Security Plan 2 | 3 | Note as of November 2016: compliance.cloud.gov is a proof of concept with [old draft content about cloud.gov](https://github.com/18F/cg-compliance#whats-in-this-repository). We haven't recently updated this site, but we're still working on our SSP separately, and we plan to update this in the future with our improved SSP. 4 | 5 | ### 18F - cloud.gov 6 | 7 | * [About the SSP](system_documentation/about-the-ssp.md) 8 | * [cloud.gov System Classification](system_documentation/system-data.md) 9 | * [cloud.gov General System Description](system_documentation/system-description.md) 10 | -------------------------------------------------------------------------------- /markdowns/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # FedRAMP Moderate System Security Plan 4 | 5 | ***This SSP was created using [Compliance Masonry](https://github.com/opencontrol/compliance-masonry) and the documentation source is stored on [cloud.gov's Compliance Repository](https://github.com/18F/cg-compliance)*** 6 | 7 | ### 18F - cloud.gov 8 | 9 | 10 | * [About the SSP](system_documentation/about-the-ssp.md) 11 | * [cloud.gov System Classification](system_documentation/system-data.md) 12 | * [cloud.gov General System Description](system_documentation/system-description.md) 13 | -------------------------------------------------------------------------------- /markdowns/system_documentation/Cloud_Foundry_System_Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/markdowns/system_documentation/Cloud_Foundry_System_Architecture.png -------------------------------------------------------------------------------- /opencontrols/opencontrols_suite_test.go: -------------------------------------------------------------------------------- 1 | package opencontrols_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestOpencontrols(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Opencontrols Suite") 13 | } 14 | -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | # run `go test` outside of goxc since there wasn't a clean way to ignore the vendor/ directory otherwise 6 | # https://github.com/laher/goxc/issues/99 7 | go test $($GOPATH/bin/glide nv) 8 | $GOPATH/bin/goxc "$@" 9 | -------------------------------------------------------------------------------- /reporter/reporter.go: -------------------------------------------------------------------------------- 1 | package reporter 2 | 3 | import "io" 4 | 5 | // Reporter is construct that reports information in various formats. 6 | // 7 | // WriteTextTo will take the information it has and writes it as plain text to the writer. 8 | type Reporter interface { 9 | WriteTextTo(io.Writer) error 10 | } 11 | -------------------------------------------------------------------------------- /scripts/preview-doc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | CMD=$0 6 | INPUT=$1 7 | 8 | if [ "$INPUT" == "" ]; then 9 | echo -e "Usage:\n\n\t\$ $CMD \n" 10 | exit 1 11 | fi 12 | 13 | OUTPUT_DIR=$(mktemp -d) 14 | unzip -q "$1" -d "$OUTPUT_DIR" 15 | xmllint --format "$OUTPUT_DIR/word/document.xml" | less 16 | -------------------------------------------------------------------------------- /ssp/ssp_suite_test.go: -------------------------------------------------------------------------------- 1 | package ssp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSSP(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "SSP Suite") 13 | } 14 | -------------------------------------------------------------------------------- /templater/templater_suite_test.go: -------------------------------------------------------------------------------- 1 | package templater_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTemplater(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Templater Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/vcs/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/vcs/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/Masterminds/vcs 2 | homepage: https://github.com/Masterminds/vcs 3 | license: MIT 4 | owners: 5 | - name: Matt Farina 6 | email: matt@mattfarina.com 7 | homepage: https://www.mattfarina.com/ 8 | import: [] 9 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/json.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | // MarshalJSON implements the encoding/json.Marshaler interface. 8 | func (v Version) MarshalJSON() ([]byte, error) { 9 | return json.Marshal(v.String()) 10 | } 11 | 12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface. 13 | func (v *Version) UnmarshalJSON(data []byte) (err error) { 14 | var versionString string 15 | 16 | if err = json.Unmarshal(data, &versionString); err != nil { 17 | return 18 | } 19 | 20 | *v, err = Parse(versionString) 21 | 22 | return 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/altsrc/altsrc.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | //go:generate python ../generate-flag-types altsrc -i ../flag-types.json -o flag_generated.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/altsrc/helpers_test.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | import ( 4 | "reflect" 5 | "testing" 6 | ) 7 | 8 | func expect(t *testing.T, a interface{}, b interface{}) { 9 | if !reflect.DeepEqual(b, a) { 10 | t.Errorf("Expected %#v (type %v) - Got %#v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 11 | } 12 | } 13 | 14 | func refute(t *testing.T, a interface{}, b interface{}) { 15 | if a == b { 16 | t.Errorf("Did not expect %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | 3 | os: Windows Server 2012 R2 4 | 5 | clone_folder: c:\gopath\src\github.com\urfave\cli 6 | 7 | environment: 8 | GOPATH: C:\gopath 9 | GOVERSION: 1.6 10 | PYTHON: C:\Python27-x64 11 | PYTHON_VERSION: 2.7.x 12 | PYTHON_ARCH: 64 13 | GFMXR_DEBUG: 1 14 | 15 | install: 16 | - set PATH=%GOPATH%\bin;C:\go\bin;%PATH% 17 | - go version 18 | - go env 19 | - go get github.com/urfave/gfmrun/... 20 | - go get -v -t ./... 21 | 22 | build_script: 23 | - python runtests vet 24 | - python runtests test 25 | - python runtests gfmrun 26 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/autocomplete/bash_autocomplete: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | : ${PROG:=$(basename ${BASH_SOURCE})} 4 | 5 | _cli_bash_autocomplete() { 6 | local cur opts base 7 | COMPREPLY=() 8 | cur="${COMP_WORDS[COMP_CWORD]}" 9 | opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) 10 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 11 | return 0 12 | } 13 | 14 | complete -F _cli_bash_autocomplete $PROG 15 | -------------------------------------------------------------------------------- /vendor/github.com/codegangsta/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-forks/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-forks/fsnotify/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## Moving Notice 4 | 5 | There is a fork being actively developed with a new API in preparation for the Go Standard Library: 6 | [github.com/go-fsnotify/fsnotify](https://github.com/go-fsnotify/fsnotify) 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-forks/fsnotify/fsnotify_open_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_NONBLOCK | syscall.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-forks/fsnotify/fsnotify_open_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_EVTONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-utils/ufs/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common file-system needs. 2 | package ufs 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-utils/ugo/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common miscellaneous needs. 2 | package ugo 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-utils/uslice/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common 'pseudo-generic' typed-slice needs. 2 | package uslice 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-utils/ustr/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common string-processing needs. 2 | package ustr 3 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | build/* 3 | _* 4 | *.6 5 | *.o 6 | libxml/test/ctest/test 7 | .DS_Store 8 | test_output.txt 9 | .jank 10 | jank.yml -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.12 4 | 5 | script: 6 | - go test -coverprofile=html_coverage.txt -covermode=atomic ./html 7 | - go test -coverprofile=xml_coverage.txt -covermode=atomic ./xml 8 | 9 | after_success: 10 | - bash <(curl -s https://codecov.io/bash) 11 | addons: 12 | apt: 13 | packages: 14 | - libxml2-dev 15 | - libonig-dev 16 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/AUTHOR: -------------------------------------------------------------------------------- 1 | Zhigang Chen 2 | Hampton Catlin -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/VERSION: -------------------------------------------------------------------------------- 1 | 5.1 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/css/test/inputs: -------------------------------------------------------------------------------- 1 | div 2 | > div 3 | div, > span 4 | div.foo 5 | div.foo.bar 6 | div#foo 7 | div#foo.bar#hux 8 | > div#foo.bar#hux 9 | .bar 10 | :first-child 11 | div:first-child 12 | div:nth-child(odd) 13 | div:nth-child(even) 14 | div:nth-child(2n + 1) 15 | div:nth-child(-3n-6) 16 | div:nth-of-type(5) 17 | :nth-child(4) 18 | div :nth-child(2) 19 | div[a='b'] 20 | div[a~='b'] 21 | div[a|='b'] 22 | div[a*='b'] 23 | div[a ^= 'b' ] 24 | div [ a $= 'b' ] 25 | > :only-of-type 26 | div[a='b']:first-of-type.foo 27 | div.bar:not(#foo:first-child) -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/help/help_test.go: -------------------------------------------------------------------------------- 1 | package help 2 | 3 | import "testing" 4 | 5 | func TestCheckMemoryLeaks(t *testing.T) { 6 | CheckXmlMemoryLeaks(t) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/html/tests/document/encoding/input.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/jbowtie/gokogiri/html/tests/document/encoding/input.html -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/html/tests/document/html_fragment_encoding/input.txt: -------------------------------------------------------------------------------- 1 | CHUCK FREAKINNORRIS 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/html/tests/document/html_fragment_encoding/output.txt: -------------------------------------------------------------------------------- 1 | CHUCK FREAKINNORRIS -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/mem/libxml.h: -------------------------------------------------------------------------------- 1 | #ifndef _GOKOGIRI_LIBXML_H 2 | #define _GOKOGIRI_LIBXML_H 3 | 4 | unsigned long libxmlGoAllocSize(); 5 | void libxmlGoInit(); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/mem/mem.go: -------------------------------------------------------------------------------- 1 | package mem 2 | 3 | /* 4 | #cgo pkg-config: libxml-2.0 5 | 6 | #include 7 | #include "libxml.h" 8 | */ 9 | import "C" 10 | 11 | const ( 12 | LIBXML_VERSION = C.LIBXML_DOTTED_VERSION 13 | LIBXML_NUMERIC_VERSION = C.LIBXML_VERSION 14 | ) 15 | 16 | func init() { 17 | C.xmlCheckVersion(LIBXML_NUMERIC_VERSION) 18 | C.libxmlGoInit() 19 | } 20 | 21 | func AllocSize() int { 22 | return int(C.libxmlGoAllocSize()) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/mem/mem_test.go: -------------------------------------------------------------------------------- 1 | package mem 2 | 3 | import "testing" 4 | 5 | func TestLibxml(t *testing.T) { 6 | if AllocSize() != 0 { 7 | t.Fatal(AllocSize(), "remaining allocations") 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | var EmptyStringBytes = []byte{0} 4 | 5 | func AppendCStringTerminator(b []byte) []byte { 6 | if num := len(b); num > 0 { 7 | if b[num-1] != 0 { 8 | return append(b, 0) 9 | } 10 | } 11 | return b 12 | } 13 | 14 | func GetCString(b []byte) []byte { 15 | b = AppendCStringTerminator(b) 16 | if len(b) == 0 { 17 | return EmptyStringBytes 18 | } 19 | return b 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/util/util_test.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | //please check the search tests in gokogiri/xml and gokogiri/html 4 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/cdata.go: -------------------------------------------------------------------------------- 1 | package xml 2 | 3 | /* CDataNode represents a CDATA section. This XML node type allows the embedding of unescaped, verbatim text within an XML document. 4 | 5 | It is otherwise identical to a TextNode. It is most often used to wrap content that is whitespace-sensitive or likely to contain 6 | large numbers of less-than or greater-than signs (such as code snippets or example documents). 7 | 8 | If you use the XML_PARSE_NOCDATA parsing option, the parser will always present the CDATA sections as TextNodes. 9 | */ 10 | type CDataNode struct { 11 | *XmlNode 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/comment.go: -------------------------------------------------------------------------------- 1 | package xml 2 | 3 | type CommentNode struct { 4 | *XmlNode 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/element.go: -------------------------------------------------------------------------------- 1 | package xml 2 | 3 | type ElementNode struct { 4 | *XmlNode 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/pi.go: -------------------------------------------------------------------------------- 1 | package xml 2 | 3 | type ProcessingInstructionNode struct { 4 | *XmlNode 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/document/basic/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/document/basic/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/document/empty/input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/jbowtie/gokogiri/xml/tests/document/empty/input.txt -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/document/empty/output.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_ancestor/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_ancestor/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_child/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_child/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_next_sibling/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_next_sibling/input.txt~: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_next_sibling/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_previous_sibling/input.txt: -------------------------------------------------------------------------------- 1 | fun 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_previous_sibling/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | fun 5 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_previous_sibling2/input.txt: -------------------------------------------------------------------------------- 1 | fun 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/add_previous_sibling2/output.txt: -------------------------------------------------------------------------------- 1 | 2 | COOLfun 3 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/attributes/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/attributes/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/attributes/output.txt~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/jbowtie/gokogiri/xml/tests/node/attributes/output.txt~ -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/declare_namespace/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/declare_namespace/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/inner/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/inner/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/inner_with_attributes/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/inner_with_attributes/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/replace/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/replace/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/search/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/search/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_children/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_children/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_content/input.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_content/output.txt: -------------------------------------------------------------------------------- 1 | 2 | <fun></fun> 3 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_default_namespace/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_default_namespace/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_namespace/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_namespace/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_ns_attr/input.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/jbowtie/gokogiri/xml/tests/node/set_ns_attr/output.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4 4 | - 1.5 5 | - 1.6 6 | - tip 7 | 8 | install: 9 | - go get -v -t ./... 10 | - go get golang.org/x/tools/cmd/cover 11 | - go get github.com/onsi/gomega 12 | - go install github.com/onsi/ginkgo/ginkgo 13 | - export PATH=$PATH:$HOME/gopath/bin 14 | 15 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/extensions/table/table_suite_test.go: -------------------------------------------------------------------------------- 1 | package table_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTable(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Table Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_unix.go: -------------------------------------------------------------------------------- 1 | // +build freebsd openbsd netbsd dragonfly darwin linux 2 | 3 | package interrupthandler 4 | 5 | import ( 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | ) 10 | 11 | func SwallowSigQuit() { 12 | c := make(chan os.Signal, 1024) 13 | signal.Notify(c, syscall.SIGQUIT) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package interrupthandler 4 | 5 | func SwallowSigQuit() { 6 | //noop 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testsuite/testsuite_suite_test.go: -------------------------------------------------------------------------------- 1 | package testsuite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestsuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Testsuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testsuite/vendor_check_go15.go: -------------------------------------------------------------------------------- 1 | // +build !go1.6 2 | 3 | package testsuite 4 | 5 | import ( 6 | "os" 7 | "path" 8 | ) 9 | 10 | // "This change will only be enabled if the go command is run with 11 | // GO15VENDOREXPERIMENT=1 in its environment." 12 | // c.f. the vendor-experiment proposal https://goo.gl/2ucMeC 13 | func vendorExperimentCheck(dir string) bool { 14 | vendorExperiment := os.Getenv("GO15VENDOREXPERIMENT") 15 | return vendorExperiment == "1" && path.Base(dir) == "vendor" 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testsuite/vendor_check_go16.go: -------------------------------------------------------------------------------- 1 | // +build go1.6 2 | 3 | package testsuite 4 | 5 | import ( 6 | "os" 7 | "path" 8 | ) 9 | 10 | // in 1.6 the vendor directory became the default go behaviour, so now 11 | // check if its disabled. 12 | func vendorExperimentCheck(dir string) bool { 13 | vendorExperiment := os.Getenv("GO15VENDOREXPERIMENT") 14 | return vendorExperiment != "0" && path.Base(dir) == "vendor" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/version_command.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "github.com/onsi/ginkgo/config" 7 | ) 8 | 9 | func BuildVersionCommand() *Command { 10 | return &Command{ 11 | Name: "version", 12 | FlagSet: flag.NewFlagSet("version", flag.ExitOnError), 13 | UsageCommand: "ginkgo version", 14 | Usage: []string{ 15 | "Print Ginkgo's version", 16 | }, 17 | Command: printVersion, 18 | } 19 | } 20 | 21 | func printVersion([]string, []string) { 22 | fmt.Printf("Ginkgo Version %s\n", config.VERSION) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | strp := "hello!" 9 | somethingImportant(t, &strp) 10 | } 11 | 12 | func somethingImportant(t *testing.T, message *string) { 13 | t.Log("Something important happened in a test: " + *message) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | whatever := &UselessStruct{} 9 | t.Fail(whatever.ImportantField != "SECRET_PASSWORD") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested_without_gofiles/subpackage/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestNestedSubPackages(t *testing.T) { 8 | t.Fail(true) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | type UselessStruct struct { 8 | ImportantField string 9 | } 10 | 11 | func TestSomethingImportant(t *testing.T) { 12 | whatever := &UselessStruct{} 13 | if whatever.ImportantField != "SECRET_PASSWORD" { 14 | t.Fail() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | strp := "hello!" 11 | somethingImportant(GinkgoT(), &strp) 12 | }) 13 | }) 14 | 15 | func somethingImportant(t GinkgoTInterface, message *string) { 16 | t.Log("Something important happened in a test: " + *message) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/fixtures_suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTmp(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Tmp Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("nested sub packages", func() { 9 | GinkgoT().Fail(true) 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_suite_test.go: -------------------------------------------------------------------------------- 1 | package nested_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestNested(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Nested Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | GinkgoT().Fail(whatever.ImportantField != "SECRET_PASSWORD") 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | if whatever.ImportantField != "SECRET_PASSWORD" { 12 | GinkgoT().Fail() 13 | } 14 | }) 15 | }) 16 | 17 | type UselessStruct struct { 18 | ImportantField string 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestConvertFixtures(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ConvertFixtures Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture 2 | 3 | func A() string { 4 | return "A" 5 | } 6 | 7 | func B() string { 8 | return "B" 9 | } 10 | 11 | func C() string { 12 | return "C" 13 | } 14 | 15 | func D() string { 16 | return "D" 17 | } 18 | 19 | func E() string { 20 | return "untested" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCoverageFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CoverageFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture/external_coverage.go: -------------------------------------------------------------------------------- 1 | package external_coverage 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_suite_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDoes_not_compile(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Does_not_compile Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/does_not_compile" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("DoesNotCompile", func() { 10 | 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/eventually_failing/eventually_failing_suite_test.go: -------------------------------------------------------------------------------- 1 | package eventually_failing_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestEventuallyFailing(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "EventuallyFailing Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/fail_fixture/fail_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package fail_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFail_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Fail_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailingAfterSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "FailingAfterSuite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | }) 18 | 19 | var _ = AfterSuite(func() { 20 | println("AFTER SUITE") 21 | panic("BAM!") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should run", func() { 9 | println("A TEST") 10 | }) 11 | 12 | It("should run", func() { 13 | println("A TEST") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_before_suite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_before_suite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | panic("BAM!") 18 | }) 19 | 20 | var _ = AfterSuite(func() { 21 | println("AFTER SUITE") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should never run", func() { 9 | println("NEVER SEE THIS") 10 | }) 11 | 12 | It("should never run", func() { 13 | println("NEVER SEE THIS") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests 2 | 3 | func AlwaysFalse() bool { 4 | return false 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("FailingGinkgoTests", func() { 10 | It("should fail", func() { 11 | Ω(AlwaysFalse()).Should(BeTrue()) 12 | }) 13 | 14 | It("should pass", func() { 15 | Ω(AlwaysFalse()).Should(BeFalse()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags_suite_test.go: -------------------------------------------------------------------------------- 1 | package flags_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFlags(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Flags Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/focused_fixture/focused_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package focused_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFocused_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Focused_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/hanging_suite/hanging_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package hanging_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestHangingSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "HangingSuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestMore_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "More_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("MoreGinkgoTests", func() { 10 | It("should pass", func() { 11 | Ω(AlwaysTrue()).Should(BeTrue()) 12 | }) 13 | 14 | It("should always pass", func() { 15 | Ω(AlwaysTrue()).Should(BeTrue()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/no_tests/no_tests.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests 2 | 3 | func StringIdentity(a string) string { 4 | return a 5 | } 6 | 7 | func IntegerIdentity(a int) int { 8 | return a 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestPassing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Passing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_suite_setup/passing_suite_setup_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestPassingSuiteSetup(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "PassingSuiteSetup Suite") 13 | } 14 | 15 | var a string 16 | var b string 17 | 18 | var _ = BeforeSuite(func() { 19 | a = "ran before suite" 20 | println("BEFORE SUITE") 21 | }) 22 | 23 | var _ = AfterSuite(func() { 24 | b = "ran after suite" 25 | println("AFTER SUITE") 26 | }) 27 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/progress_fixture/progress_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package progress_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestProgressFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ProgressFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package fail_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFail_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Skip_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command.go: -------------------------------------------------------------------------------- 1 | package suite_command 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_suite_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSuiteCommand(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Suite Command Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("Testing suite command", func() { 9 | It("it should succeed", func() { 10 | Ω(true).Should(Equal(true)) 11 | }) 12 | 13 | PIt("a failing test", func() { 14 | It("should fail", func() { 15 | Ω(true).Should(Equal(false)) 16 | }) 17 | }) 18 | }) 19 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/ignored_test.go: -------------------------------------------------------------------------------- 1 | // +build complex_tests 2 | 3 | package tags_tests_test 4 | 5 | import ( 6 | . "github.com/onsi/ginkgo" 7 | ) 8 | 9 | var _ = Describe("Ignored", func() { 10 | It("should not have these tests", func() { 11 | 12 | }) 13 | 14 | It("should not have these tests", func() { 15 | 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTagsTests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TagsTests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("TagsTests", func() { 8 | It("should have a test", func() { 9 | 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/test_description/test_description_suite_test.go: -------------------------------------------------------------------------------- 1 | package test_description_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestDescription(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TestDescription Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/test_description/test_description_test.go: -------------------------------------------------------------------------------- 1 | package test_description_test 2 | 3 | import ( 4 | "fmt" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("TestDescription", func() { 11 | It("should pass", func() { 12 | Ω(true).Should(BeTrue()) 13 | }) 14 | 15 | It("should fail", func() { 16 | Ω(true).Should(BeFalse()) 17 | }) 18 | 19 | AfterEach(func() { 20 | description := CurrentGinkgoTestDescription() 21 | fmt.Printf("%s:%t\n", description.FullTestText, description.Failed) 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A.go: -------------------------------------------------------------------------------- 1 | package A 2 | 3 | import "github.com/onsi/B" 4 | 5 | func DoIt() string { 6 | return B.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_suite_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestA(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "A Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("A", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B.go: -------------------------------------------------------------------------------- 1 | package B 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_suite_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestB(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "B Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("B", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C.go: -------------------------------------------------------------------------------- 1 | package C 2 | 3 | func DoIt() string { 4 | return "done!" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_suite_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestC(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "C Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("C", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D.go: -------------------------------------------------------------------------------- 1 | package D 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_suite_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestD(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "D Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("D", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests_test.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestAlwaysTrue(t *testing.T) { 8 | if AlwaysTrue() != true { 9 | t.Errorf("Expected true, got false") 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/integration.go: -------------------------------------------------------------------------------- 1 | package integration 2 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/codelocation/code_location_suite_test.go: -------------------------------------------------------------------------------- 1 | package codelocation_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCodelocation(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CodeLocation Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/containernode/container_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package containernode_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestContainernode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Containernode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/failer/failer_suite_test.go: -------------------------------------------------------------------------------- 1 | package failer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailer(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go: -------------------------------------------------------------------------------- 1 | package leafnodes 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/types" 5 | ) 6 | 7 | type BasicNode interface { 8 | Type() types.SpecComponentType 9 | Run() (types.SpecState, types.SpecFailure) 10 | CodeLocation() types.CodeLocation 11 | } 12 | 13 | type SubjectNode interface { 14 | BasicNode 15 | 16 | Text() string 17 | Flag() types.FlagType 18 | Samples() int 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/leaf_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package leafnodes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestLeafNode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "LeafNode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/fake_output_interceptor_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | type fakeOutputInterceptor struct { 4 | DidStartInterceptingOutput bool 5 | DidStopInterceptingOutput bool 6 | InterceptedOutput string 7 | } 8 | 9 | func (interceptor *fakeOutputInterceptor) StartInterceptingOutput() error { 10 | interceptor.DidStartInterceptingOutput = true 11 | return nil 12 | } 13 | 14 | func (interceptor *fakeOutputInterceptor) StopInterceptingAndReturnOutput() (string, error) { 15 | interceptor.DidStopInterceptingOutput = true 16 | return interceptor.InterceptedOutput, nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go: -------------------------------------------------------------------------------- 1 | package remote 2 | 3 | /* 4 | The OutputInterceptor is used by the ForwardingReporter to 5 | intercept and capture all stdin and stderr output during a test run. 6 | */ 7 | type OutputInterceptor interface { 8 | StartInterceptingOutput() error 9 | StopInterceptingAndReturnOutput() (string, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/remote_suite_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestRemote(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Remote Spec Forwarding Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm64 2 | 3 | package remote 4 | 5 | import "syscall" 6 | 7 | // linux_arm64 doesn't have syscall.Dup2 which ginkgo uses, so 8 | // use the nearly identical syscall.Dup3 instead 9 | func syscallDup(oldfd int, newfd int) (err error) { 10 | return syscall.Dup3(oldfd, newfd, 0) 11 | } -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_unix.go: -------------------------------------------------------------------------------- 1 | // +build !linux !arm64 2 | // +build !windows 3 | 4 | package remote 5 | 6 | import "syscall" 7 | 8 | func syscallDup(oldfd int, newfd int) (err error) { 9 | return syscall.Dup2(oldfd, newfd) 10 | } -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/spec/spec_suite_test.go: -------------------------------------------------------------------------------- 1 | package spec_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpec(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go: -------------------------------------------------------------------------------- 1 | package specrunner 2 | 3 | import ( 4 | "crypto/rand" 5 | "fmt" 6 | ) 7 | 8 | func randomID() string { 9 | b := make([]byte, 8) 10 | _, err := rand.Read(b) 11 | if err != nil { 12 | return "" 13 | } 14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8]) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/spec_runner_suite_test.go: -------------------------------------------------------------------------------- 1 | package specrunner_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpecRunner(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Runner Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/writer/writer_suite_test.go: -------------------------------------------------------------------------------- 1 | package writer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestWriter(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Writer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/reporter.go: -------------------------------------------------------------------------------- 1 | package reporters 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/config" 5 | "github.com/onsi/ginkgo/types" 6 | ) 7 | 8 | type Reporter interface { 9 | SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) 10 | BeforeSuiteDidRun(setupSummary *types.SetupSummary) 11 | SpecWillRun(specSummary *types.SpecSummary) 12 | SpecDidComplete(specSummary *types.SpecSummary) 13 | AfterSuiteDidRun(setupSummary *types.SetupSummary) 14 | SpecSuiteDidEnd(summary *types.SuiteSummary) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/reporters_suite_test.go: -------------------------------------------------------------------------------- 1 | package reporters_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestReporters(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Reporters Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/code_location.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type CodeLocation struct { 8 | FileName string 9 | LineNumber int 10 | FullStackTrace string 11 | } 12 | 13 | func (codeLocation CodeLocation) String() string { 14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/types_suite_test.go: -------------------------------------------------------------------------------- 1 | package types_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTypes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Types Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.5 4 | - tip 5 | 6 | install: 7 | - go get -v ./... 8 | - go get github.com/onsi/ginkgo 9 | - go install github.com/onsi/ginkgo/ginkgo 10 | 11 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --failOnPending --randomizeSuites --race 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/format/format_suite_test.go: -------------------------------------------------------------------------------- 1 | package format_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFormat(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Format Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gbytes/gbuffer_suite_test.go: -------------------------------------------------------------------------------- 1 | package gbytes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGbytes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Gbytes Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/gexec/gexec_suite_test.go: -------------------------------------------------------------------------------- 1 | package gexec_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | "github.com/onsi/gomega/gexec" 7 | 8 | "testing" 9 | ) 10 | 11 | var fireflyPath string 12 | 13 | func TestGexec(t *testing.T) { 14 | BeforeSuite(func() { 15 | var err error 16 | fireflyPath, err = gexec.Build("./_fixture/firefly") 17 | Ω(err).ShouldNot(HaveOccurred()) 18 | }) 19 | 20 | AfterSuite(func() { 21 | gexec.CleanupBuildArtifacts() 22 | }) 23 | 24 | RegisterFailHandler(Fail) 25 | RunSpecs(t, "Gexec Suite") 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/protobuf/protobuf.go: -------------------------------------------------------------------------------- 1 | package protobuf 2 | 3 | //go:generate protoc --go_out=. simple_message.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/protobuf/simple_message.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package protobuf; 4 | 5 | message SimpleMessage { 6 | required string description = 1; 7 | required int32 id = 2; 8 | optional string metadata = 3; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/test_server_suite_test.go: -------------------------------------------------------------------------------- 1 | package ghttp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGHTTP(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "GHTTP Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/assertion/assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package assertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Assertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package asyncassertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAsyncAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "AsyncAssertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support_test.go: -------------------------------------------------------------------------------- 1 | package testingtsupport_test 2 | 3 | import ( 4 | . "github.com/onsi/gomega" 5 | 6 | "testing" 7 | ) 8 | 9 | func TestTestingT(t *testing.T) { 10 | RegisterTestingT(t) 11 | Ω(true).Should(BeTrue()) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_false_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeFalse", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).ShouldNot(BeFalse()) 12 | Ω(false).Should(BeFalse()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeFalseMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import "github.com/onsi/gomega/format" 4 | 5 | type BeNilMatcher struct { 6 | } 7 | 8 | func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) { 9 | return isNil(actual), nil 10 | } 11 | 12 | func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) { 13 | return format.Message(actual, "to be nil") 14 | } 15 | 16 | func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) { 17 | return format.Message(actual, "not to be nil") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_true_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeTrue", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).Should(BeTrue()) 12 | Ω(false).ShouldNot(BeTrue()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeTrueMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/matcher_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | type myStringer struct { 11 | a string 12 | } 13 | 14 | func (s *myStringer) String() string { 15 | return s.a 16 | } 17 | 18 | type StringAlias string 19 | 20 | type myCustomType struct { 21 | s string 22 | n int 23 | f float32 24 | arr []string 25 | } 26 | 27 | func Test(t *testing.T) { 28 | RegisterFailHandler(Fail) 29 | RunSpecs(t, "Gomega Matchers") 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | Id int 5 | } 6 | 7 | type NodeOrderedSet []Node 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/.gitignore: -------------------------------------------------------------------------------- 1 | .goxc.local.json 2 | compliance-masonry 3 | *.swp 4 | *.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/.goxc.json: -------------------------------------------------------------------------------- 1 | { 2 | "Tasks": [ 3 | "default", 4 | "publish-github" 5 | ], 6 | "TasksExclude": [ 7 | "go-test" 8 | ], 9 | "BuildConstraints": "linux,windows,darwin", 10 | "PackageVersion": "1.1.2", 11 | "TaskSettings": { 12 | "publish-github": { 13 | "owner": "opencontrol", 14 | "repository": "compliance-masonry" 15 | } 16 | }, 17 | "ConfigVersion": "0.9" 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.0.{build} 2 | branches: 3 | only: 4 | - master 5 | clone_folder: c:\gopath\src\github.com\opencontrol\compliance-masonry 6 | environment: 7 | GOPATH: c:\gopath 8 | install: 9 | - cmd: >- 10 | echo %GOPATH% 11 | 12 | go version 13 | 14 | go env 15 | 16 | go get github.com/Masterminds/glide 17 | 18 | set PATH=%PATH%;%GOPATH%\bin 19 | build_script: 20 | - cmd: go build 21 | test_script: 22 | - cmd: FOR /F %%A IN ('glide novendor') DO go test -v %%A || exit /b 1 -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/circleci/README.md: -------------------------------------------------------------------------------- 1 | ## Circle CI Scripts 2 | 3 | Call these scripts from the root of the repository 4 | - `circleci/coverage.sh # example` 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/circleci/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | cov_file=/home/ubuntu/coverage.txt 6 | 7 | # Get the list of packages. 8 | pkgs=`go list $(/home/ubuntu/.go_workspace/bin/glide novendor)` 9 | 10 | echo "mode: count" > $cov_file 11 | for pkg in $pkgs 12 | do 13 | go test -v -covermode=count $pkg -coverprofile=tmp.cov 14 | if [ -f tmp.cov ] 15 | then 16 | cat tmp.cov | tail -n +2 >> $cov_file 17 | rm tmp.cov 18 | fi 19 | done 20 | 21 | go tool cover -func $cov_file 22 | 23 | mv $cov_file . && bash <(curl -s https://codecov.io/bash) 24 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/commands/diff/diff_suite_test.go: -------------------------------------------------------------------------------- 1 | package diff_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDiff(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Diff Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/commands/docs/docs_suite_test.go: -------------------------------------------------------------------------------- 1 | package docs_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDocs(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Docs Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/commands/docs/docx/docx_suite_test.go: -------------------------------------------------------------------------------- 1 | package docx_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDocx(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Docx Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/compliance_masonry_go_suite_test.go: -------------------------------------------------------------------------------- 1 | package main_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestComplianceMasonryGo(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ComplianceMasonryGo Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/config/common/common_suite_test.go: -------------------------------------------------------------------------------- 1 | package common_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCommon(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Common Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/config/common/resources/resources_suite_test.go: -------------------------------------------------------------------------------- 1 | package resources_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestResources(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Resources Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/config/config_suite_test.go: -------------------------------------------------------------------------------- 1 | package config_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestConfig(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Config Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/config/parser/parser.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "github.com/opencontrol/compliance-masonry/config/common" 5 | v1_0_0 "github.com/opencontrol/compliance-masonry/config/versions/1.0.0" 6 | ) 7 | 8 | // Parser is the concrete implementation of parsing different schema versions. 9 | type Parser struct{} 10 | 11 | // ParseV1_0_0 parses data using the v1.0.0 schema. 12 | func (p Parser) ParseV1_0_0(data []byte) (common.BaseSchema, error) { 13 | config := new(v1_0_0.Schema) 14 | parseError := config.Parse(data) 15 | return config, parseError 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/config/versions/1.0.0/1.0.0_suite_test.go: -------------------------------------------------------------------------------- 1 | package schema_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func Test1_0_0(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "1.0.0 Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/README.md: -------------------------------------------------------------------------------- 1 | ## Standards 2 | * [AC](standards/NIST-800-53-AC.md) 3 | * [AC-2](standards/NIST-800-53-AC-2.md) 4 | * [AC-6](standards/NIST-800-53-AC-6.md) 5 | * [CM](standards/NIST-800-53-CM.md) 6 | * [CM-2](standards/NIST-800-53-CM-2.md) 7 | * [1](standards/PCI-DSS-MAY-2015-1.md) 8 | * [1.1](standards/PCI-DSS-MAY-2015-1.1.md) 9 | * [1.1.1](standards/PCI-DSS-MAY-2015-1.1.1.md) 10 | * [2](standards/PCI-DSS-MAY-2015-2.md) 11 | * [2.1](standards/PCI-DSS-MAY-2015-2.1.md) 12 | 13 | ## Components 14 | * [Amazon Elastic Compute Cloud](components/EC2.md) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/SUMMARY.md: -------------------------------------------------------------------------------- 1 | ## Standards 2 | * [AC](standards/NIST-800-53-AC.md) 3 | * [AC-2](standards/NIST-800-53-AC-2.md) 4 | * [AC-6](standards/NIST-800-53-AC-6.md) 5 | * [CM](standards/NIST-800-53-CM.md) 6 | * [CM-2](standards/NIST-800-53-CM-2.md) 7 | * [1](standards/PCI-DSS-MAY-2015-1.md) 8 | * [1.1](standards/PCI-DSS-MAY-2015-1.1.md) 9 | * [1.1.1](standards/PCI-DSS-MAY-2015-1.1.1.md) 10 | * [2](standards/PCI-DSS-MAY-2015-2.md) 11 | * [2.1](standards/PCI-DSS-MAY-2015-2.1.md) 12 | 13 | ## Components 14 | * [Amazon Elastic Compute Cloud](components/EC2.md) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/components/EC2.md: -------------------------------------------------------------------------------- 1 | # Amazon Elastic Compute Cloud 2 | ## References 3 | * [Reference](http://VerificationURL.com) 4 | ## Verifications 5 | * [EC2 Governor 2](artifact-ec2-1.png) 6 | * [EC2 Verification 1](http://VerificationURL.com) 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-AC-2.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-AC-2 2 | ##Account Management 3 | No information found for the combination of standard NIST-800-53 and control AC-2 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-AC-6.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-AC-6 2 | ##Least Privilege 3 | No information found for the combination of standard NIST-800-53 and control AC-6 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-AC.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-AC 2 | * [AC-2: Account Management](NIST-800-53-AC-2.md) 3 | * [AC-6: Least Privilege](NIST-800-53-AC-6.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-CM-2.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-CM-2 2 | ##Baseline Configuration 3 | 4 | #### Amazon Elastic Compute Cloud 5 | 6 | ##### Responsible Role: AWS Staff 7 | 8 | ##### Control Origin: shared 9 | 10 | ##### a 11 | Justification in narrative form A for CM-2 12 | 13 | ##### b 14 | Justification in narrative form B for CM-2 15 | Covered By: 16 | * [Amazon Elastic Compute Cloud - EC2 Verification 1](../components/EC2.md) 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/NIST-800-53-CM.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-CM 2 | * [CM-2: Baseline Configuration](NIST-800-53-CM-2.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-1.1.1.md: -------------------------------------------------------------------------------- 1 | #PCI-DSS-MAY-2015-1.1.1 2 | ##A formal process for approving and testing all network connections and changes to the firewall and router configurations 3 | No information found for the combination of standard PCI-DSS-MAY-2015 and control 1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-1.1.md: -------------------------------------------------------------------------------- 1 | #PCI-DSS-MAY-2015-1.1 2 | ##Establish and implement firewall and router configuration standards. 3 | 4 | #### Amazon Elastic Compute Cloud 5 | 6 | ##### Responsible Role: AWS Staff 7 | 8 | ##### Parameters: 9 | 10 | ###### a 11 | Parameter A for 1.1 12 | 13 | ###### b 14 | Parameter B for 1.1 15 | 16 | ##### Control Origin: inherited 17 | 18 | No narrative found for the combination of standard PCI-DSS-MAY-2015 and control 1.1 19 | Covered By: 20 | * [Amazon Elastic Compute Cloud - EC2 Verification 1](../components/EC2.md) 21 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-1.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-1 2 | * [1.1: Establish and implement firewall and router configuration standards.](PCI-DSS-MAY-2015-1.1.md) 3 | * [1.1.1: A formal process for approving and testing all network connections and changes to the firewall and router configurations](PCI-DSS-MAY-2015-1.1.1.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-2.1.md: -------------------------------------------------------------------------------- 1 | #PCI-DSS-MAY-2015-2.1 2 | ##Always change vendor-supplied defaults and remove or disable unnecessary default accounts before installing a system on the network. 3 | 4 | #### Amazon Elastic Compute Cloud 5 | 6 | ##### Responsible Role: AWS Staff 7 | 8 | ##### Control Origin: inherited 9 | Justification in narrative form for 2.1 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export/standards/PCI-DSS-MAY-2015-2.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-2 2 | * [2.1: Always change vendor-supplied defaults and remove or disable unnecessary default accounts before installing a system on the network.](PCI-DSS-MAY-2015-2.1.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/components/EC2.md: -------------------------------------------------------------------------------- 1 | # Amazon Elastic Compute Cloud 2 | ## References 3 | * [Reference](http://VerificationURL.com) 4 | ## Verifications 5 | * [EC2 Governor 2](artifact-ec2-1.png) 6 | * [EC2 Verification 1](http://VerificationURL.com) 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-AC-2.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-AC-2 2 | ##Account Management 3 | No information found for the combination of standard NIST-800-53 and control AC-2 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-AC-6.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-AC-6 2 | ##Least Privilege 3 | No information found for the combination of standard NIST-800-53 and control AC-6 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-AC.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-AC 2 | * [AC-2: Account Management](NIST-800-53-AC-2.md) 3 | * [AC-6: Least Privilege](NIST-800-53-AC-6.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-CM-2.md: -------------------------------------------------------------------------------- 1 | #NIST-800-53-CM-2 2 | ##Baseline Configuration 3 | 4 | #### Amazon Elastic Compute Cloud 5 | 6 | ##### Responsible Role: AWS Staff 7 | 8 | ##### Control Origin: shared 9 | 10 | ##### a 11 | Justification in narrative form A for CM-2 12 | 13 | ##### b 14 | Justification in narrative form B for CM-2 15 | Covered By: 16 | * [Amazon Elastic Compute Cloud - EC2 Verification 1](../components/EC2.md) 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/NIST-800-53-CM.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-CM 2 | * [CM-2: Baseline Configuration](NIST-800-53-CM-2.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-1.1.1.md: -------------------------------------------------------------------------------- 1 | #PCI-DSS-MAY-2015-1.1.1 2 | ##A formal process for approving and testing all network connections and changes to the firewall and router configurations 3 | No information found for the combination of standard PCI-DSS-MAY-2015 and control 1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-1.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-1 2 | * [1.1: Establish and implement firewall and router configuration standards.](PCI-DSS-MAY-2015-1.1.md) 3 | * [1.1.1: A formal process for approving and testing all network connections and changes to the firewall and router configurations](PCI-DSS-MAY-2015-1.1.1.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-2.1.md: -------------------------------------------------------------------------------- 1 | #PCI-DSS-MAY-2015-2.1 2 | ##Always change vendor-supplied defaults and remove or disable unnecessary default accounts before installing a system on the network. 3 | 4 | #### Amazon Elastic Compute Cloud 5 | 6 | ##### Responsible Role: AWS Staff 7 | 8 | ##### Control Origin: inherited 9 | Justification in narrative form for 2.1 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/standards/PCI-DSS-MAY-2015-2.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-2 2 | * [2.1: Always change vendor-supplied defaults and remove or disable unnecessary default accounts before installing a system on the network.](PCI-DSS-MAY-2015-2.1.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/complete_export_with_markdown/system_documentation/about-the-ssp.md: -------------------------------------------------------------------------------- 1 | About the System Security Plan 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/components_readme.md: -------------------------------------------------------------------------------- 1 | 2 | ## Components 3 | * [Amazon Elastic Compute Cloud](components/EC2.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/general_readme.md: -------------------------------------------------------------------------------- 1 | ## Standards 2 | * [AC-2](standards/NIST-800-53-AC-2.md) 3 | * [AC-6](standards/NIST-800-53-AC-6.md) 4 | * [CM-2](standards/NIST-800-53-CM-2.md) 5 | * [1.1](standards/PCI-DSS-MAY-2015-1.1.md) 6 | * [1.1.1](standards/PCI-DSS-MAY-2015-1.1.1.md) 7 | * [2.1](standards/PCI-DSS-MAY-2015-2.1.md) 8 | 9 | ## Components 10 | * [Amazon Elastic Compute Cloud](components/EC2.md) 11 | * [User Account and Authentication (UAA) Server](components/UAA.md) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/standards/NIST-800-53-AC.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-AC 2 | * [AC-2: Account Management](NIST-800-53-AC-2.md) 3 | * [AC-6: Least Privilege](NIST-800-53-AC-6.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/standards/NIST-800-53-CM.md: -------------------------------------------------------------------------------- 1 | ## NIST-800-53-CM 2 | * [CM-2: Baseline Configuration](NIST-800-53-CM-2.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/standards/PCI-DSS-MAY-2015-1.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-1 2 | * [1.1: Establish and implement firewall and router configuration standards.](PCI-DSS-MAY-2015-1.1.md) 3 | * [1.1.1: A formal process for approving and testing all network connections and changes to the firewall and router configurations](PCI-DSS-MAY-2015-1.1.1.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/gitbook_exports/standards/PCI-DSS-MAY-2015-2.md: -------------------------------------------------------------------------------- 1 | ## PCI-DSS-MAY-2015-2 2 | * [2.1: Always change vendor-supplied defaults and remove or disable unnecessary default accounts before installing a system on the network.](PCI-DSS-MAY-2015-2.1.md) 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/output.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/exports_fixtures/output.docx -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures/certifications/LATO.yaml: -------------------------------------------------------------------------------- 1 | name: LATO 2 | standards: 3 | NIST-800-53: 4 | AC-2: {} 5 | AC-6: {} 6 | CM-2: {} 7 | PCI-DSS-MAY-2015: 8 | 1.1: {} 9 | 1.1.1: {} 10 | 2.1: {} 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures/components/EC2/artifact-ec2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures/components/EC2/artifact-ec2-1.png -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_complete/certifications/LATO.yaml: -------------------------------------------------------------------------------- 1 | name: LATO 2 | standards: 3 | NIST-800-53: 4 | AC-2: {} 5 | AC-6: {} 6 | CM-2: {} 7 | PCI-DSS-MAY-2015: 8 | 1.1: {} 9 | 1.1.1: {} 10 | 2.1: {} 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_complete/components/EC2/artifact-ec2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_complete/components/EC2/artifact-ec2-1.png -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_with_markdown/certifications/LATO.yaml: -------------------------------------------------------------------------------- 1 | name: LATO 2 | standards: 3 | NIST-800-53: 4 | AC-2: {} 5 | AC-6: {} 6 | CM-2: {} 7 | PCI-DSS-MAY-2015: 8 | 1.1: {} 9 | 1.1.1: {} 10 | 2.1: {} 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_with_markdown/components/EC2/artifact-ec2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_with_markdown/components/EC2/artifact-ec2-1.png -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_with_markdown/markdowns/SUMMARY.md: -------------------------------------------------------------------------------- 1 | This is an SSP 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/opencontrol_fixtures_with_markdown/markdowns/system_documentation/about-the-ssp.md: -------------------------------------------------------------------------------- 1 | About the System Security Plan 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/standards_fixtures/BrokenStandard/NIST-800-53.yaml: -------------------------------------------------------------------------------- 1 | broken non 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/template_fixtures/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/template_fixtures/test.docx -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/fixtures/template_fixtures/test_corrupted.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/fixtures/template_fixtures/test_corrupted.docx -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | # run `go test` outside of goxc since there wasn't a clean way to ignore the vendor/ directory otherwise 6 | # https://github.com/laher/goxc/issues/99 7 | go test $($GOPATH/bin/glide nv) 8 | $GOPATH/bin/goxc "$@" 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/tools/mapset/mapset_suite_test.go: -------------------------------------------------------------------------------- 1 | package mapset_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestMapset(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Mapset Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/tools/vcs/mocks/RepoManager.go: -------------------------------------------------------------------------------- 1 | package mocks 2 | 3 | import "github.com/stretchr/testify/mock" 4 | 5 | type RepoManager struct { 6 | mock.Mock 7 | } 8 | 9 | // Clone provides a mock function with given fields: url, revision, dir 10 | func (_m *RepoManager) Clone(url string, revision string, dir string) error { 11 | ret := _m.Called(url, revision, dir) 12 | 13 | var r0 error 14 | if rf, ok := ret.Get(0).(func(string, string, string) error); ok { 15 | r0 = rf(url, revision, dir) 16 | } else { 17 | r0 = ret.Error(0) 18 | } 19 | 20 | return r0 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/tools/vcs/vcs_suite_test.go: -------------------------------------------------------------------------------- 1 | package vcs_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestVcs(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Vcs Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/Masterminds/vcs/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/Masterminds/vcs/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/Masterminds/vcs 2 | homepage: https://github.com/Masterminds/vcs 3 | license: MIT 4 | owners: 5 | - name: Matt Farina 6 | email: matt@mattfarina.com 7 | homepage: https://www.mattfarina.com/ 8 | import: [] 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/codegangsta/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/codegangsta/cli/altsrc/helpers_test.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | import ( 4 | "reflect" 5 | "testing" 6 | ) 7 | 8 | func expect(t *testing.T, a interface{}, b interface{}) { 9 | if !reflect.DeepEqual(b, a) { 10 | t.Errorf("Expected %#v (type %v) - Got %#v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 11 | } 12 | } 13 | 14 | func refute(t *testing.T, a interface{}, b interface{}) { 15 | if a == b { 16 | t.Errorf("Did not expect %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/codegangsta/cli/autocomplete/bash_autocomplete: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | : ${PROG:=$(basename ${BASH_SOURCE})} 4 | 5 | _cli_bash_autocomplete() { 6 | local cur opts base 7 | COMPREPLY=() 8 | cur="${COMP_WORDS[COMP_CWORD]}" 9 | opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) 10 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 11 | return 0 12 | } 13 | 14 | complete -F _cli_bash_autocomplete $PROG 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/codegangsta/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/davecgh/go-spew/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/davecgh/go-spew/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 1.2 3 | install: 4 | - go get -v code.google.com/p/go.tools/cmd/cover 5 | script: 6 | - go test -v -tags=disableunsafe ./spew 7 | - go test -v -tags=testcgo ./spew -covermode=count -coverprofile=profile.cov 8 | after_success: 9 | - go get -v github.com/mattn/goveralls 10 | - export PATH=$PATH:$HOME/gopath/bin 11 | - goveralls -coverprofile=profile.cov -service=travis-ci 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-forks/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-forks/fsnotify/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## Moving Notice 4 | 5 | There is a fork being actively developed with a new API in preparation for the Go Standard Library: 6 | [github.com/go-fsnotify/fsnotify](https://github.com/go-fsnotify/fsnotify) 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-forks/fsnotify/fsnotify_open_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_NONBLOCK | syscall.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-forks/fsnotify/fsnotify_open_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "syscall" 10 | 11 | const open_FLAGS = syscall.O_EVTONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-utils/ufs/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common file-system needs. 2 | package ufs 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-utils/ugo/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common miscellaneous needs. 2 | package ugo 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-utils/uslice/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common 'pseudo-generic' typed-slice needs. 2 | package uslice 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/go-utils/ustr/doc.go: -------------------------------------------------------------------------------- 1 | // Go programming helpers for common string-processing needs. 2 | package ustr 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/golang/protobuf/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.[568ao] 3 | *.ao 4 | *.so 5 | *.pyc 6 | ._* 7 | .nfs.* 8 | [568a].out 9 | *~ 10 | *.orig 11 | core 12 | _obj 13 | _test 14 | _testmain.go 15 | protoc-gen-go/testdata/multi/*.pb.go 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4 4 | - 1.5 5 | - 1.6 6 | - tip 7 | 8 | install: 9 | - go get -v -t ./... 10 | - go get golang.org/x/tools/cmd/cover 11 | - go get github.com/onsi/gomega 12 | - go install github.com/onsi/ginkgo/ginkgo 13 | - export PATH=$PATH:$HOME/gopath/bin 14 | 15 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/extensions/table/table_suite_test.go: -------------------------------------------------------------------------------- 1 | package table_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTable(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Table Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_unix.go: -------------------------------------------------------------------------------- 1 | // +build freebsd openbsd netbsd dragonfly darwin linux solaris 2 | 3 | package interrupthandler 4 | 5 | import ( 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | ) 10 | 11 | func SwallowSigQuit() { 12 | c := make(chan os.Signal, 1024) 13 | signal.Notify(c, syscall.SIGQUIT) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package interrupthandler 4 | 5 | func SwallowSigQuit() { 6 | //noop 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/testsuite/testsuite_suite_test.go: -------------------------------------------------------------------------------- 1 | package testsuite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestsuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Testsuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/testsuite/vendor_check_go15.go: -------------------------------------------------------------------------------- 1 | // +build !go1.6 2 | 3 | package testsuite 4 | 5 | import ( 6 | "os" 7 | "path" 8 | ) 9 | 10 | // "This change will only be enabled if the go command is run with 11 | // GO15VENDOREXPERIMENT=1 in its environment." 12 | // c.f. the vendor-experiment proposal https://goo.gl/2ucMeC 13 | func vendorExperimentCheck(dir string) bool { 14 | vendorExperiment := os.Getenv("GO15VENDOREXPERIMENT") 15 | return vendorExperiment == "1" && path.Base(dir) == "vendor" 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/testsuite/vendor_check_go16.go: -------------------------------------------------------------------------------- 1 | // +build go1.6 2 | 3 | package testsuite 4 | 5 | import ( 6 | "os" 7 | "path" 8 | ) 9 | 10 | // in 1.6 the vendor directory became the default go behaviour, so now 11 | // check if its disabled. 12 | func vendorExperimentCheck(dir string) bool { 13 | vendorExperiment := os.Getenv("GO15VENDOREXPERIMENT") 14 | return vendorExperiment != "0" && path.Base(dir) == "vendor" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/ginkgo/version_command.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "github.com/onsi/ginkgo/config" 7 | ) 8 | 9 | func BuildVersionCommand() *Command { 10 | return &Command{ 11 | Name: "version", 12 | FlagSet: flag.NewFlagSet("version", flag.ExitOnError), 13 | UsageCommand: "ginkgo version", 14 | Usage: []string{ 15 | "Print Ginkgo's version", 16 | }, 17 | Command: printVersion, 18 | } 19 | } 20 | 21 | func printVersion([]string, []string) { 22 | fmt.Printf("Ginkgo Version %s\n", config.VERSION) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | strp := "hello!" 9 | somethingImportant(t, &strp) 10 | } 11 | 12 | func somethingImportant(t *testing.T, message *string) { 13 | t.Log("Something important happened in a test: " + *message) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestSomethingLessImportant(t *testing.T) { 8 | whatever := &UselessStruct{} 9 | t.Fail(whatever.ImportantField != "SECRET_PASSWORD") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/nested_without_gofiles/subpackage/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestNestedSubPackages(t *testing.T) { 8 | t.Fail(true) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_fixtures/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | type UselessStruct struct { 8 | ImportantField string 9 | } 10 | 11 | func TestSomethingImportant(t *testing.T) { 12 | whatever := &UselessStruct{} 13 | if whatever.ImportantField != "SECRET_PASSWORD" { 14 | t.Fail() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/extra_functions_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | strp := "hello!" 11 | somethingImportant(GinkgoT(), &strp) 12 | }) 13 | }) 14 | 15 | func somethingImportant(t GinkgoTInterface, message *string) { 16 | t.Log("Something important happened in a test: " + *message) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/fixtures_suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTmp(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Tmp Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_subpackage_test.go: -------------------------------------------------------------------------------- 1 | package subpackage 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("nested sub packages", func() { 9 | GinkgoT().Fail(true) 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_suite_test.go: -------------------------------------------------------------------------------- 1 | package nested_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestNested(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Nested Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/nested_test.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something less important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | GinkgoT().Fail(whatever.ImportantField != "SECRET_PASSWORD") 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/outside_package_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("Testing with Ginkgo", func() { 8 | It("something important", func() { 9 | 10 | whatever := &UselessStruct{} 11 | if whatever.ImportantField != "SECRET_PASSWORD" { 12 | GinkgoT().Fail() 13 | } 14 | }) 15 | }) 16 | 17 | type UselessStruct struct { 18 | ImportantField string 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters/suite_test.go: -------------------------------------------------------------------------------- 1 | package tmp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestConvertFixtures(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ConvertFixtures Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture 2 | 3 | func A() string { 4 | return "A" 5 | } 6 | 7 | func B() string { 8 | return "B" 9 | } 10 | 11 | func C() string { 12 | return "C" 13 | } 14 | 15 | func D() string { 16 | return "D" 17 | } 18 | 19 | func E() string { 20 | return "untested" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/coverage_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package coverage_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCoverageFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CoverageFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture/external_coverage.go: -------------------------------------------------------------------------------- 1 | package external_coverage 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_suite_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestDoes_not_compile(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Does_not_compile Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/does_not_compile/does_not_compile_test.go: -------------------------------------------------------------------------------- 1 | package does_not_compile_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/does_not_compile" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("DoesNotCompile", func() { 10 | 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/eventually_failing/eventually_failing_suite_test.go: -------------------------------------------------------------------------------- 1 | package eventually_failing_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestEventuallyFailing(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "EventuallyFailing Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/fail_fixture/fail_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package fail_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFail_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Fail_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailingAfterSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "FailingAfterSuite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | }) 18 | 19 | var _ = AfterSuite(func() { 20 | println("AFTER SUITE") 21 | panic("BAM!") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_after_suite/failing_after_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should run", func() { 9 | println("A TEST") 10 | }) 11 | 12 | It("should run", func() { 13 | println("A TEST") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_before_suite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_before_suite Suite") 13 | } 14 | 15 | var _ = BeforeSuite(func() { 16 | println("BEFORE SUITE") 17 | panic("BAM!") 18 | }) 19 | 20 | var _ = AfterSuite(func() { 21 | println("AFTER SUITE") 22 | }) 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_before_suite/failing_before_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_before_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("FailingBeforeSuite", func() { 8 | It("should never run", func() { 9 | println("NEVER SEE THIS") 10 | }) 11 | 12 | It("should never run", func() { 13 | println("NEVER SEE THIS") 14 | }) 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests 2 | 3 | func AlwaysFalse() bool { 4 | return false 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("FailingGinkgoTests", func() { 10 | It("should fail", func() { 11 | Ω(AlwaysFalse()).Should(BeTrue()) 12 | }) 13 | 14 | It("should pass", func() { 15 | Ω(AlwaysFalse()).Should(BeFalse()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags_suite_test.go: -------------------------------------------------------------------------------- 1 | package flags_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFlags(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Flags Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/focused_fixture/focused_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package focused_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFocused_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Focused_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/hanging_suite/hanging_suite_suite_test.go: -------------------------------------------------------------------------------- 1 | package hanging_suite_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestHangingSuite(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "HangingSuite Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestMore_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "More_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests_test.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests" 6 | . "github.com/onsi/gomega" 7 | ) 8 | 9 | var _ = Describe("MoreGinkgoTests", func() { 10 | It("should pass", func() { 11 | Ω(AlwaysTrue()).Should(BeTrue()) 12 | }) 13 | 14 | It("should always pass", func() { 15 | Ω(AlwaysTrue()).Should(BeTrue()) 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/no_tests/no_tests.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests 2 | 3 | func StringIdentity(a string) string { 4 | return a 5 | } 6 | 7 | func IntegerIdentity(a int) int { 8 | return a 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestPassing_ginkgo_tests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Passing_ginkgo_tests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/progress_fixture/progress_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package progress_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestProgressFixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "ProgressFixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_suite_test.go: -------------------------------------------------------------------------------- 1 | package fail_fixture_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFail_fixture(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Skip_fixture Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command.go: -------------------------------------------------------------------------------- 1 | package suite_command 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_suite_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSuiteCommand(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Suite Command Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command_test.go: -------------------------------------------------------------------------------- 1 | package suite_command_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe("Testing suite command", func() { 9 | It("it should succeed", func() { 10 | Ω(true).Should(Equal(true)) 11 | }) 12 | 13 | PIt("a failing test", func() { 14 | It("should fail", func() { 15 | Ω(true).Should(Equal(false)) 16 | }) 17 | }) 18 | }) 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/ignored_test.go: -------------------------------------------------------------------------------- 1 | // +build complex_tests 2 | 3 | package tags_tests_test 4 | 5 | import ( 6 | . "github.com/onsi/ginkgo" 7 | ) 8 | 9 | var _ = Describe("Ignored", func() { 10 | It("should not have these tests", func() { 11 | 12 | }) 13 | 14 | It("should not have these tests", func() { 15 | 16 | }) 17 | }) 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTagsTests(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TagsTests Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/tags_tests/tags_tests_test.go: -------------------------------------------------------------------------------- 1 | package tags_tests_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | ) 6 | 7 | var _ = Describe("TagsTests", func() { 8 | It("should have a test", func() { 9 | 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/test_description/test_description_suite_test.go: -------------------------------------------------------------------------------- 1 | package test_description_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTestDescription(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "TestDescription Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A.go: -------------------------------------------------------------------------------- 1 | package A 2 | 3 | import "github.com/onsi/B" 4 | 5 | func DoIt() string { 6 | return B.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_suite_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestA(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "A Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A_test.go: -------------------------------------------------------------------------------- 1 | package A_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("A", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B.go: -------------------------------------------------------------------------------- 1 | package B 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_suite_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestB(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "B Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B_test.go: -------------------------------------------------------------------------------- 1 | package B_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("B", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C.go: -------------------------------------------------------------------------------- 1 | package C 2 | 3 | func DoIt() string { 4 | return "done!" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_suite_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestC(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "C Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C_test.go: -------------------------------------------------------------------------------- 1 | package C_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("C", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D.go: -------------------------------------------------------------------------------- 1 | package D 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_suite_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestD(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "D Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D_test.go: -------------------------------------------------------------------------------- 1 | package D_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | var _ = Describe("D", func() { 11 | It("should do it", func() { 12 | Ω(DoIt()).Should(Equal("done!")) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests_test.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestAlwaysTrue(t *testing.T) { 8 | if AlwaysTrue() != true { 9 | t.Errorf("Expected true, got false") 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/integration/integration.go: -------------------------------------------------------------------------------- 1 | package integration 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/codelocation/code_location_suite_test.go: -------------------------------------------------------------------------------- 1 | package codelocation_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestCodelocation(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "CodeLocation Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/containernode/container_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package containernode_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestContainernode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Containernode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/failer/failer_suite_test.go: -------------------------------------------------------------------------------- 1 | package failer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFailer(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Failer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go: -------------------------------------------------------------------------------- 1 | package leafnodes 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/types" 5 | ) 6 | 7 | type BasicNode interface { 8 | Type() types.SpecComponentType 9 | Run() (types.SpecState, types.SpecFailure) 10 | CodeLocation() types.CodeLocation 11 | } 12 | 13 | type SubjectNode interface { 14 | BasicNode 15 | 16 | Text() string 17 | Flag() types.FlagType 18 | Samples() int 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/leafnodes/leaf_node_suite_test.go: -------------------------------------------------------------------------------- 1 | package leafnodes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestLeafNode(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "LeafNode Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go: -------------------------------------------------------------------------------- 1 | package remote 2 | 3 | /* 4 | The OutputInterceptor is used by the ForwardingReporter to 5 | intercept and capture all stdin and stderr output during a test run. 6 | */ 7 | type OutputInterceptor interface { 8 | StartInterceptingOutput() error 9 | StopInterceptingAndReturnOutput() (string, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/remote/remote_suite_test.go: -------------------------------------------------------------------------------- 1 | package remote_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestRemote(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Remote Spec Forwarding Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm64 2 | 3 | package remote 4 | 5 | import "syscall" 6 | 7 | // linux_arm64 doesn't have syscall.Dup2 which ginkgo uses, so 8 | // use the nearly identical syscall.Dup3 instead 9 | func syscallDup(oldfd int, newfd int) (err error) { 10 | return syscall.Dup3(oldfd, newfd, 0) 11 | } -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package remote 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func syscallDup(oldfd int, newfd int) (err error) { 8 | return unix.Dup2(oldfd, newfd) 9 | } -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_unix.go: -------------------------------------------------------------------------------- 1 | // +build !linux !arm64 2 | // +build !windows 3 | // +build !solaris 4 | 5 | package remote 6 | 7 | import "syscall" 8 | 9 | func syscallDup(oldfd int, newfd int) (err error) { 10 | return syscall.Dup2(oldfd, newfd) 11 | } -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/spec/spec_suite_test.go: -------------------------------------------------------------------------------- 1 | package spec_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpec(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go: -------------------------------------------------------------------------------- 1 | package specrunner 2 | 3 | import ( 4 | "crypto/rand" 5 | "fmt" 6 | ) 7 | 8 | func randomID() string { 9 | b := make([]byte, 8) 10 | _, err := rand.Read(b) 11 | if err != nil { 12 | return "" 13 | } 14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8]) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/specrunner/spec_runner_suite_test.go: -------------------------------------------------------------------------------- 1 | package specrunner_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestSpecRunner(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Spec Runner Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/internal/writer/writer_suite_test.go: -------------------------------------------------------------------------------- 1 | package writer_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestWriter(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Writer Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/reporters/reporter.go: -------------------------------------------------------------------------------- 1 | package reporters 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/config" 5 | "github.com/onsi/ginkgo/types" 6 | ) 7 | 8 | type Reporter interface { 9 | SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) 10 | BeforeSuiteDidRun(setupSummary *types.SetupSummary) 11 | SpecWillRun(specSummary *types.SpecSummary) 12 | SpecDidComplete(specSummary *types.SpecSummary) 13 | AfterSuiteDidRun(setupSummary *types.SetupSummary) 14 | SpecSuiteDidEnd(summary *types.SuiteSummary) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/reporters/reporters_suite_test.go: -------------------------------------------------------------------------------- 1 | package reporters_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestReporters(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Reporters Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/types/code_location.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type CodeLocation struct { 8 | FileName string 9 | LineNumber int 10 | FullStackTrace string 11 | } 12 | 13 | func (codeLocation CodeLocation) String() string { 14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/ginkgo/types/types_suite_test.go: -------------------------------------------------------------------------------- 1 | package types_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestTypes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Types Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.5 4 | - 1.6.2 5 | - stable 6 | 7 | install: 8 | - go get -v ./... 9 | - go get github.com/onsi/ginkgo 10 | - go install github.com/onsi/ginkgo/ginkgo 11 | 12 | script: $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --failOnPending --randomizeSuites --race 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/format/format_suite_test.go: -------------------------------------------------------------------------------- 1 | package format_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestFormat(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Format Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/gbytes/gbuffer_suite_test.go: -------------------------------------------------------------------------------- 1 | package gbytes_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGbytes(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Gbytes Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/ghttp/protobuf/protobuf.go: -------------------------------------------------------------------------------- 1 | package protobuf 2 | 3 | //go:generate protoc --go_out=. simple_message.proto 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/ghttp/protobuf/simple_message.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package protobuf; 4 | 5 | message SimpleMessage { 6 | required string description = 1; 7 | required int32 id = 2; 8 | optional string metadata = 3; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/ghttp/test_server_suite_test.go: -------------------------------------------------------------------------------- 1 | package ghttp_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestGHTTP(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "GHTTP Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/internal/assertion/assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package assertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "Assertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion_suite_test.go: -------------------------------------------------------------------------------- 1 | package asyncassertion_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | 7 | "testing" 8 | ) 9 | 10 | func TestAsyncAssertion(t *testing.T) { 11 | RegisterFailHandler(Fail) 12 | RunSpecs(t, "AsyncAssertion Suite") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/internal/testingtsupport/testing_t_support_test.go: -------------------------------------------------------------------------------- 1 | package testingtsupport_test 2 | 3 | import ( 4 | . "github.com/onsi/gomega" 5 | 6 | "testing" 7 | ) 8 | 9 | func TestTestingT(t *testing.T) { 10 | RegisterTestingT(t) 11 | Ω(true).Should(BeTrue()) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/be_false_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeFalse", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).ShouldNot(BeFalse()) 12 | Ω(false).Should(BeFalse()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeFalseMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import "github.com/onsi/gomega/format" 4 | 5 | type BeNilMatcher struct { 6 | } 7 | 8 | func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) { 9 | return isNil(actual), nil 10 | } 11 | 12 | func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) { 13 | return format.Message(actual, "to be nil") 14 | } 15 | 16 | func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) { 17 | return format.Message(actual, "not to be nil") 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/be_true_matcher_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo" 5 | . "github.com/onsi/gomega" 6 | . "github.com/onsi/gomega/matchers" 7 | ) 8 | 9 | var _ = Describe("BeTrue", func() { 10 | It("should handle true and false correctly", func() { 11 | Ω(true).Should(BeTrue()) 12 | Ω(false).ShouldNot(BeTrue()) 13 | }) 14 | 15 | It("should only support booleans", func() { 16 | success, err := (&BeTrueMatcher{}).Match("foo") 17 | Ω(success).Should(BeFalse()) 18 | Ω(err).Should(HaveOccurred()) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/matcher_tests_suite_test.go: -------------------------------------------------------------------------------- 1 | package matchers_test 2 | 3 | import ( 4 | "testing" 5 | 6 | . "github.com/onsi/ginkgo" 7 | . "github.com/onsi/gomega" 8 | ) 9 | 10 | type myStringer struct { 11 | a string 12 | } 13 | 14 | func (s *myStringer) String() string { 15 | return s.a 16 | } 17 | 18 | type StringAlias string 19 | 20 | type myCustomType struct { 21 | s string 22 | n int 23 | f float32 24 | arr []string 25 | } 26 | 27 | func Test(t *testing.T) { 28 | RegisterFailHandler(Fail) 29 | RunSpecs(t, "Gomega Matchers") 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | Id int 5 | } 6 | 7 | type NodeOrderedSet []Node 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/opencontrol/doc-template/README.md: -------------------------------------------------------------------------------- 1 | ## Simple Google Go (golang) library for building templates for generic content 2 | [![Go Report Card](https://goreportcard.com/badge/github.com/opencontrol/doc-template)](https://goreportcard.com/report/github.com/opencontrol/doc-template) 3 | 4 | ```go 5 | func main() { 6 | funcMap := template.FuncMap{"title": strings.Title} 7 | docTemp, _ := GetTemplate("docx/fixtures/test.docx") 8 | docTemp.AddFunctions(funcMap) 9 | docTemp.Parse() 10 | docTemp.Execute("test.docx", nil) 11 | } 12 | ``` 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/opencontrol/doc-template/docx/fixtures/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/opencontrol/doc-template/docx/fixtures/test.docx -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/pmezard/go-difflib/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.5 4 | - tip 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/README.md: -------------------------------------------------------------------------------- 1 | # objx 2 | 3 | * Jump into the [API Documentation](http://godoc.org/github.com/stretchr/objx) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/codegen/array-access.txt: -------------------------------------------------------------------------------- 1 | case []{1}: 2 | a := object.([]{1}) 3 | if isSet { 4 | a[index] = value.({1}) 5 | } else { 6 | if index >= len(a) { 7 | if panics { 8 | panic(fmt.Sprintf("objx: Index %d is out of range because the []{1} only contains %d items.", index, len(a))) 9 | } 10 | return nil 11 | } else { 12 | return a[index] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/constants.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | const ( 4 | // PathSeparator is the character used to separate the elements 5 | // of the keypath. 6 | // 7 | // For example, `location.address.city` 8 | PathSeparator string = "." 9 | 10 | // SignatureSeparator is the character that is used to 11 | // separate the Base64 string from the security signature. 12 | SignatureSeparator = "_" 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/map_for_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | var TestMap map[string]interface{} = map[string]interface{}{ 4 | "name": "Tyler", 5 | "address": map[string]interface{}{ 6 | "city": "Salt Lake City", 7 | "state": "UT", 8 | }, 9 | "numbers": []interface{}{"one", "two", "three", "four", "five"}, 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security 9 | // key. 10 | func HashWithKey(data, key string) string { 11 | hash := sha1.New() 12 | hash.Write([]byte(data + ":" + key)) 13 | return hex.EncodeToString(hash.Sum(nil)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/security_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestHashWithKey(t *testing.T) { 9 | 10 | assert.Equal(t, "0ce84d8d01f2c7b6e0882b784429c54d280ea2d9", HashWithKey("abc", "def")) 11 | 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/tests.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | // Has gets whether there is something at the specified selector 4 | // or not. 5 | // 6 | // If m is nil, Has will always return false. 7 | func (m Map) Has(selector string) bool { 8 | if m == nil { 9 | return false 10 | } 11 | return !m.Get(selector).IsNil() 12 | } 13 | 14 | // IsNil gets whether the data is nil or not. 15 | func (v *Value) IsNil() bool { 16 | return v == nil || v.data == nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/tests_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestHas(t *testing.T) { 9 | 10 | m := New(TestMap) 11 | 12 | assert.True(t, m.Has("name")) 13 | assert.True(t, m.Has("address.state")) 14 | assert.True(t, m.Has("numbers[4]")) 15 | 16 | assert.False(t, m.Has("address.state.nope")) 17 | assert.False(t, m.Has("address.nope")) 18 | assert.False(t, m.Has("nope")) 19 | assert.False(t, m.Has("numbers[5]")) 20 | 21 | m = nil 22 | assert.False(t, m.Has("nothing")) 23 | 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/value.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | // Value provides methods for extracting interface{} data in various 4 | // types. 5 | type Value struct { 6 | // data contains the raw data being managed by this Value 7 | data interface{} 8 | } 9 | 10 | // Data returns the raw data contained by this Value 11 | func (v *Value) Data() interface{} { 12 | return v.data 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/objx/value_test.go: -------------------------------------------------------------------------------- 1 | package objx 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | .DS_Store 25 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.1 7 | - 1.2 8 | - 1.3 9 | - 1.4 10 | - 1.5 11 | - 1.6 12 | - tip 13 | 14 | script: 15 | - go test -v ./... 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/Godeps/Godeps.json: -------------------------------------------------------------------------------- 1 | { 2 | "ImportPath": "github.com/stretchr/testify", 3 | "GoVersion": "go1.5", 4 | "Packages": [ 5 | "./..." 6 | ], 7 | "Deps": [ 8 | { 9 | "ImportPath": "github.com/davecgh/go-spew/spew", 10 | "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" 11 | }, 12 | { 13 | "ImportPath": "github.com/pmezard/go-difflib/difflib", 14 | "Rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d" 15 | }, 16 | { 17 | "ImportPath": "github.com/stretchr/objx", 18 | "Rev": "cbeaeb16a013161a98496fad62933b1d21786672" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/assert/forward_assertions.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/http/doc.go: -------------------------------------------------------------------------------- 1 | // Package http DEPRECATED USE net/http/httptest 2 | package http 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/http/test_round_tripper.go: -------------------------------------------------------------------------------- 1 | package http 2 | 3 | import ( 4 | "github.com/stretchr/testify/mock" 5 | "net/http" 6 | ) 7 | 8 | // TestRoundTripper DEPRECATED USE net/http/httptest 9 | type TestRoundTripper struct { 10 | mock.Mock 11 | } 12 | 13 | // RoundTrip DEPRECATED USE net/http/httptest 14 | func (t *TestRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { 15 | args := t.Called(req) 16 | return args.Get(0).(*http.Response), args.Error(1) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/package_test.go: -------------------------------------------------------------------------------- 1 | package testify 2 | 3 | import ( 4 | "github.com/stretchr/testify/assert" 5 | "testing" 6 | ) 7 | 8 | func TestImports(t *testing.T) { 9 | if assert.Equal(t, 1, 1) != true { 10 | t.Error("Something is wrong.") 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/require/forward_requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // Assertions provides assertion methods around the 4 | // TestingT interface. 5 | type Assertions struct { 6 | t TestingT 7 | } 8 | 9 | // New makes a new Assertions object for the specified TestingT. 10 | func New(t TestingT) *Assertions { 11 | return &Assertions{ 12 | t: t, 13 | } 14 | } 15 | 16 | //go:generate go run ../_codegen/main.go -output-package=require -template=require_forward.go.tmpl 17 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { 4 | t.FailNow() 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/require/requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // TestingT is an interface wrapper around *testing.T 4 | type TestingT interface { 5 | Errorf(format string, args ...interface{}) 6 | FailNow() 7 | } 8 | 9 | //go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/README.md: -------------------------------------------------------------------------------- 1 | # objx 2 | 3 | * Jump into the [API Documentation](http://godoc.org/github.com/stretchr/objx) 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/codegen/array-access.txt: -------------------------------------------------------------------------------- 1 | case []{1}: 2 | a := object.([]{1}) 3 | if isSet { 4 | a[index] = value.({1}) 5 | } else { 6 | if index >= len(a) { 7 | if panics { 8 | panic(fmt.Sprintf("objx: Index %d is out of range because the []{1} only contains %d items.", index, len(a))) 9 | } 10 | return nil 11 | } else { 12 | return a[index] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/constants.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | const ( 4 | // PathSeparator is the character used to separate the elements 5 | // of the keypath. 6 | // 7 | // For example, `location.address.city` 8 | PathSeparator string = "." 9 | 10 | // SignatureSeparator is the character that is used to 11 | // separate the Base64 string from the security signature. 12 | SignatureSeparator = "_" 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security 9 | // key. 10 | func HashWithKey(data, key string) string { 11 | hash := sha1.New() 12 | hash.Write([]byte(data + ":" + key)) 13 | return hex.EncodeToString(hash.Sum(nil)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/tests.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | // Has gets whether there is something at the specified selector 4 | // or not. 5 | // 6 | // If m is nil, Has will always return false. 7 | func (m Map) Has(selector string) bool { 8 | if m == nil { 9 | return false 10 | } 11 | return !m.Get(selector).IsNil() 12 | } 13 | 14 | // IsNil gets whether the data is nil or not. 15 | func (v *Value) IsNil() bool { 16 | return v == nil || v.data == nil 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx/value.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | // Value provides methods for extracting interface{} data in various 4 | // types. 5 | type Value struct { 6 | // data contains the raw data being managed by this Value 7 | data interface{} 8 | } 9 | 10 | // Data returns the raw data contained by this Value 11 | func (v *Value) Data() interface{} { 12 | return v.data 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/tg/gosortmap/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - 1.3 8 | - 1.4 9 | - 1.5 10 | - tip 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/urfave/cli/altsrc/helpers_test.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | import ( 4 | "reflect" 5 | "testing" 6 | ) 7 | 8 | func expect(t *testing.T, a interface{}, b interface{}) { 9 | if !reflect.DeepEqual(b, a) { 10 | t.Errorf("Expected %#v (type %v) - Got %#v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 11 | } 12 | } 13 | 14 | func refute(t *testing.T, a interface{}, b interface{}) { 15 | if a == b { 16 | t.Errorf("Did not expect %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/urfave/cli/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | 3 | os: Windows Server 2012 R2 4 | 5 | clone_folder: c:\gopath\src\github.com\urfave\cli 6 | 7 | environment: 8 | GOPATH: C:\gopath 9 | GOVERSION: 1.6 10 | PYTHON: C:\Python27-x64 11 | PYTHON_VERSION: 2.7.x 12 | PYTHON_ARCH: 64 13 | GFMXR_DEBUG: 1 14 | 15 | install: 16 | - set PATH=%GOPATH%\bin;C:\go\bin;%PATH% 17 | - go version 18 | - go env 19 | - go get github.com/urfave/gfmxr/... 20 | - go get -v -t ./... 21 | 22 | build_script: 23 | - python runtests vet 24 | - python runtests test 25 | - python runtests gfmxr 26 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/urfave/cli/autocomplete/bash_autocomplete: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | : ${PROG:=$(basename ${BASH_SOURCE})} 4 | 5 | _cli_bash_autocomplete() { 6 | local cur opts base 7 | COMPREPLY=() 8 | cur="${COMP_WORDS[COMP_CWORD]}" 9 | opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) 10 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 11 | return 0 12 | } 13 | 14 | complete -F _cli_bash_autocomplete $PROG 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/urfave/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/vektra/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | 7 | script: go get -v -t ./.... && go test -v ./... 8 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/vektra/errors/eof_default.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin 2 | 3 | package errors 4 | 5 | import ( 6 | "io" 7 | "strings" 8 | ) 9 | 10 | // Test if err indicates EOF 11 | func EOF(err error) bool { 12 | if err == io.EOF { 13 | return true 14 | } 15 | 16 | if strings.Contains(err.Error(), "closed") { 17 | return true 18 | } 19 | 20 | if strings.Contains(err.Error(), "reset by peer") { 21 | return true 22 | } 23 | 24 | return false 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/github.com/vektra/errors/eof_default_test.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin 2 | 3 | package errors 4 | 5 | import ( 6 | "io" 7 | "testing" 8 | 9 | "github.com/stretchr/testify/assert" 10 | ) 11 | 12 | func TestEOFioEOF(t *testing.T) { 13 | assert.True(t, EOF(io.EOF)) 14 | } 15 | 16 | func TestEOFonMatchClosed(t *testing.T) { 17 | assert.True(t, EOF(New("this is closed"))) 18 | } 19 | 20 | func TestEOFonMatchResetByPeer(t *testing.T) { 21 | assert.True(t, EOF(New("connection reset by peer"))) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/.gitattributes: -------------------------------------------------------------------------------- 1 | # Treat all files in this repo as binary, with no git magic updating 2 | # line endings. Windows users contributing to Go will need to use a 3 | # modern version of git and editors capable of LF line endings. 4 | # 5 | # We'll prevent accidental CRLF line endings from entering the repo 6 | # via the git-review gofmt checks. 7 | # 8 | # See golang.org/issue/9281 9 | 10 | * -text 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/README: -------------------------------------------------------------------------------- 1 | This repository holds supplemental Go packages for low-level interactions with the operating system. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/plan9/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.5 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func fixwd() { 12 | syscall.Fixwd() 13 | } 14 | 15 | func Getwd() (wd string, err error) { 16 | return syscall.Getwd() 17 | } 18 | 19 | func Chdir(path string) error { 20 | return syscall.Chdir(path) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/plan9/pwd_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.5 6 | 7 | package plan9 8 | 9 | func fixwd() { 10 | } 11 | 12 | func Getwd() (wd string, err error) { 13 | fd, err := open(".", O_RDONLY) 14 | if err != nil { 15 | return "", err 16 | } 17 | defer Close(fd) 18 | return Fd2path(fd) 19 | } 20 | 21 | func Chdir(path string) error { 22 | return chdir(path) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/plan9/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build plan9,!race 6 | 7 | package plan9 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | TEXT ·use(SB),NOSPLIT,$0 10 | RET 11 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-64 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | var Itoa = itoa 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/flock_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build gccgo,linux,amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/asm_windows_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // 6 | // System calls for 386, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-8 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-4 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/asm_windows_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // 6 | // System calls for amd64, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-32 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-8 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.4 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | func Unsetenv(key string) error { 13 | // This was added in Go 1.4. 14 | return syscall.Unsetenv(key) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows,!race 6 | 7 | package windows 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/registry/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | 7 | package registry 8 | 9 | func (k Key) SetValue(name string, valtype uint32, data []byte) error { 10 | return k.setValue(name, valtype, data) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/golang.org/x/sys/windows/svc/go12.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build !go1.3 7 | 8 | package svc 9 | 10 | // from go12.c 11 | func getServiceMain(r *uintptr) 12 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/gopkg.in/fatih/set.v0/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 1.2 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | # Folders 6 | _obj 7 | _test 8 | # Architecture specific extensions/prefixes 9 | *.[568vq] 10 | [568vq].out 11 | *.cgo1.go 12 | *.cgo2.c 13 | _cgo_defun.c 14 | _cgo_gotypes.go 15 | _cgo_export.* 16 | _testmain.go 17 | *.exe 18 | *.test 19 | *.prof 20 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/README.md: -------------------------------------------------------------------------------- 1 | ## util [![GoDoc](https://godoc.org/vbom.ml/util?status.svg)](https://godoc.org/vbom.ml/util) 2 | 3 | import "vbom.ml/util" 4 | 5 | Go utility packages. 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/doc.go: -------------------------------------------------------------------------------- 1 | // Package util includes various small pieces of code. 2 | package util // import "vbom.ml/util" 3 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/rope/debug.go: -------------------------------------------------------------------------------- 1 | package rope 2 | 3 | // debug enables debug output. 4 | const debug = true 5 | 6 | // MarkGoStringedRope is a flag that, when enabled, prepends "/*Rope*/ " to the 7 | // result of Rope.GoString(). This can be useful when debugging code using 8 | // interface{} values, where Ropes and strings can coexist. 9 | // 10 | // This should only ever be changed from init() functions, to ensure there are 11 | // no data races. 12 | var MarkGoStringedRope = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/sortorder/README.md: -------------------------------------------------------------------------------- 1 | ## sortorder [![GoDoc](https://godoc.org/vbom.ml/util/sortorder?status.svg)](https://godoc.org/vbom.ml/util/sortorder) 2 | 3 | import "vbom.ml/util/sortorder" 4 | 5 | Sort orders and comparison functions. 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/compliance-masonry/vendor/vbom.ml/util/sortorder/doc.go: -------------------------------------------------------------------------------- 1 | // Package sortorder implements sort orders and comparison functions. 2 | // 3 | // Currently, it only implements so-called "natural order", where integers 4 | // embedded in strings are compared by value. 5 | package sortorder // import "vbom.ml/util/sortorder" 6 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/doc-template/README.md: -------------------------------------------------------------------------------- 1 | ## Simple Google Go (golang) library for building templates for generic content 2 | [![Go Report Card](https://goreportcard.com/badge/github.com/opencontrol/doc-template)](https://goreportcard.com/report/github.com/opencontrol/doc-template) 3 | 4 | ```go 5 | func main() { 6 | funcMap := template.FuncMap{"title": strings.Title} 7 | docTemp, _ := GetTemplate("docx/fixtures/test.docx") 8 | docTemp.AddFunctions(funcMap) 9 | docTemp.Parse() 10 | docTemp.Execute("test.docx", nil) 11 | } 12 | ``` 13 | -------------------------------------------------------------------------------- /vendor/github.com/opencontrol/doc-template/docx/fixtures/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencontrol/fedramp-templater/3ca5dd063f1a23850fe68a479753a4d20200a772/vendor/github.com/opencontrol/doc-template/docx/fixtures/test.docx -------------------------------------------------------------------------------- /vendor/github.com/vektra/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | 7 | script: go get -v -t ./.... && go test -v ./... 8 | -------------------------------------------------------------------------------- /vendor/github.com/vektra/errors/eof_default.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin 2 | 3 | package errors 4 | 5 | import ( 6 | "io" 7 | "strings" 8 | ) 9 | 10 | // Test if err indicates EOF 11 | func EOF(err error) bool { 12 | if err == io.EOF { 13 | return true 14 | } 15 | 16 | if strings.Contains(err.Error(), "closed") { 17 | return true 18 | } 19 | 20 | if strings.Contains(err.Error(), "reset by peer") { 21 | return true 22 | } 23 | 24 | return false 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/vektra/errors/eof_default_test.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin 2 | 3 | package errors 4 | 5 | import ( 6 | "io" 7 | "testing" 8 | 9 | "github.com/stretchr/testify/assert" 10 | ) 11 | 12 | func TestEOFioEOF(t *testing.T) { 13 | assert.True(t, EOF(io.EOF)) 14 | } 15 | 16 | func TestEOFonMatchClosed(t *testing.T) { 17 | assert.True(t, EOF(New("this is closed"))) 18 | } 19 | 20 | func TestEOFonMatchResetByPeer(t *testing.T) { 21 | assert.True(t, EOF(New("connection reset by peer"))) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fatih/set.v0/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 1.2 3 | 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | # Folders 6 | _obj 7 | _test 8 | # Architecture specific extensions/prefixes 9 | *.[568vq] 10 | [568vq].out 11 | *.cgo1.go 12 | *.cgo2.c 13 | _cgo_defun.c 14 | _cgo_gotypes.go 15 | _cgo_export.* 16 | _testmain.go 17 | *.exe 18 | *.test 19 | *.prof 20 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/README.md: -------------------------------------------------------------------------------- 1 | ## util [![GoDoc](https://godoc.org/vbom.ml/util?status.svg)](https://godoc.org/vbom.ml/util) 2 | 3 | import "vbom.ml/util" 4 | 5 | Go utility packages. 6 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/doc.go: -------------------------------------------------------------------------------- 1 | // Package util includes various small pieces of code. 2 | package util // import "vbom.ml/util" 3 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/rope/README.md: -------------------------------------------------------------------------------- 1 | ## rope [![GoDoc](https://godoc.org/vbom.ml/util/rope?status.svg)](https://godoc.org/vbom.ml/util/rope) 2 | 3 | import "vbom.ml/util/rope" 4 | 5 | Package rope implements a "heavy-weight string", which represents very long strings more efficiently (especially when many concatenations are performed). 6 | 7 | It may also need less memory if it contains repeated substrings, or if you use several large strings that are similar to each other. 8 | 9 | Rope values are immutable, so each operation returns its result instead of modifying the receiver. This immutability also makes them thread-safe. 10 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/rope/debug.go: -------------------------------------------------------------------------------- 1 | package rope 2 | 3 | // debug enables debug output. 4 | const debug = true 5 | 6 | // MarkGoStringedRope is a flag that, when enabled, prepends "/*Rope*/ " to the 7 | // result of Rope.GoString(). This can be useful when debugging code using 8 | // interface{} values, where Ropes and strings can coexist. 9 | // 10 | // This should only ever be changed from init() functions, to ensure there are 11 | // no data races. 12 | var MarkGoStringedRope = true 13 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/sortorder/README.md: -------------------------------------------------------------------------------- 1 | ## sortorder [![GoDoc](https://godoc.org/vbom.ml/util/sortorder?status.svg)](https://godoc.org/vbom.ml/util/sortorder) 2 | 3 | import "vbom.ml/util/sortorder" 4 | 5 | Sort orders and comparison functions. 6 | -------------------------------------------------------------------------------- /vendor/vbom.ml/util/sortorder/doc.go: -------------------------------------------------------------------------------- 1 | // Package sortorder implements sort orders and comparison functions. 2 | // 3 | // Currently, it only implements so-called "natural order", where integers 4 | // embedded in strings are compared by value. 5 | package sortorder // import "vbom.ml/util/sortorder" 6 | --------------------------------------------------------------------------------