Module: XCPretty::Matchers
- Included in:
- Parser
- Defined in:
- lib/xcpretty/parser.rb
Defined Under Namespace
Constant Summary collapse
- ANALYZE_MATCHER =
$1 file_path $2 file_name
/^Analyze(?:Shallow)?\s(.*\/(.*\.(?:m|mm|cc|cpp|c|cxx)))\s*/- BUILD_TARGET_MATCHER =
$1 target $2 project $3 configuration
/^=== BUILD TARGET\s(.*)\sOF PROJECT\s(.*)\sWITH.*CONFIGURATION\s(.*)\s===/- AGGREGATE_TARGET_MATCHER =
$1 target $2 project $3 configuration
/^=== BUILD AGGREGATE TARGET\s(.*)\sOF PROJECT\s(.*)\sWITH.*CONFIGURATION\s(.*)\s===/- ANALYZE_TARGET_MATCHER =
$1 target $2 project $3 configuration
/^=== ANALYZE TARGET\s(.*)\sOF PROJECT\s(.*)\sWITH.*CONFIGURATION\s(.*)\s===/- CHECK_DEPENDENCIES_MATCHER =
/^Check dependencies/- SHELL_COMMAND_MATCHER =
$1 command path $2 arguments
/^\s{4}(cd|setenv|(?:[\w\/:\\\s\-.]+?\/)?[\w\-]+)\s(.*)$/- CLEAN_REMOVE_MATCHER =
/^Clean.Remove/- CLEAN_TARGET_MATCHER =
$1 target $2 project $3 configuration
/^=== CLEAN TARGET\s(.*)\sOF PROJECT\s(.*)\sWITH CONFIGURATION\s(.*)\s===/- CODESIGN_MATCHER =
$1 = file
/^CodeSign\s((?:\\ |[^ ])*)$/- CODESIGN_FRAMEWORK_MATCHER =
$1 = file
/^CodeSign\s((?:\\ |[^ ])*.framework)\/Versions/- COMPILE_MATCHER =
$1 file_path $2 file_name (e.g. KWNull.m)
/^Compile[\w]+\s.+?\s((?:\\.|[^ ])+\/((?:\\.|[^ ])+\.(?:m|mm|c|cc|cpp|cxx|swift)))\s.*/- COMPILE_COMMAND_MATCHER =
$1 compiler_command $2 file_path
/^\s*(.*clang\s.*\s\-c\s(.*\.(?:m|mm|c|cc|cpp|cxx))\s.*\.o)$/- COMPILE_XIB_MATCHER =
$1 file_path $2 file_name (e.g. MainMenu.xib)
/^CompileXIB\s(.*\/(.*\.xib))/- COMPILE_STORYBOARD_MATCHER =
$1 file_path $2 file_name (e.g. Main.storyboard)
/^CompileStoryboard\s(.*\/([^\/].*\.storyboard))/- COPY_HEADER_MATCHER =
$1 source file $2 target file
/^CpHeader\s(.*\.h)\s(.*\.h)/- COPY_PLIST_MATCHER =
$1 source file $2 target file
/^CopyPlistFile\s(.*\.plist)\s(.*\.plist)/- COPY_STRINGS_MATCHER =
$1 file
/^CopyStringsFile.*\/(.*.strings)/- CPRESOURCE_MATCHER =
$1 resource
/^CpResource\s(.*)\s\//- EXECUTED_MATCHER =
/^\s*Executed/- FAILING_TEST_MATCHER =
$1 = file $2 = test_suite $3 = test_case $4 = reason
/^\s*(.+:\d+):\serror:\s[\+\-]\[(.*)\s(.*)\]\s:(?:\s'.*'\s\[FAILED\],)?\s(.*)/- UI_FAILING_TEST_MATCHER =
$1 = file $2 = reason
/^\s{4}t = \s+\d+\.\d+s\s+Assertion Failure: (.*:\d+): (.*)$/- RESTARTING_TESTS_MATCHER =
/^Restarting after unexpected exit or crash in.+$/- GENERATE_DSYM_MATCHER =
$1 = dsym
/^GenerateDSYMFile \/.*\/(.*\.dSYM)/- LIBTOOL_MATCHER =
$1 = library
/^Libtool.*\/(.*\.a)/- LINKING_MATCHER =
$1 = target $2 = build_variants (normal, profile, debug) $3 = architecture
/^Ld \/?.*\/(.*?) (.*) (.*)$/- TEST_CASE_PASSED_MATCHER =
$1 = suite $2 = test_case $3 = time
/^\s*Test Case\s'-\[(.*)\s(.*)\]'\spassed\s\((\d*\.\d{3})\sseconds\)/- TEST_CASE_STARTED_MATCHER =
$1 = suite $2 = test_case
/^Test Case '-\[(.*) (.*)\]' started.$/- TEST_CASE_PENDING_MATCHER =
$1 = suite $2 = test_case
/^Test Case\s'-\[(.*)\s(.*)PENDING\]'\spassed/- TEST_CASE_MEASURED_MATCHER =
$1 = suite $2 = test_case $3 = time
/^[^:]*:[^:]*:\sTest Case\s'-\[(.*)\s(.*)\]'\smeasured\s\[Time,\sseconds\]\saverage:\s(\d*\.\d{3}),/- PHASE_SUCCESS_MATCHER =
/^\*\*\s(.*)\sSUCCEEDED\s\*\*/- PHASE_SCRIPT_EXECUTION_MATCHER =
$1 = script_name
/^PhaseScriptExecution\s((\\\ |\S)*)\s/- PROCESS_PCH_MATCHER =
$1 = file
/^ProcessPCH\s.*\s(.*.pch)/- PROCESS_PCH_COMMAND_MATCHER =
$1 file_path
/^\s*.*\/usr\/bin\/clang\s.*\s\-c\s(.*)\s\-o\s.*/- PREPROCESS_MATCHER =
$1 = file
/^Preprocess\s(?:(?:\\ |[^ ])*)\s((?:\\ |[^ ])*)$/- PBXCP_MATCHER =
$1 = file
/^PBXCp\s((?:\\ |[^ ])*)/- PROCESS_INFO_PLIST_MATCHER =
$1 = file
/^ProcessInfoPlistFile\s.*\.plist\s(.*\/+(.*\.plist))/- TESTS_RUN_COMPLETION_MATCHER =
$1 = suite $2 = time
/^\s*Test Suite '(?:.*\/)?(.*[ox]ctest.*)' (finished|passed|failed) at (.*)/- TEST_SUITE_STARTED_MATCHER =
$1 = suite $2 = time
/^\s*Test Suite '(?:.*\/)?(.*[ox]ctest.*)' started at(.*)/- TEST_SUITE_START_MATCHER =
$1 test suite name
/^\s*Test Suite '(.*)' started at/- TIFFUTIL_MATCHER =
$1 file_name
/^TiffUtil\s(.*)/- TOUCH_MATCHER =
$1 file_path $2 file_name
/^Touch\s(.*\/(.+))/- WRITE_FILE_MATCHER =
$1 file_path
/^write-file\s(.*)/- WRITE_AUXILIARY_FILES =
/^Write auxiliary files/