Module: XCPretty::FormatMethods

Included in:
Formatter
Defined in:
lib/xcpretty/formatters/formatter.rb

Overview

Making a new formatter is easy. Just make a subclass of Formatter, and override any of these methods.

Constant Summary collapse

EMPTY =
''.freeze

Instance Method Summary collapse

Instance Method Details

#format_aggregate_target(target, project, configuration) ⇒ Object



14
# File 'lib/xcpretty/formatters/formatter.rb', line 14

def format_aggregate_target(target, project, configuration); EMPTY; end

#format_analyze(file_name, file_path) ⇒ Object



12
# File 'lib/xcpretty/formatters/formatter.rb', line 12

def format_analyze(file_name, file_path);                  EMPTY; end

#format_analyze_target(target, project, configuration) ⇒ Object



15
# File 'lib/xcpretty/formatters/formatter.rb', line 15

def format_analyze_target(target, project, configuration); EMPTY; end

#format_build_target(target, project, configuration) ⇒ Object



13
# File 'lib/xcpretty/formatters/formatter.rb', line 13

def format_build_target(target, project, configuration);   EMPTY; end

#format_check_dependenciesObject



16
# File 'lib/xcpretty/formatters/formatter.rb', line 16

def format_check_dependencies;                             EMPTY; end

#format_clean(project, target, configuration) ⇒ Object



17
# File 'lib/xcpretty/formatters/formatter.rb', line 17

def format_clean(project, target, configuration);          EMPTY; end

#format_clean_removeObject



19
# File 'lib/xcpretty/formatters/formatter.rb', line 19

def format_clean_remove;                                   EMPTY; end

#format_clean_target(target, project, configuration) ⇒ Object



18
# File 'lib/xcpretty/formatters/formatter.rb', line 18

def format_clean_target(target, project, configuration);   EMPTY; end

#format_codesign(file) ⇒ Object



40
# File 'lib/xcpretty/formatters/formatter.rb', line 40

def format_codesign(file);                                 EMPTY; end

#format_compile(file_name, file_path) ⇒ Object



20
# File 'lib/xcpretty/formatters/formatter.rb', line 20

def format_compile(file_name, file_path);                  EMPTY; end

#format_compile_command(compiler_command, file_path) ⇒ Object



21
# File 'lib/xcpretty/formatters/formatter.rb', line 21

def format_compile_command(compiler_command, file_path);   EMPTY; end

#format_compile_error(file_name, file_path, reason, line, cursor) ⇒ Object

COMPILER / LINKER ERRORS AND WARNINGS



55
56
# File 'lib/xcpretty/formatters/formatter.rb', line 55

def format_compile_error(file_name, file_path, reason,
line, cursor);                    EMPTY; end

#format_compile_storyboard(file_name, file_path) ⇒ Object



22
# File 'lib/xcpretty/formatters/formatter.rb', line 22

def format_compile_storyboard(file_name, file_path);       EMPTY; end

#format_compile_warning(file_name, file_path, reason, line, cursor) ⇒ Object

TODO: see how we can unify format_error and format_compile_error,

the same for warnings


66
67
# File 'lib/xcpretty/formatters/formatter.rb', line 66

def format_compile_warning(file_name, file_path, reason,
line, cursor);                  EMPTY; end

#format_compile_xib(file_name, file_path) ⇒ Object



23
# File 'lib/xcpretty/formatters/formatter.rb', line 23

def format_compile_xib(file_name, file_path);              EMPTY; end

#format_copy_header_file(source, target) ⇒ Object



24
# File 'lib/xcpretty/formatters/formatter.rb', line 24

def format_copy_header_file(source, target);               EMPTY; end

#format_copy_plist_file(source, target) ⇒ Object



25
# File 'lib/xcpretty/formatters/formatter.rb', line 25

def format_copy_plist_file(source, target);                EMPTY; end

#format_copy_strings_file(file_name) ⇒ Object



26
# File 'lib/xcpretty/formatters/formatter.rb', line 26

def format_copy_strings_file(file_name);                   EMPTY; end

#format_cpresource(file) ⇒ Object



27
# File 'lib/xcpretty/formatters/formatter.rb', line 27

def format_cpresource(file);                               EMPTY; end

#format_duplicate_symbols(message, file_paths) ⇒ Object



61
# File 'lib/xcpretty/formatters/formatter.rb', line 61

def format_duplicate_symbols(message, file_paths);         EMPTY; end

#format_error(message) ⇒ Object



57
# File 'lib/xcpretty/formatters/formatter.rb', line 57

def format_error(message);                                 EMPTY; end

#format_failing_test(suite, test, reason, file_path) ⇒ Object



34
# File 'lib/xcpretty/formatters/formatter.rb', line 34

def format_failing_test(suite, test, reason, file_path);   EMPTY; end

#format_file_missing_error(error, file_path) ⇒ Object



58
# File 'lib/xcpretty/formatters/formatter.rb', line 58

def format_file_missing_error(error, file_path);           EMPTY; end

#format_generate_dsym(dsym) ⇒ Object



28
# File 'lib/xcpretty/formatters/formatter.rb', line 28

def format_generate_dsym(dsym);                            EMPTY; end

#format_ld_warning(message) ⇒ Object



59
# File 'lib/xcpretty/formatters/formatter.rb', line 59

def format_ld_warning(message);                            EMPTY; end

#format_libtool(library) ⇒ Object



30
# File 'lib/xcpretty/formatters/formatter.rb', line 30

def format_libtool(library);                               EMPTY; end

#format_linking(file, build_variant, arch) ⇒ Object



29
# File 'lib/xcpretty/formatters/formatter.rb', line 29

def format_linking(file, build_variant, arch);             EMPTY; end

#format_measuring_test(suite, test, time) ⇒ Object



33
# File 'lib/xcpretty/formatters/formatter.rb', line 33

def format_measuring_test(suite, test, time);              EMPTY; end

#format_other(text) ⇒ Object



52
# File 'lib/xcpretty/formatters/formatter.rb', line 52

def format_other(text)                                     EMPTY; end

#format_passing_test(suite, test, time) ⇒ Object



31
# File 'lib/xcpretty/formatters/formatter.rb', line 31

def format_passing_test(suite, test, time);                EMPTY; end

#format_pbxcp(file) ⇒ Object



42
# File 'lib/xcpretty/formatters/formatter.rb', line 42

def format_pbxcp(file);                                    EMPTY; end

#format_pending_test(suite, test) ⇒ Object



32
# File 'lib/xcpretty/formatters/formatter.rb', line 32

def format_pending_test(suite, test);                      EMPTY; end

#format_phase_script_execution(script_name) ⇒ Object



38
# File 'lib/xcpretty/formatters/formatter.rb', line 38

def format_phase_script_execution(script_name);            EMPTY; end

#format_phase_success(phase_name) ⇒ Object



37
# File 'lib/xcpretty/formatters/formatter.rb', line 37

def format_phase_success(phase_name);                      EMPTY; end

#format_preprocess(file) ⇒ Object



41
# File 'lib/xcpretty/formatters/formatter.rb', line 41

def format_preprocess(file);                               EMPTY; end

#format_process_info_plist(file_name, file_path) ⇒ Object



39
# File 'lib/xcpretty/formatters/formatter.rb', line 39

def format_process_info_plist(file_name, file_path);       EMPTY; end

#format_process_pch(file) ⇒ Object



35
# File 'lib/xcpretty/formatters/formatter.rb', line 35

def format_process_pch(file);                              EMPTY; end

#format_process_pch_command(file_path) ⇒ Object



36
# File 'lib/xcpretty/formatters/formatter.rb', line 36

def format_process_pch_command(file_path);                 EMPTY; end

#format_shell_command(command, arguments) ⇒ Object



43
# File 'lib/xcpretty/formatters/formatter.rb', line 43

def format_shell_command(command, arguments);              EMPTY; end

#format_test_run_finished(name, time) ⇒ Object



45
# File 'lib/xcpretty/formatters/formatter.rb', line 45

def format_test_run_finished(name, time);                  EMPTY; end

#format_test_run_started(name) ⇒ Object



44
# File 'lib/xcpretty/formatters/formatter.rb', line 44

def format_test_run_started(name);                         EMPTY; end

#format_test_suite_started(name) ⇒ Object



46
# File 'lib/xcpretty/formatters/formatter.rb', line 46

def format_test_suite_started(name);                       EMPTY; end

#format_test_summary(message, failures_per_suite) ⇒ Object



47
# File 'lib/xcpretty/formatters/formatter.rb', line 47

def format_test_summary(message, failures_per_suite);      EMPTY; end

#format_tiffutil(file) ⇒ Object



49
# File 'lib/xcpretty/formatters/formatter.rb', line 49

def format_tiffutil(file);                                 EMPTY; end

#format_touch(file_path, file_name) ⇒ Object



48
# File 'lib/xcpretty/formatters/formatter.rb', line 48

def format_touch(file_path, file_name);                    EMPTY; end

#format_undefined_symbols(message, symbol, reference) ⇒ Object



60
# File 'lib/xcpretty/formatters/formatter.rb', line 60

def format_undefined_symbols(message, symbol, reference);  EMPTY; end

#format_warning(message) ⇒ Object



62
# File 'lib/xcpretty/formatters/formatter.rb', line 62

def format_warning(message);                             message; end

#format_write_auxiliary_filesObject



51
# File 'lib/xcpretty/formatters/formatter.rb', line 51

def format_write_auxiliary_files;                          EMPTY; end

#format_write_file(file) ⇒ Object



50
# File 'lib/xcpretty/formatters/formatter.rb', line 50

def format_write_file(file);                               EMPTY; end