summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10018-delete-space-oc.mm69
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10019-func-param-wrap-oc.mm5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10020-align-objc-like-xcode.m8
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10021-double-indent-objc-dict.m17
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10022-indent-objc-block.m149
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10033-objc.mm8
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10034-asm.h.mm21
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10035-definesalign.h.mm5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10036-inttypes.h.mm3
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10046-UNI-1333.mm15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10102-pp-ignore.mm29
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11030-argtypes.mm3
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11031-casting.mm1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11032-newlines.mm33
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50001-Fraction.h15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50002-Fraction.m29
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50003-main.m22
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50004-string.m10
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50005-Declarations.h24
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50006-exceptions.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50007-misc.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50008-protocol.m31
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50009-literals.mm47
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50010-return_type.m42
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50011-return_type.m42
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50012-return_type.m42
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50014-sp_oc_classname_paren-r.m2
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50015-receiver.m11
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50016-ternary.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50017-ternary.m5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50018-indent-inside-ternary-operator.m102
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50020-selector.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50021-selector.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50022-selector.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50025-exceptions.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50026-exceptions.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50030-sort_import.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50031-sort_import.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50032-sort_import.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50033-sort_import.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50034-sort_import.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50035-sort_import_group.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50036-sort_import_group_regex.mm1026
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50040-complex_method.m30
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50050-real_world_file.m229
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50060-oc-split.m10
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50061-bug_167.m7
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50062-issue_2631.m17
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50070-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50071-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50072-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50073-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50074-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50075-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50076-blocks.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50077-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50078-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50079-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50080-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50081-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50082-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50083-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50084-more_blocks.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50085-block_in_method.m69
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50086-block_in_method.m66
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50087-indent_oc_inside_msg_sel.m71
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50090-kw.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50091-block_in_method.m66
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50095-box.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50100-bug_340.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50110-msg_align.m61
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50111-ns_enum.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50112-ns_enum.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50113-ns_enum.m27
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50120-gh137.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50200-more_blocks_2.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50201-blocks_align.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50202-blocks_align.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50203-blocks_align.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50204-blocks_align.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50205-msg_align.m61
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50206-issue_2727.m2
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50207-issue_3031.mm4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50300-msg.m3
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50400-for.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50410-oc_cond_colon.m9
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50411-attribute_specifier_seqs.mm19
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50500-code_placeholder.m5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50510-gh293.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50511-gh293.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50512-sp_oc_catch.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50513-sp_oc_boxed.m9
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50514-indent_boxed.m74
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50515-sp_oc_synchronized.m11
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50600-bug_i_477.m4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50601-bug_i_408.m1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50602-bug_i_125-412.m9
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50603-gh511.m4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50604-bug_497.m13
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50605-bug_404.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50606-bug_1366.m14
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50607-sp_after_oc_msg_receiver.m11
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50608-blocks_align2.m89
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50609-negative_value.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50610-nelem.m10
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50611-for2.m2
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50612-chunk_ends_type1.m23
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50613-chunk_ends_type2.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50614-chunk_ends_type3.m11
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50615-block_literal_protocol.m19
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50616-oc_msg_in_pp.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50617-boxed_receiver.m37
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50618-func_def.mm13
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50619-cast.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50620-sp_after_angle.m21
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50621-Fraction.h14
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50622-c-cpp-oc-wrapper.c300
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50623-extern-c-attribute.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50624-typeof.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50625-sp_inside_braces_oc_dict.m7
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50626-chunk_ends_type4.m48
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50627-method_ends_semicolon.m17
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50628-macro-close-brace.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50629-pp_bool.m5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50630-nl_func_call_args_multi_line_ignore_closures.m103
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50631-nl_oc_msg_args_min_params.m32
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50632-nl_oc_msg_args_max_code_width.m21
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50633-ocpp_msg_access.mm4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50700-cmt_insert.m95
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50701-cmt_insert2.m50
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50800-properties.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50801-i1213.m9
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50802-available.m12
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50803-indent_single_newline.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50804-issue_2629.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50805-issue_2724.m19
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50810-bug_841.m4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50811-bug_1674.m4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50812-bug_1683.m1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50813-sp_before_oc_proto_list.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50814-sp_before_oc_proto_list.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50815-sp_before_oc_proto_list.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50816-issue_2675.m66
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50817-issue_2722.m4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50900-1927.m17
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50901-Issue_2172.m11
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50902-Issue_2289.m5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50903-Issue_681.oc19
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50904-double_angle_space.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50905-double_angle_space.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50906-double_angle_space.m25
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50907-align_colon_with_ternary_1.m48
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50908-align_colon_with_ternary_2.m31
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50909-3766.m15
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50910-3767.mm7
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50911-3811.mm6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50912-3812.m8
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50913-3813.m20
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50914-3819.m1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50915-3822.h5
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50916-3823.m6
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51000-sp_cond_ternary_short.m1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51001-ns_enum-i.m2
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51002-sp_oc_catch.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51003-sp_oc_catch.m18
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51004-block_pointer.m16
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/60011-UNI-11095.mm15
167 files changed, 5648 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10018-delete-space-oc.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10018-delete-space-oc.mm
new file mode 100644
index 00000000..8760241b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10018-delete-space-oc.mm
@@ -0,0 +1,69 @@
+/* EditorApplication */
+
+#include <string>
+
+#ifdef __OBJC__
+#import <Cocoa/Cocoa.h>
+
+class HierarchyState;
+@interface EditorApplication : NSObject
+{
+ IBOutlet id m_MainWindow;
+ IBOutlet id m_PaneController;
+ id m_RenderTimer;
+
+ IBOutlet id m_CutItem;
+ IBOutlet id m_CopyItem;
+ IBOutlet id m_PasteItem;
+
+ IBOutlet id m_DuplicateItem;
+ IBOutlet id m_DeleteItem;
+
+ IBOutlet id m_FrameSelectedItem;
+ IBOutlet id m_FindItem;
+ IBOutlet id m_SelectAllItem;
+}
+
+- (IBAction)SaveAssets: (id)sender;
+- (IBAction)CloseScene: (id)sender;
+- (IBAction)NewProject: (id)sender;
+- (IBAction)OpenProject: (id)sender;
+
+- (IBAction)SaveAsSceneToDisk: (id)sender;
+
+- (IBAction)EnterSerialNumber: (id)sender;
+- (IBAction)ReturnLicense: (id)sender;
+- (IBAction)CompileScene: (id)sender;
+- (IBAction)CompileSceneAutomatic: (id)sender;
+
+- (IBAction)saveDocument: (id)sender;
+
+- (IBAction)LoadSceneFromDisk: (id)sender;
+
+- (void)RemoveDisplayTimer;
+- (void)RegisterUpdateTimer: (int)frequency;
+
+- (void)refreshModifiedFile: (NSAppleEventDescriptor*)event withReplyEvent: (NSAppleEventDescriptor*)replyEvent;
+- (void)closeFile: (NSAppleEventDescriptor*)event withReplyEvent: (NSAppleEventDescriptor*)replyEvent;
+
+- (IBAction)ShowAboutDialog: (id)sender;
+- (IBAction)ShowPreferences: (id)sender;
+- (IBAction)ShowPackageManager: (id)sender;
+
+- (IBAction) delete: (id)sender;
+- (IBAction) copy: (id)action;
+- (IBAction)paste: (id)action;
+- (IBAction)duplicate: (id)action;
+- (IBAction)cut: (id)action;
+- (IBAction)selectAll: (id)action;
+- (IBAction)find: (id)action;
+- (IBAction)frameSelected: (id)action;
+- (IBAction)frameSelectedWithLock: (id)action;
+
+// Assetstore protocol handler and registration
+- (void)registerAssetStoreURLProtocol;
+- (void)getUrl: (NSAppleEventDescriptor*)event withReplyEvent: (NSAppleEventDescriptor*)replyEvent;
+
+@end
+
+#endif
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10019-func-param-wrap-oc.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10019-func-param-wrap-oc.mm
new file mode 100644
index 00000000..45601228
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10019-func-param-wrap-oc.mm
@@ -0,0 +1,5 @@
+if(progress <= 0)
+{
+ [[NSBezierPath bezierPathWithOvalInRect:NSMakeRect(NSMinX(pieRect)+stroke,NSMinY(pieRect)+stroke,
+ NSWidth(pieRect)-2*stroke,NSHeight(pieRect)-2*stroke)] fill];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10020-align-objc-like-xcode.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10020-align-objc-like-xcode.m
new file mode 100644
index 00000000..93066246
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10020-align-objc-like-xcode.m
@@ -0,0 +1,8 @@
+- (void)foo {
+ [self dismissWithReason: DismissReason::Auto animated: TRUE];
+ [self dismissWithReason: DismissReason::Auto
+ animated: TRUE];
+ [self
+ dismissWithReason: DismissReason::Auto
+ animated: TRUE];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10021-double-indent-objc-dict.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10021-double-indent-objc-dict.m
new file mode 100644
index 00000000..a93bd81e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10021-double-indent-objc-dict.m
@@ -0,0 +1,17 @@
+id a = @{
+ @"a": @1,
+ @"b": @2,
+};
+
+struct foo_t b = {
+ 1,
+ 2,
+};
+
+SomeObject *build()
+{
+ return @{
+ @"a": @1,
+ @"b": @2,
+ };
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10022-indent-objc-block.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10022-indent-objc-block.m
new file mode 100644
index 00000000..4aab0fc0
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10022-indent-objc-block.m
@@ -0,0 +1,149 @@
+const auto c =
+ [FDSTapTargetComponent
+ accessibilityContext:{
+ .accessibilityLabel = ^{
+ return [AccessibilityLabelBuilder build];
+ }
+ }];
+
+methodCall1(^{
+ send(component1);
+},
+ x);
+
+methodCall2( ^ {
+ send(component2);
+});
+
+[array block:^ (id obj, NSUInteger idx, BOOL *stop) {
+ NSLog(@"Object at index %lu is %@", idx, obj);
+ }];
+
+
+[UIView animateWithDuration:3.0f animation:^{
+ LOG(@"animate");
+ }
+ completion:^(BOOL finished){
+ LOG(@"finished");
+ }];
+
+[UIView
+ animationBlock: ^ {
+ [[Log alloc] callback:^NSString *(NSString *result){
+ return @"log";
+ }];
+ }
+ completion:^(BOOL finished){
+ LOG(@"finished");
+ }];
+
+
+methodCall3(x, ^KSC::ActionCell::Item (Item item) {
+ variant.action.send(component);
+});
+
+methodCall4( x, ^ id (Component *c) {
+ NSLog(@"methodCall4");
+});
+
+methodCall5( ^ id (Component *c) {
+ NSLog(@"methodCall5");
+});
+
+methodCall6( ^(NSString *)(Component *c) {
+ return @"methodCall6";
+});
+
+methodCall7(^ (Component *c) {
+ NSLog(@"methodCall7");
+}, y);
+
+methodCall8(x, ^(Component *c) {
+ NSLog(@"methodCall8");
+}, y);
+
+
+[Object callMethod:xArg
+ block:^id (Component *c) {
+ NSLog(@"methodCall4");
+ }];
+
+[Object callMethod:xArg
+ block:^id (Component *c) {
+ NSLog(@"methodCall5");
+ }];
+
+[Object callMethod:xArg block:^(NSString *)(Component *c) {
+ return @"methodCall6";
+ }];
+
+
+[Object callMethod:xArg
+ block:^ (Component *c) {
+ NSLog(@"methodCall7");
+ }
+ yMethod:yArg];
+
+[Object callMethod:xArg
+ block:^(Component *c) {
+ NSLog(@"methodCall8");
+ }
+ yMethod:yArg];
+
+[Object callMethod:xArg
+ block:^(NSString *)(Component *c1) {
+ [Object callMethod:xArg block:^(Component *c) {
+ NSLog(@"methodCal9");
+ }
+ yMethod:yArg];
+ }
+ anotherBlock:^(NSString *)(Component *c2) {
+ return @"methodCall10";
+ }
+ yetAnotherBlock:^(NSString *)(Component *c3) {
+ return @"methodCall11";
+ }];
+
+[dialog
+ dismissWithCompletion:^{
+ _deleteConversation(
+ strongSelf->_session,
+ ^{
+ if (auto const innerStrongSelf = weakSelf) {
+ [NavigationCoordinator(innerStrongSelf)
+ dismissViewController:innerStrongSelf
+ completion:nil];
+ }
+ });
+ }];
+
+
+[FlexboxComponent
+ newWithView:{
+ {
+ .accessibilityLabel = ^{
+ return
+ [[[[AccessibilityLabelBuilder builder]
+ appendPhrase:title]
+ appendPhrase:body]
+ getResult];
+ },
+ }
+ }];
+
+
+MainComponent(
+ .builder = ^{
+ return
+ value;
+},
+ param1,
+ param2,
+ );
+
+KSC::map(
+ _items,
+ ^ ActionCell::Item (Item item) {
+ return x;
+}
+ );
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10033-objc.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10033-objc.mm
new file mode 100644
index 00000000..07ede276
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10033-objc.mm
@@ -0,0 +1,8 @@
+void foo()
+{
+ if (key)
+ ret.key = [NSString stringWithCharacters: &key length: 1];
+
+ [gUndoMenu->m_UndoItem setTitle: [NSString stringWithFormat: [NSString stringWithUTF8String: localizedUndo], undoName.c_str()]];
+ [gUndoMenu->m_RedoItem setTitle: [NSString stringWithFormat: [NSString stringWithUTF8String: localizedRedo], redoName.c_str()]];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10034-asm.h.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10034-asm.h.mm
new file mode 100644
index 00000000..84a5efa8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10034-asm.h.mm
@@ -0,0 +1,21 @@
+static inline void atomic_retain(volatile int *p)
+{
+#if defined(_MSC_VER)
+ _InterlockedIncrement((LONG volatile *)p);
+#else
+ __asm__(
+ "lock incl %0\n\t"
+ : "+m" (*p)
+ :
+ : "cc", "memory"
+ );
+#endif
+}
+
+static inline void atomic_thread_fence(memory_order_release_t)
+{
+ __asm__ __volatile__
+ (
+ ASM_LWSYNC : : : "memory"
+ );
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10035-definesalign.h.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10035-definesalign.h.mm
new file mode 100644
index 00000000..9ad29954
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10035-definesalign.h.mm
@@ -0,0 +1,5 @@
+ #define SOUNDMANAGERWATCHDOG() \
+ SoundManagerWatchDog watchdog
+
+ #define CompileTimeAssert(expression, message) \
+ enum{ CT_ASSERT_HACK_JOIN(ct_assert_, __LINE__) = sizeof(CompileTimeAssertImpl<(expression)>) }
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10036-inttypes.h.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10036-inttypes.h.mm
new file mode 100644
index 00000000..4ac13417
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10036-inttypes.h.mm
@@ -0,0 +1,3 @@
+static int32_t level_and_name_to_system(SocketOptionLevel level, SocketOptionName name, int32_t *system_level, int32_t *system_name)
+
+WaitStatus SendTo(uint8_t address[ipv6AddressSize], uint32_t scope, uint16_t port, const uint8_t *data, int32_t count, os::SocketFlags flags, int32_t *len);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10046-UNI-1333.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10046-UNI-1333.mm
new file mode 100644
index 00000000..5c91693c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10046-UNI-1333.mm
@@ -0,0 +1,15 @@
+// Test if Uncrustify properly handles `@synchronized` keyword for ObjC
+
+// In keywords.cpp there is no @synchronized keyword listed and from what I've seen synchronized is only regarded as a keyword in other languages
+// { "synchronized", CT_QUALIFIER, LANG_D | LANG_JAVA | LANG_ECMA },
+
+- (void)foo
+{
+ @synchronized(self)
+ {
+ if (bar)
+ {
+ bar = false;
+ }
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10102-pp-ignore.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10102-pp-ignore.mm
new file mode 100644
index 00000000..f26232c9
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/10102-pp-ignore.mm
@@ -0,0 +1,29 @@
+#define a z \
+ x
+
+#define a(b) z \
+ x
+
+#define ab(b) z \
+ x
+
+#define abc(b) z \
+ x
+
+#define abcd(b) z \
+ x
+
+
+#if FOO
+# define D(a, ...) B(FOO(a, __LINE__, __VA_ARGS__))
+# define C(msg) \
+ PP_WRAP_CODE( \
+ if (!msg) \
+ { \
+ BAR(); \
+ BARBAR(); \
+ BARBARBAR();\
+ })
+#else
+# define C(msg, ...) EMPTY
+#endif
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11030-argtypes.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11030-argtypes.mm
new file mode 100644
index 00000000..1afeb694
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11030-argtypes.mm
@@ -0,0 +1,3 @@
+static void WriteArrayToDrag(NSArray* array, NSPasteboard* pboard, NSString* pboardType);
+static OSStatus FindProcess(const FSRef* appRef, ProcessSerialNumber *pPSN, NSString* application, bool permissiveSearching);
+NSString* MakeNSString(const std::string& string);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11031-casting.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11031-casting.mm
new file mode 100644
index 00000000..c73d6ef8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11031-casting.mm
@@ -0,0 +1 @@
+videoViewController.videoGravity = (NSString*)videoGravity;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11032-newlines.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11032-newlines.mm
new file mode 100644
index 00000000..45fd64f9
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/11032-newlines.mm
@@ -0,0 +1,33 @@
+NSString* GetXcodePath()
+{
+ return [[NSWorkspace sharedWorkspace]absolutePathForAppBundleWithIdentifier: kXCodeBundleId];
+}
+
+extern "C" EXPORTDLL void LaunchXCode()
+{
+ NSString* curApp = GetXcodePath();
+ [[NSWorkspace sharedWorkspace] launchApplication: curApp];
+
+ NSArray *selectedApps =
+ [NSRunningApplication runningApplicationsWithBundleIdentifier: kXCodeBundleId];
+
+ for (int i = 0; i < [selectedApps count]; i++)
+ {
+ NSRunningApplication *app = [selectedApps objectAtIndex: i];
+ int count = 0;
+ NSLog(@"Checking %@\n", app);
+ while (![app isFinishedLaunching] && count++ < 300)
+ [[NSRunLoop currentRunLoop] runUntilDate: [NSDate dateWithTimeIntervalSinceNow: 1.0f]];
+ }
+}
+
+NSString* MakeNSString(const std::string& string)
+{
+ return MakeNSString(string.c_str());
+}
+
+NSString* MakeNSString(const char* string)
+{
+ NSString* ret = string ? [NSString stringWithUTF8String: string] : nil;
+ return ret ? ret : @"";
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50001-Fraction.h b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50001-Fraction.h
new file mode 100644
index 00000000..b1e373c2
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50001-Fraction.h
@@ -0,0 +1,15 @@
+#import <Foundation/NSObject.h>
+
+@interface Fraction : NSObject
+{
+ int numerator;
+ int denominator;
+}
+
+-(void) print;
+-(void) setNumerator: (int) d;
+-(void) setDenominator: (int) d;
+-(int) numerator;
+-(int) denominator;
+-(void) setNumDen: (int) n: (int) d;
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50002-Fraction.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50002-Fraction.m
new file mode 100644
index 00000000..4ad6dfc8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50002-Fraction.m
@@ -0,0 +1,29 @@
+#import "Fraction.h"
+#import <stdio.h>
+
+@implementation Fraction
+-(void) print
+{
+ printf("%i/%i", numerator, denominator);
+}
+
+-(void) setNumerator: (int) n
+{
+ numerator = n;
+}
+
+-(void) setDenominator: (int) d
+{
+ denominator = d;
+}
+
+-(int) denominator
+{
+ return denominator;
+}
+
+-(int) numerator
+{
+ return numerator;
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50003-main.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50003-main.m
new file mode 100644
index 00000000..ec082dc1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50003-main.m
@@ -0,0 +1,22 @@
+#import <stdio.h>
+#import "Fraction.h"
+
+int main(int argc, const char *argv[])
+{
+ // create a new instance
+ Fraction *frac = [[Fraction alloc] init];
+
+ // set the values
+ [frac setNumerator: 1];
+ [frac setDenominator: 3];
+
+ // print it
+ printf("The fraction is: ");
+ [frac print];
+ printf("\n");
+
+ // free memory
+ [frac release];
+
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50004-string.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50004-string.m
new file mode 100644
index 00000000..bbfeb51e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50004-string.m
@@ -0,0 +1,10 @@
+
+-(void)moreScannedData: (Image *) img from: (int) start to: (int) stop;
+-(void)moreScannedData: (Image *) img from: (int) start to: (int) stop;
+
+public bool Enabled
+{
+ NSString *whatever = @"some lovely text, the fox and co";
+
+ a = (enderedImage->h - toplines - bottomlines);
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50005-Declarations.h b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50005-Declarations.h
new file mode 100644
index 00000000..3b65c41c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50005-Declarations.h
@@ -0,0 +1,24 @@
+
+@interface EmptyClass : NSObject
+-(void)aMessage: (id) arg;
+@end
+
+@interface EmptyClass : NSObject
+{
+}
+-(void)aMessage: (id) arg;
+@end
+
+@interface NSObject (ObjectAdditions)
+-(void)aMessage: (id) arg;
+@end
+
+@protocol TestProtocol
+-(void)aMessage: (id) arg;
+@end
+
+@interface TestClass : NSObject<TestProtocol>
+{
+}
+-(void)aMessage: (id) arg;
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50006-exceptions.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50006-exceptions.m
new file mode 100644
index 00000000..609d2086
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50006-exceptions.m
@@ -0,0 +1,27 @@
+
+int main(int argc, const char *argv[])
+{
+ @try
+ {
+ [NSException raise: NSInternalInconsistency
+ format: @"An internal inconsistency was raised"];
+ }
+ @catch (NSException *e)
+ {
+ NSLog(@"Catch");
+ }
+ @finally
+ {
+ NSLog(@"Finally");
+ }
+
+ @throw [NSException exceptionWithName: @"foo" reason: @"bar" userInfo: nil];
+
+ NSException *exception = [NSException exceptionWithName: @"HotTeaException"
+ reason: @"The tea is too hot"
+ userInfo: nil];
+
+ @throw exception;
+
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50007-misc.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50007-misc.m
new file mode 100644
index 00000000..4de222a1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50007-misc.m
@@ -0,0 +1,25 @@
+-(id)init
+{
+ GLfloat wc[3][3] = { { 0.6, 0.6, 0.0 }, { 1.0, 0.7, 0.1 }, { 0.5, 0.7, 0.2 }, };
+ GLfloat cc[3][3] = { { 0.0, 0.0, 0.6 }, { 0.3, 0.1, 0.5 }, { 0.0, 0.0, 0.5 }, };
+ GLfloat sc[3] = { 0.75, 0.75, 0.75 };
+
+ return [self initWithWarmColors: (float *)&wc coolColors: (float *)&cc
+ surfaceColor: sc enableTexturing: NO enableSpecular: YES
+ enableQuakeDisruptor: NO];
+
+ [NSException raise: NSInternalInconsistency
+ format: @"An internal inconsistency was raised"];
+
+ for (i = 0; i < [a count]; i++)
+ {
+ [thePerson setAmount: (1.5 * 17) forKey: @"overtime"];
+ [screen showtext : x: y: @"Message"];
+ }
+}
+
+*outError = [NSError errorWithDomain: NSCocoaErrorDomain
+ code: 0
+ userInfo: [NSDictionary
+ dictionaryWithObject: @"Some Description"
+ forKey: NSLocalizedDescriptionKey]];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50008-protocol.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50008-protocol.m
new file mode 100644
index 00000000..50c4314a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50008-protocol.m
@@ -0,0 +1,31 @@
+
+NSAssert([self.delegate conformsToProtocol: @protocol(UISearchBarDelegate)], @"Some Error.");
+
+Protocol *counter = @protocol(ReferenceCounting);
+
+@protocol ReferenceCounting
+
+-setRefCount: (int)count;
+
+-(int)refCount;
+
+-incrementCount;
+
+-decrementCount;
+
+@end
+
+@interface Formatter : NSObject<Formatting, Prettifying>
+
+@end
+
+if ([receiver conformsTo: @protocol(ReferenceCounting)])
+{
+ [receiver incrementCount];
+}
+
+@protocol B;
+
+@protocol A
+-Foo: (id<B>)anObject;
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50009-literals.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50009-literals.mm
new file mode 100644
index 00000000..4bd99277
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50009-literals.mm
@@ -0,0 +1,47 @@
+
+NSDictionary *dictionary = @{
+ @0: @"red", @1: @"green", @2: @"blue"
+};
+
+NSArray *array = @[@0, @1, @2, @YES, @'Z', @42U];
+
+NSArray *multilineArray = @[
+ @0, @1, @2, @YES,
+ @'Z', @42U
+];
+
+void main(int argc, const char *argv[])
+{
+ // character literals.
+ NSNumber *theLetterZ = @'Z'; // equivalent to [NSNumber numberWithChar:'Z']
+
+ // integral literals.
+ NSNumber *fortyTwo = @42; // equivalent to [NSNumber numberWithInt:42]
+ NSNumber *fortyTwoUnsigned = @42U; // equivalent to [NSNumber numberWithUnsignedInt:42U]
+ NSNumber *fortyTwoLong = @42L; // equivalent to [NSNumber numberWithLong:42L]
+ NSNumber *fortyTwoLongLong = @42LL; // equivalent to [NSNumber numberWithLongLong:42LL]
+
+ // floating point literals.
+ NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]
+ NSNumber *piDouble = @3.1415926535; // equivalent to [NSNumber numberWithDouble:3.1415926535]
+
+ // BOOL literals.
+ NSNumber *yesNumber = @YES; // equivalent to [NSNumber numberWithBool:YES]
+ NSNumber *noNumber = @NO; // equivalent to [NSNumber numberWithBool:NO]
+
+ // Raw string literals
+ NSString *rawString = [NSString stringWithFormat:@R"(embedded " quotes " )"];
+ NSString *delimiterRawString = [NSString stringWithFormat:@R"<<<(embedded "quotes ')<<<"];
+ NSString *groupIDString = [NSString stringWithFormat:@R"({"group_id " : " % @",})", groupID];
+ NSString *config = @R"({"config_v1" : [
+ {"op1" : {"type":{"unsupported1":{}}},"markers":[123]},
+ {"op2" : {"type":{"jobs":{"suspend":true,"resume":false}}},"markers":[1]},
+ {"op3" : {"type":{"Good Format":{}}},"markers":[123]}
+ ]})";
+
+
+#ifdef __cplusplus
+ NSNumber *trueNumber = @true; // equivalent to [NSNumber numberWithBool:(BOOL)true]
+ NSNumber *falseNumber = @false; // equivalent to [NSNumber numberWithBool:(BOOL)false]
+#endif
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50010-return_type.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50010-return_type.m
new file mode 100644
index 00000000..62275a52
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50010-return_type.m
@@ -0,0 +1,42 @@
+#import <Foundation/NSObject.h>
+#import <stdio.h>
+
+@interface Fraction : NSObject
+{
+ int numerator;
+ int denominator;
+}
+-(void) print;
+-(void) setNumerator: (int) d;
+-(void) setDenominator: (int) d;
+-(int) numerator;
+-(int) denominator;
+-(void) setNumDen: (int) n: (int) d;
+@end
+
+@implementation Fraction
+-(void) print
+{
+ printf("%i/%i", numerator, denominator);
+}
+
+-(void) setNumerator: (int) n
+{
+ numerator = n;
+}
+
+-(void) setDenominator: (int) d
+{
+ denominator = d;
+}
+
+-(int) denominator
+{
+ return(denominator);
+}
+
+-(int) numerator
+{
+ return(numerator);
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50011-return_type.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50011-return_type.m
new file mode 100644
index 00000000..7cc95485
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50011-return_type.m
@@ -0,0 +1,42 @@
+#import <Foundation/NSObject.h>
+#import <stdio.h>
+
+@interface Fraction : NSObject
+{
+ int numerator;
+ int denominator;
+}
+-(void) print;
+-(void) setNumerator: (int) d;
+-(void) setDenominator: (int) d;
+-(int) numerator;
+-(int) denominator;
+-(void) setNumDen: (int) n: (int) d;
+@end
+
+@implementation Fraction
+-(void) print
+{
+ printf("%i/%i", numerator, denominator);
+}
+
+-(void) setNumerator: (int) n
+{
+ numerator = n;
+}
+
+-(void) setDenominator: (int) d
+{
+ denominator = d;
+}
+
+-(int) denominator
+{
+ return(denominator);
+}
+
+-(int) numerator
+{
+ return(numerator);
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50012-return_type.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50012-return_type.m
new file mode 100644
index 00000000..106c5466
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50012-return_type.m
@@ -0,0 +1,42 @@
+#import <Foundation/NSObject.h>
+#import <stdio.h>
+
+@interface Fraction : NSObject
+{
+ int numerator;
+ int denominator;
+}
+-(void)print;
+-(void)setNumerator: (int) d;
+-(void)setDenominator: (int) d;
+-(int) numerator;
+-(int) denominator;
+-(void)setNumDen: (int) n: (int) d;
+@end
+
+@implementation Fraction
+-(void)print
+{
+ printf("%i/%i", numerator, denominator);
+}
+
+-(void)setNumerator: (int) n
+{
+ numerator = n;
+}
+
+-(void)setDenominator: (int) d
+{
+ denominator = d;
+}
+
+-(int)denominator
+{
+ return(denominator);
+}
+
+-(int)numerator
+{
+ return(numerator);
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50014-sp_oc_classname_paren-r.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50014-sp_oc_classname_paren-r.m
new file mode 100644
index 00000000..847e9dca
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50014-sp_oc_classname_paren-r.m
@@ -0,0 +1,2 @@
+@interface TestObject(categoryName)<ProtocolName>:BaseClass
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50015-receiver.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50015-receiver.m
new file mode 100644
index 00000000..dd6ee3d6
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50015-receiver.m
@@ -0,0 +1,11 @@
+#import <Cocoa/Cocoa.h>
+
+@implementation MyDocument
+
+-(NSString *) appPath
+{
+ [AClass AFunc];
+ return [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50016-ternary.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50016-ternary.m
new file mode 100644
index 00000000..42a573f4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50016-ternary.m
@@ -0,0 +1,6 @@
+NSString *str = (otherString ?: @"this is the placeholder");
+NSString *str2 = (str ? otherString : @"this is the other placeholder");
+NSString *str3 = str ? [[NSString alloc] initWithString: str] : @"this is the third placeholder";
+id str4 = str ? [self methodWithParameter1: @{ @"bla": ({ [self anotherMethod: @{ @"id": @1 }];
+ }) }
+ andParameter2: @{ @"dict_key": @{ @"nested_dict_key_1": @(1), @"nested_dict_key_2": @"colon:in:string" } }] : [self anotherMethod: str ? @1 : @2];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50017-ternary.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50017-ternary.m
new file mode 100644
index 00000000..d53fc319
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50017-ternary.m
@@ -0,0 +1,5 @@
+NSString *str = (otherString ?: @"this is the placeholder");
+NSString *str2 = (str ? otherString : @"this is the other placeholder");
+NSString *str3 = str ? [[NSString alloc] initWithString:str] : @"this is the third placeholder";
+id str4 = str ? [self methodWithParameter1:@{@"bla": ({[self anotherMethod:@{@"id": @1}];})}
+ andParameter2:@{@"dict_key": @{@"nested_dict_key_1": @(1), @"nested_dict_key_2": @"colon:in:string"}}] : [self anotherMethod:str ? @1 : @2]; \ No newline at end of file
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50018-indent-inside-ternary-operator.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50018-indent-inside-ternary-operator.m
new file mode 100644
index 00000000..59412a01
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50018-indent-inside-ternary-operator.m
@@ -0,0 +1,102 @@
+flag
+? [Cmpnt Cmpnt:(isChildActionSheet ? TypeBack : TypeCancel)]
+: nil;
+
+
+[[BottomSheetItem alloc]
+ iconName:selected
+ ? g.re
+ .at
+ : g
+ .re
+ .at
+ builder:nil
+ handler:^{
+ }
+]
+
+
+[[BottomSheetItem alloc]
+iconName: selected
+ ? iconName : g
+ .re
+ .at
+ builder:nil
+handler: ^{
+ }
+]
+
+ (event
+ ? [FSBottomSheetActionCellItemVariant
+ action:AKAction<> :: actionFromSenderlessBlock(^{
+ auto const strongSelf = weakSelf;
+ })]
+ : nil);
+
+
+[[ViewController alloc] strategy: (strategy
+ ? [QuestionMarkStmt new]
+ : [ColonStmt new])
+ toolbox: _one];
+
+[[ViewController alloc] strategy: (strategy
+ ?: [SourceStrategy new])
+ toolbox: _two];
+
+
+
+flag1
+? ( flag2
+ ? ( flag3
+ ? [ViewController selector1:^{
+ NSLog(@"selector1");
+ }]
+ : [ViewController selector2:^(){
+ NSLog(@"selector2");
+ }] )
+ : ( result3 )
+ )
+: ( flag5
+ ? ( flag
+ ? result4
+ : [ViewController preSelector:flag selector3:{
+ .x = 10,
+ }])
+ : ( flag6
+ ? [ViewController preSelector:flag selector3:^{
+ NSLog(@"selector3");
+ }]
+ : ( result7 )
+ )
+ );
+
+
+flag1
+? result1
+: (
+ flag5
+ );
+
+
+
+showButton ? Action<>::actionFromBlock(^(Component *component) {
+ return nil;
+}) : nil;
+
+showButton
+? Action<>::actionFromBlock(^(Component *component) {
+ return nil;
+})
+: nil;
+
+showButton
+? Action<>::actionFromBlock(^(Component *component) {
+ return nil;
+}) : nil;
+
+
+showButton
+? Action<>::actionFromBlock([] (Component *component) {
+ return nil;
+})
+: nil;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50020-selector.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50020-selector.m
new file mode 100644
index 00000000..c53db6fb
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50020-selector.m
@@ -0,0 +1,6 @@
+@selector (methodNameWithArg:);
+@selector (methodNameNoArg);
+@selector (methodNameArg1:arg2:);
+
+NSArray *sortedTZs = [[NSTimeZone knownTimeZoneNames]
+ sortedArrayUsingSelector : @selector (compare:)];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50021-selector.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50021-selector.m
new file mode 100644
index 00000000..3442f700
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50021-selector.m
@@ -0,0 +1,6 @@
+@selector (methodNameWithArg:);
+@selector (methodNameNoArg);
+@selector (methodNameArg1:arg2:);
+
+NSArray *sortedTZs = [[NSTimeZone knownTimeZoneNames]
+ sortedArrayUsingSelector : @selector (compare:)];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50022-selector.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50022-selector.m
new file mode 100644
index 00000000..1d790cc9
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50022-selector.m
@@ -0,0 +1,6 @@
+@selector(methodNameWithArg:);
+@selector(methodNameNoArg);
+@selector(methodNameArg1:arg2:);
+
+NSArray *sortedTZs = [[NSTimeZone knownTimeZoneNames]
+ sortedArrayUsingSelector : @selector(compare:)];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50025-exceptions.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50025-exceptions.m
new file mode 100644
index 00000000..609d2086
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50025-exceptions.m
@@ -0,0 +1,27 @@
+
+int main(int argc, const char *argv[])
+{
+ @try
+ {
+ [NSException raise: NSInternalInconsistency
+ format: @"An internal inconsistency was raised"];
+ }
+ @catch (NSException *e)
+ {
+ NSLog(@"Catch");
+ }
+ @finally
+ {
+ NSLog(@"Finally");
+ }
+
+ @throw [NSException exceptionWithName: @"foo" reason: @"bar" userInfo: nil];
+
+ NSException *exception = [NSException exceptionWithName: @"HotTeaException"
+ reason: @"The tea is too hot"
+ userInfo: nil];
+
+ @throw exception;
+
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50026-exceptions.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50026-exceptions.m
new file mode 100644
index 00000000..150de092
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50026-exceptions.m
@@ -0,0 +1,27 @@
+
+int main(int argc, const char *argv[])
+{
+ @try
+ {
+ [NSException raise: NSInternalInconsistency
+ format: @"An internal inconsistency was raised"];
+ }
+ @catch (NSException *e)
+ {
+ NSLog(@"Catch");
+ }
+ @finally
+ {
+ NSLog(@"Finally");
+ }
+
+ @throw[NSException exceptionWithName: @"foo" reason: @"bar" userInfo: nil];
+
+ NSException *exception = [NSException exceptionWithName: @"HotTeaException"
+ reason: @"The tea is too hot"
+ userInfo: nil];
+
+ @throw exception;
+
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50030-sort_import.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50030-sort_import.m
new file mode 100644
index 00000000..e0cfcb88
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50030-sort_import.m
@@ -0,0 +1,32 @@
+// should be ddd, eee, fff
+#import "ddd"
+#import "eee"
+#import "fff"
+
+#import "aaa"
+#import "ccc"
+// should be just bbb
+#import "bbb"
+
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+#import "sort_import.h"
+
+#import "Action+Internal.h"
+#import "Action+Public.h"
+#import "Action.h"
+#import <UIKit/UIKit.h>
+
+#include "Test+Internal.h"
+#include "Test.h"
+
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+
+#import "AAA"
+#import "BBB.h"
+#include "CCC.h"
+#include "DDD"
+#import "EEE.h"
+#import <KKK>
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50031-sort_import.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50031-sort_import.m
new file mode 100644
index 00000000..e0cfcb88
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50031-sort_import.m
@@ -0,0 +1,32 @@
+// should be ddd, eee, fff
+#import "ddd"
+#import "eee"
+#import "fff"
+
+#import "aaa"
+#import "ccc"
+// should be just bbb
+#import "bbb"
+
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+#import "sort_import.h"
+
+#import "Action+Internal.h"
+#import "Action+Public.h"
+#import "Action.h"
+#import <UIKit/UIKit.h>
+
+#include "Test+Internal.h"
+#include "Test.h"
+
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+
+#import "AAA"
+#import "BBB.h"
+#include "CCC.h"
+#include "DDD"
+#import "EEE.h"
+#import <KKK>
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50032-sort_import.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50032-sort_import.m
new file mode 100644
index 00000000..37b4d643
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50032-sort_import.m
@@ -0,0 +1,32 @@
+// should be ddd, eee, fff
+#import "ddd"
+#import "eee"
+#import "fff"
+
+#import "aaa"
+#import "ccc"
+// should be just bbb
+#import "bbb"
+
+#import "sort_import.h"
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+
+#import "Action.h"
+#import "Action+Internal.h"
+#import "Action+Public.h"
+#import <UIKit/UIKit.h>
+
+#include "Test.h"
+#include "Test+Internal.h"
+
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+
+#import "AAA"
+#import "BBB.h"
+#include "CCC.h"
+#include "DDD"
+#import "EEE.h"
+#import <KKK>
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50033-sort_import.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50033-sort_import.m
new file mode 100644
index 00000000..7c2ab21f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50033-sort_import.m
@@ -0,0 +1,32 @@
+// should be ddd, eee, fff
+#import "ddd"
+#import "eee"
+#import "fff"
+
+#import "aaa"
+#import "ccc"
+// should be just bbb
+#import "bbb"
+
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+#import "sort_import.h"
+
+#import "Action+Internal.h"
+#import "Action+Public.h"
+#import "Action.h"
+#import <UIKit/UIKit.h>
+
+#include "Test+Internal.h"
+#include "Test.h"
+
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+
+#import "AAA"
+#include "DDD"
+#import <KKK>
+#import "BBB.h"
+#include "CCC.h"
+#import "EEE.h"
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50034-sort_import.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50034-sort_import.m
new file mode 100644
index 00000000..f8a42242
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50034-sort_import.m
@@ -0,0 +1,32 @@
+// should be ddd, eee, fff
+#import "ddd"
+#import "eee"
+#import "fff"
+
+#import "aaa"
+#import "ccc"
+// should be just bbb
+#import "bbb"
+
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+#import "sort_import.h"
+
+#import <UIKit/UIKit.h>
+#import "Action+Internal.h"
+#import "Action+Public.h"
+#import "Action.h"
+
+#include "Test+Internal.h"
+#include "Test.h"
+
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+
+#import <KKK>
+#import "AAA"
+#import "BBB.h"
+#include "CCC.h"
+#include "DDD"
+#import "EEE.h"
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50035-sort_import_group.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50035-sort_import_group.m
new file mode 100644
index 00000000..251829df
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50035-sort_import_group.m
@@ -0,0 +1,32 @@
+#import <KKK> // Duplicate with comment
+#import <SSS>
+
+#import "aaa"
+#import "AAA"
+#import "AAABBB"
+#import "bbb"
+#import "ccc"
+#import "ddd"
+#include "DDD"
+#import "eee"
+#import "fff"
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+#import "Action.h"
+#import "Action+Internal.h"
+#import "Action+Internal.hpp"
+#import "Action+Public.h"
+#import "BBB.h"
+#include "CCC.h"
+#import "DDD.h"
+#import "EEE.h"
+#import "sort_import.h"
+#import "sort_import+internal.h"
+#import "sort_import+public.h"
+#import "Something.h"
+#import "Something_Internal.h"
+#import "Something_Public.h"
+#include "Test.h"
+#include "Test+Internal.h"
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50036-sort_import_group_regex.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50036-sort_import_group_regex.mm
new file mode 100644
index 00000000..633da761
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50036-sort_import_group_regex.mm
@@ -0,0 +1,1026 @@
+#import <Foundation/NSArray.h>
+#import <Foundation/NSDate.h>
+#import <Foundation/NSDictionary.h>
+#import <Foundation/NSNull.h>
+#import <Foundation/NSNumber.h>
+#import <Foundation/NSObject.h>
+#import <Foundation/NSSet.h>
+#import <Foundation/NSString.h>
+#import <Foundation/NSURL.h>
+#import <Foundation/NSUUID.h>
+#import <UIKit/UIButton.h>
+#import <UIKit/UIControl.h>
+#import <UIKit/UIDatePicker.h>
+#import <UIKit/UILabel.h>
+#import <UIKit/UIPickerView.h>
+#import <UIKit/UISegmentedControl.h>
+#import <UIKit/UISlider.h>
+#import <UIKit/UIStackView.h>
+#import <UIKit/UIStepper.h>
+#import <UIKit/UISwitch.h>
+#import <UIKit/UITextField.h>
+#import <UIKit/UITextView.h>
+#import <UIKit/UIView.h>
+#import <UIKit/UIViewController.h>
+
+#import <CPPFramework/FrameworkFile001.hpp>
+#import <CPPFramework/FrameworkFile002.hpp>
+#import <CPPFramework/FrameworkFile003.hpp>
+#import <CPPFramework/FrameworkFile004.hpp>
+#import <CPPFramework/FrameworkFile005.hpp>
+#import <CPPFramework/FrameworkFile006.hpp>
+#import <CPPFramework/FrameworkFile007.hpp>
+#import <CPPFramework/FrameworkFile008.hpp>
+#import <CPPFramework/FrameworkFile009.hpp>
+#import <CPPFramework/FrameworkFile010.hpp>
+#import <ObjCFramework/FrameworkFile001.h>
+#import <ObjCFramework/FrameworkFile002.h>
+#import <ObjCFramework/FrameworkFile003.h>
+#import <ObjCFramework/FrameworkFile004.h>
+#import <ObjCFramework/FrameworkFile005.h>
+#import <ObjCFramework/FrameworkFile006.h>
+#import <ObjCFramework/FrameworkFile007.h>
+#import <ObjCFramework/FrameworkFile008.h>
+#import <ObjCFramework/FrameworkFile009.h>
+#import <ObjCFramework/FrameworkFile010.h>
+
+#import <CPPFramework/FrameworkFile-LowPriority-001.h>
+#import <CPPFramework/FrameworkFile-LowPriority-002.h>
+#import <CPPFramework/FrameworkFile-LowPriority-003.h>
+#import <CPPFramework/FrameworkFile-LowPriority-004.h>
+#import <CPPFramework/FrameworkFile-LowPriority-005.h>
+#import <CPPFramework/FrameworkFile-LowPriority-006.h>
+#import <CPPFramework/FrameworkFile-LowPriority-007.h>
+#import <CPPFramework/FrameworkFile-LowPriority-008.h>
+#import <CPPFramework/FrameworkFile-LowPriority-009.h>
+#import <CPPFramework/FrameworkFile-LowPriority-010.h>
+
+#import "File001.h"
+#import "File002.h"
+#import "File003.h"
+#import "File004.h"
+#import "File005.h"
+#import "File006.h"
+#import "File007.h"
+#import "File008.h"
+#import "File009.h"
+#import "File010.h"
+#import "File011.h"
+#import "File012.h"
+#import "File013.h"
+#import "File014.h"
+#import "File015.h"
+#import "File016.h"
+#import "File017.h"
+#import "File018.h"
+#import "File019.h"
+#import "File020.h"
+#import "File021.h"
+#import "File022.h"
+#import "File023.h"
+#import "File024.h"
+#import "File025.h"
+#import "File026.h"
+#import "File027.h"
+#import "File028.h"
+#import "File029.h"
+#import "File030.h"
+#import "File031.h"
+#import "File032.h"
+#import "File033.h"
+#import "File034.h"
+#import "File035.h"
+#import "File036.h"
+#import "File037.h"
+#import "File038.h"
+#import "File039.h"
+#import "File040.h"
+#import "File041.h"
+#import "File042.h"
+#import "File043.h"
+#import "File044.h"
+#import "File045.h"
+#import "File046.h"
+#import "File047.h"
+#import "File048.h"
+#import "File049.h"
+#import "File050.h"
+#import "File051.h"
+#import "File052.h"
+#import "File053.h"
+#import "File054.h"
+#import "File055.h"
+#import "File056.h"
+#import "File057.h"
+#import "File058.h"
+#import "File059.h"
+#import "File060.h"
+#import "File061.h"
+#import "File062.h"
+#import "File063.h"
+#import "File064.h"
+#import "File065.h"
+#import "File066.h"
+#import "File067.h"
+#import "File068.h"
+#import "File069.h"
+#import "File070.h"
+#import "File071.h"
+#import "File072.h"
+#import "File073.h"
+#import "File074.h"
+#import "File075.h"
+#import "File076.h"
+#import "File077.h"
+#import "File078.h"
+#import "File079.h"
+#import "File080.h"
+#import "File081.h"
+#import "File082.h"
+#import "File083.h"
+#import "File084.h"
+#import "File085.h"
+#import "File086.h"
+#import "File087.h"
+#import "File088.h"
+#import "File089.h"
+#import "File090.h"
+#import "File091.h"
+#import "File092.h"
+#import "File093.h"
+#import "File094.h"
+#import "File095.h"
+#import "File096.h"
+#import "File097.h"
+#import "File098.h"
+#import "File099.h"
+#import "File100.h"
+#import "File101.h"
+#import "File102.h"
+#import "File103.h"
+#import "File104.h"
+#import "File105.h"
+#import "File106.h"
+#import "File107.h"
+#import "File108.h"
+#import "File109.h"
+#import "File110.h"
+#import "File111.h"
+#import "File112.h"
+#import "File113.h"
+#import "File114.h"
+#import "File115.h"
+#import "File116.h"
+#import "File117.h"
+#import "File118.h"
+#import "File119.h"
+#import "File120.h"
+#import "File121.h"
+#import "File122.h"
+#import "File123.h"
+#import "File124.h"
+#import "File125.h"
+#import "File126.h"
+#import "File127.h"
+#import "File128.h"
+#import "File129.h"
+#import "File130.h"
+#import "File131.h"
+#import "File132.h"
+#import "File133.h"
+#import "File134.h"
+#import "File135.h"
+#import "File136.h"
+#import "File137.h"
+#import "File138.h"
+#import "File139.h"
+#import "File140.h"
+#import "File141.h"
+#import "File142.h"
+#import "File143.h"
+#import "File144.h"
+#import "File145.h"
+#import "File146.h"
+#import "File147.h"
+#import "File148.h"
+#import "File149.h"
+#import "File150.h"
+#import "File151.h"
+#import "File152.h"
+#import "File153.h"
+#import "File154.h"
+#import "File155.h"
+#import "File156.h"
+#import "File157.h"
+#import "File158.h"
+#import "File159.h"
+#import "File160.h"
+#import "File161.h"
+#import "File162.h"
+#import "File163.h"
+#import "File164.h"
+#import "File165.h"
+#import "File166.h"
+#import "File167.h"
+#import "File168.h"
+#import "File169.h"
+#import "File170.h"
+#import "File171.h"
+#import "File172.h"
+#import "File173.h"
+#import "File174.h"
+#import "File175.h"
+#import "File176.h"
+#import "File177.h"
+#import "File178.h"
+#import "File179.h"
+#import "File180.h"
+#import "File181.h"
+#import "File182.h"
+#import "File183.h"
+#import "File184.h"
+#import "File185.h"
+#import "File186.h"
+#import "File187.h"
+#import "File188.h"
+#import "File189.h"
+#import "File190.h"
+#import "File191.h"
+#import "File192.h"
+#import "File193.h"
+#import "File194.h"
+#import "File195.h"
+#import "File196.h"
+#import "File197.h"
+#import "File198.h"
+#import "File199.h"
+#import "File200.h"
+#import "File201.h"
+#import "File202.h"
+#import "File203.h"
+#import "File204.h"
+#import "File205.h"
+#import "File206.h"
+#import "File207.h"
+#import "File208.h"
+#import "File209.h"
+#import "File210.h"
+#import "File211.h"
+#import "File212.h"
+#import "File213.h"
+#import "File214.h"
+#import "File215.h"
+#import "File216.h"
+#import "File217.h"
+#import "File218.h"
+#import "File219.h"
+#import "File220.h"
+#import "File221.h"
+#import "File222.h"
+#import "File223.h"
+#import "File224.h"
+#import "File225.h"
+#import "File226.h"
+#import "File227.h"
+#import "File228.h"
+#import "File229.h"
+#import "File230.h"
+#import "File231.h"
+#import "File232.h"
+#import "File233.h"
+#import "File234.h"
+#import "File235.h"
+#import "File236.h"
+#import "File237.h"
+#import "File238.h"
+#import "File239.h"
+#import "File240.h"
+#import "File241.h"
+#import "File242.h"
+#import "File243.h"
+#import "File244.h"
+#import "File245.h"
+#import "File246.h"
+#import "File247.h"
+#import "File248.h"
+#import "File249.h"
+#import "File250.h"
+#import "File251.h"
+#import "File252.h"
+#import "File253.h"
+#import "File254.h"
+#import "File255.h"
+#import "File256.h"
+#import "File257.h"
+#import "File258.h"
+#import "File259.h"
+#import "File260.h"
+#import "File261.h"
+#import "File262.h"
+#import "File263.h"
+#import "File264.h"
+#import "File265.h"
+#import "File266.h"
+#import "File267.h"
+#import "File268.h"
+#import "File269.h"
+#import "File270.h"
+#import "File271.h"
+#import "File272.h"
+#import "File273.h"
+#import "File274.h"
+#import "File275.h"
+#import "File276.h"
+#import "File277.h"
+#import "File278.h"
+#import "File279.h"
+#import "File280.h"
+#import "File281.h"
+#import "File282.h"
+#import "File283.h"
+#import "File284.h"
+#import "File285.h"
+#import "File286.h"
+#import "File287.h"
+#import "File288.h"
+#import "File289.h"
+#import "File290.h"
+#import "File291.h"
+#import "File292.h"
+#import "File293.h"
+#import "File294.h"
+#import "File295.h"
+#import "File296.h"
+#import "File297.h"
+#import "File298.h"
+#import "File299.h"
+#import "File300.h"
+#import "File301.h"
+#import "File302.h"
+#import "File303.h"
+#import "File304.h"
+#import "File305.h"
+#import "File306.h"
+#import "File307.h"
+#import "File308.h"
+#import "File309.h"
+#import "File310.h"
+#import "File311.h"
+#import "File312.h"
+#import "File313.h"
+#import "File314.h"
+#import "File315.h"
+#import "File316.h"
+#import "File317.h"
+#import "File318.h"
+#import "File319.h"
+#import "File320.h"
+#import "File321.h"
+#import "File322.h"
+#import "File323.h"
+#import "File324.h"
+#import "File325.h"
+#import "File326.h"
+#import "File327.h"
+#import "File328.h"
+#import "File329.h"
+#import "File330.h"
+#import "File331.h"
+#import "File332.h"
+#import "File333.h"
+#import "File334.h"
+#import "File335.h"
+#import "File336.h"
+#import "File337.h"
+#import "File338.h"
+#import "File339.h"
+#import "File340.h"
+#import "File341.h"
+#import "File342.h"
+#import "File343.h"
+#import "File344.h"
+#import "File345.h"
+#import "File346.h"
+#import "File347.h"
+#import "File348.h"
+#import "File349.h"
+#import "File350.h"
+#import "File351.h"
+#import "File352.h"
+#import "File353.h"
+#import "File354.h"
+#import "File355.h"
+#import "File356.h"
+#import "File357.h"
+#import "File358.h"
+#import "File359.h"
+#import "File360.h"
+#import "File361.h"
+#import "File362.h"
+#import "File363.h"
+#import "File364.h"
+#import "File365.h"
+#import "File366.h"
+#import "File367.h"
+#import "File368.h"
+#import "File369.h"
+#import "File370.h"
+#import "File371.h"
+#import "File372.h"
+#import "File373.h"
+#import "File374.h"
+#import "File375.h"
+#import "File376.h"
+#import "File377.h"
+#import "File378.h"
+#import "File379.h"
+#import "File380.h"
+#import "File381.h"
+#import "File382.h"
+#import "File383.h"
+#import "File384.h"
+#import "File385.h"
+#import "File386.h"
+#import "File387.h"
+#import "File388.h"
+#import "File389.h"
+#import "File390.h"
+#import "File391.h"
+#import "File392.h"
+#import "File393.h"
+#import "File394.h"
+#import "File395.h"
+#import "File396.h"
+#import "File397.h"
+#import "File398.h"
+#import "File399.h"
+#import "File400.h"
+#import "File401.h"
+#import "File402.h"
+#import "File403.h"
+#import "File404.h"
+#import "File405.h"
+#import "File406.h"
+#import "File407.h"
+#import "File408.h"
+#import "File409.h"
+#import "File410.h"
+#import "File411.h"
+#import "File412.h"
+#import "File413.h"
+#import "File414.h"
+#import "File415.h"
+#import "File416.h"
+#import "File417.h"
+#import "File418.h"
+#import "File419.h"
+#import "File420.h"
+#import "File421.h"
+#import "File422.h"
+#import "File423.h"
+#import "File424.h"
+#import "File425.h"
+#import "File426.h"
+#import "File427.h"
+#import "File428.h"
+#import "File429.h"
+#import "File430.h"
+#import "File431.h"
+#import "File432.h"
+#import "File433.h"
+#import "File434.h"
+#import "File435.h"
+#import "File436.h"
+#import "File437.h"
+#import "File438.h"
+#import "File439.h"
+#import "File440.h"
+#import "File441.h"
+#import "File442.h"
+#import "File443.h"
+#import "File444.h"
+#import "File445.h"
+#import "File446.h"
+#import "File447.h"
+#import "File448.h"
+#import "File449.h"
+#import "File450.h"
+#import "File451.h"
+#import "File452.h"
+#import "File453.h"
+#import "File454.h"
+#import "File455.h"
+#import "File456.h"
+#import "File457.h"
+#import "File458.h"
+#import "File459.h"
+#import "File460.h"
+#import "File461.h"
+#import "File462.h"
+#import "File463.h"
+#import "File464.h"
+#import "File465.h"
+#import "File466.h"
+#import "File467.h"
+#import "File468.h"
+#import "File469.h"
+#import "File470.h"
+#import "File471.h"
+#import "File472.h"
+#import "File473.h"
+#import "File474.h"
+#import "File475.h"
+#import "File476.h"
+#import "File477.h"
+#import "File478.h"
+#import "File479.h"
+#import "File480.h"
+#import "File481.h"
+#import "File482.h"
+#import "File483.h"
+#import "File484.h"
+#import "File485.h"
+#import "File486.h"
+#import "File487.h"
+#import "File488.h"
+#import "File489.h"
+#import "File490.h"
+#import "File491.h"
+#import "File492.h"
+#import "File493.h"
+#import "File494.h"
+#import "File495.h"
+#import "File496.h"
+#import "File497.h"
+#import "File498.h"
+#import "File499.h"
+#import "File500.h"
+#import "File501.h"
+#import "File502.h"
+#import "File503.h"
+#import "File504.h"
+#import "File505.h"
+#import "File506.h"
+#import "File507.h"
+#import "File508.h"
+#import "File509.h"
+#import "File510.h"
+#import "File511.h"
+#import "File512.h"
+#import "File513.h"
+#import "File514.h"
+#import "File515.h"
+#import "File516.h"
+#import "File517.h"
+#import "File518.h"
+#import "File519.h"
+#import "File520.h"
+#import "File521.h"
+#import "File522.h"
+#import "File523.h"
+#import "File524.h"
+#import "File525.h"
+#import "File526.h"
+#import "File527.h"
+#import "File528.h"
+#import "File529.h"
+#import "File530.h"
+#import "File531.h"
+#import "File532.h"
+#import "File533.h"
+#import "File534.h"
+#import "File535.h"
+#import "File536.h"
+#import "File537.h"
+#import "File538.h"
+#import "File539.h"
+#import "File540.h"
+#import "File541.h"
+#import "File542.h"
+#import "File543.h"
+#import "File544.h"
+#import "File545.h"
+#import "File546.h"
+#import "File547.h"
+#import "File548.h"
+#import "File549.h"
+#import "File550.h"
+#import "File551.h"
+#import "File552.h"
+#import "File553.h"
+#import "File554.h"
+#import "File555.h"
+#import "File556.h"
+#import "File557.h"
+#import "File558.h"
+#import "File559.h"
+#import "File560.h"
+#import "File561.h"
+#import "File562.h"
+#import "File563.h"
+#import "File564.h"
+#import "File565.h"
+#import "File566.h"
+#import "File567.h"
+#import "File568.h"
+#import "File569.h"
+#import "File570.h"
+#import "File571.h"
+#import "File572.h"
+#import "File573.h"
+#import "File574.h"
+#import "File575.h"
+#import "File576.h"
+#import "File577.h"
+#import "File578.h"
+#import "File579.h"
+#import "File580.h"
+#import "File581.h"
+#import "File582.h"
+#import "File583.h"
+#import "File584.h"
+#import "File585.h"
+#import "File586.h"
+#import "File587.h"
+#import "File588.h"
+#import "File589.h"
+#import "File590.h"
+#import "File591.h"
+#import "File592.h"
+#import "File593.h"
+#import "File594.h"
+#import "File595.h"
+#import "File596.h"
+#import "File597.h"
+#import "File598.h"
+#import "File599.h"
+#import "File600.h"
+#import "File601.h"
+#import "File602.h"
+#import "File603.h"
+#import "File604.h"
+#import "File605.h"
+#import "File606.h"
+#import "File607.h"
+#import "File608.h"
+#import "File609.h"
+#import "File610.h"
+#import "File611.h"
+#import "File612.h"
+#import "File613.h"
+#import "File614.h"
+#import "File615.h"
+#import "File616.h"
+#import "File617.h"
+#import "File618.h"
+#import "File619.h"
+#import "File620.h"
+#import "File621.h"
+#import "File622.h"
+#import "File623.h"
+#import "File624.h"
+#import "File625.h"
+#import "File626.h"
+#import "File627.h"
+#import "File628.h"
+#import "File629.h"
+#import "File630.h"
+#import "File631.h"
+#import "File632.h"
+#import "File633.h"
+#import "File634.h"
+#import "File635.h"
+#import "File636.h"
+#import "File637.h"
+#import "File638.h"
+#import "File639.h"
+#import "File640.h"
+#import "File641.h"
+#import "File642.h"
+#import "File643.h"
+#import "File644.h"
+#import "File645.h"
+#import "File646.h"
+#import "File647.h"
+#import "File648.h"
+#import "File649.h"
+#import "File650.h"
+#import "File651.h"
+#import "File652.h"
+#import "File653.h"
+#import "File654.h"
+#import "File655.h"
+#import "File656.h"
+#import "File657.h"
+#import "File658.h"
+#import "File659.h"
+#import "File660.h"
+#import "File661.h"
+#import "File662.h"
+#import "File663.h"
+#import "File664.h"
+#import "File665.h"
+#import "File666.h"
+#import "File667.h"
+#import "File668.h"
+#import "File669.h"
+#import "File670.h"
+#import "File671.h"
+#import "File672.h"
+#import "File673.h"
+#import "File674.h"
+#import "File675.h"
+#import "File676.h"
+#import "File677.h"
+#import "File678.h"
+#import "File679.h"
+#import "File680.h"
+#import "File681.h"
+#import "File682.h"
+#import "File683.h"
+#import "File684.h"
+#import "File685.h"
+#import "File686.h"
+#import "File687.h"
+#import "File688.h"
+#import "File689.h"
+#import "File690.h"
+#import "File691.h"
+#import "File692.h"
+#import "File693.h"
+#import "File694.h"
+#import "File695.h"
+#import "File696.h"
+#import "File697.h"
+#import "File698.h"
+#import "File699.h"
+#import "File700.h"
+#import "File701.h"
+#import "File702.h"
+#import "File703.h"
+#import "File704.h"
+#import "File705.h"
+#import "File706.h"
+#import "File707.h"
+#import "File708.h"
+#import "File709.h"
+#import "File710.h"
+#import "File711.h"
+#import "File712.h"
+#import "File713.h"
+#import "File714.h"
+#import "File715.h"
+#import "File716.h"
+#import "File717.h"
+#import "File718.h"
+#import "File719.h"
+#import "File720.h"
+#import "File721.h"
+#import "File722.h"
+#import "File723.h"
+#import "File724.h"
+#import "File725.h"
+#import "File726.h"
+#import "File727.h"
+#import "File728.h"
+#import "File729.h"
+#import "File730.h"
+#import "File731.h"
+#import "File732.h"
+#import "File733.h"
+#import "File734.h"
+#import "File735.h"
+#import "File736.h"
+#import "File737.h"
+#import "File738.h"
+#import "File739.h"
+#import "File740.h"
+#import "File741.h"
+#import "File742.h"
+#import "File743.h"
+#import "File744.h"
+#import "File745.h"
+#import "File746.h"
+#import "File747.h"
+#import "File748.h"
+#import "File749.h"
+#import "File750.h"
+#import "File751.h"
+#import "File752.h"
+#import "File753.h"
+#import "File754.h"
+#import "File755.h"
+#import "File756.h"
+#import "File757.h"
+#import "File758.h"
+#import "File759.h"
+#import "File760.h"
+#import "File761.h"
+#import "File762.h"
+#import "File763.h"
+#import "File764.h"
+#import "File765.h"
+#import "File766.h"
+#import "File767.h"
+#import "File768.h"
+#import "File769.h"
+#import "File770.h"
+#import "File771.h"
+#import "File772.h"
+#import "File773.h"
+#import "File774.h"
+#import "File775.h"
+#import "File776.h"
+#import "File777.h"
+#import "File778.h"
+#import "File779.h"
+#import "File780.h"
+#import "File781.h"
+#import "File782.h"
+#import "File783.h"
+#import "File784.h"
+#import "File785.h"
+#import "File786.h"
+#import "File787.h"
+#import "File788.h"
+#import "File789.h"
+#import "File790.h"
+#import "File791.h"
+#import "File792.h"
+#import "File793.h"
+#import "File794.h"
+#import "File795.h"
+#import "File796.h"
+#import "File797.h"
+#import "File798.h"
+#import "File799.h"
+#import "File800.h"
+#import "File801.h"
+#import "File802.h"
+#import "File803.h"
+#import "File804.h"
+#import "File805.h"
+#import "File806.h"
+#import "File807.h"
+#import "File808.h"
+#import "File809.h"
+#import "File810.h"
+#import "File811.h"
+#import "File812.h"
+#import "File813.h"
+#import "File814.h"
+#import "File815.h"
+#import "File816.h"
+#import "File817.h"
+#import "File818.h"
+#import "File819.h"
+#import "File820.h"
+#import "File821.h"
+#import "File822.h"
+#import "File823.h"
+#import "File824.h"
+#import "File825.h"
+#import "File826.h"
+#import "File827.h"
+#import "File828.h"
+#import "File829.h"
+#import "File830.h"
+#import "File831.h"
+#import "File832.h"
+#import "File833.h"
+#import "File834.h"
+#import "File835.h"
+#import "File836.h"
+#import "File837.h"
+#import "File838.h"
+#import "File839.h"
+#import "File840.h"
+#import "File841.h"
+#import "File842.h"
+#import "File843.h"
+#import "File844.h"
+#import "File845.h"
+#import "File846.h"
+#import "File847.h"
+#import "File848.h"
+#import "File849.h"
+#import "File850.h"
+#import "File851.h"
+#import "File852.h"
+#import "File853.h"
+#import "File854.h"
+#import "File855.h"
+#import "File856.h"
+#import "File857.h"
+#import "File858.h"
+#import "File859.h"
+#import "File860.h"
+#import "File861.h"
+#import "File862.h"
+#import "File863.h"
+#import "File864.h"
+#import "File865.h"
+#import "File866.h"
+#import "File867.h"
+#import "File868.h"
+#import "File869.h"
+#import "File870.h"
+#import "File871.h"
+#import "File872.h"
+#import "File873.h"
+#import "File874.h"
+#import "File875.h"
+#import "File876.h"
+#import "File877.h"
+#import "File878.h"
+#import "File879.h"
+#import "File880.h"
+#import "File881.h"
+#import "File882.h"
+#import "File883.h"
+#import "File884.h"
+#import "File885.h"
+#import "File886.h"
+#import "File887.h"
+#import "File888.h"
+#import "File889.h"
+#import "File890.h"
+#import "File891.h"
+#import "File892.h"
+#import "File893.h"
+#import "File894.h"
+#import "File895.h"
+#import "File896.h"
+#import "File897.h"
+#import "File898.h"
+#import "File899.h"
+#import "File900.h"
+#import "File901.h"
+#import "File902.h"
+#import "File903.h"
+#import "File904.h"
+#import "File905.h"
+#import "File906.h"
+#import "File907.h"
+#import "File908.h"
+#import "File909.h"
+#import "File910.h"
+#import "File911.h"
+#import "File912.h"
+#import "File913.h"
+#import "File914.h"
+#import "File915.h"
+#import "File916.h"
+#import "File917.h"
+#import "File918.h"
+#import "File919.h"
+#import "File920.h"
+#import "File921.h"
+#import "File922.h"
+#import "File923.h"
+#import "File924.h"
+#import "File925.h"
+#import "File926.h"
+#import "File927.h"
+#import "File928.h"
+#import "File929.h"
+#import "File930.h"
+#import "File931.h"
+#import "File932.h"
+#import "File933.h"
+#import "File934.h"
+#import "File935.h"
+#import "File936.h"
+#import "File937.h"
+#import "File938.h"
+#import "File939.h"
+#import "File940.h"
+#import "File941.h"
+#import "File942.h"
+#import "File943.h"
+#import "File944.h"
+#import "File945.h"
+#import "File946.h"
+#import "File947.h"
+#import "File948.h"
+#import "File949.h"
+#import "File950.h"
+#import "File951.h"
+#import "File952.h"
+#import "File953.h"
+#import "File954.h"
+#import "File955.h"
+#import "File956.h"
+#import "File957.h"
+#import "File958.h"
+#import "File959.h"
+#import "File960.h"
+#import "File961.h"
+#import "File962.h"
+#import "File963.h"
+#import "File964.h"
+#import "File965.h"
+#import "File966.h"
+#import "File967.h"
+#import "File968.h"
+#import "File969.h"
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50040-complex_method.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50040-complex_method.m
new file mode 100644
index 00000000..29467813
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50040-complex_method.m
@@ -0,0 +1,30 @@
+// Turn the document contents into a single savable lump of data
+- (NSData *) dataOfType:(NSString *)typeName error:(NSError **)outError {
+#pragma unused(typeName)
+
+ // Produce the data lump:
+ NSData * retval = [NSKeyedArchiver archivedDataWithRootObject:model];
+
+ // If the lump is nil something went wrong
+ // fill out the error object to explain what wrent wrong
+ if ( outError != NULL ) {
+ // The sender wanted an error reported. If there
+ // was a problem, fill in an NSError object
+ if (retval == nil) {
+ // The error object should include an (unhelpful)
+ // explanation of what happened
+ NSDictionary * userInfoDict = [NSDictionary dictionaryWithObjectsAndKeys:
+ @"Internal error formatting data", NSLocalizedDescriptionKey,
+ @"Archiving of data failed. Probably a bug.", NSLocalizedFailureReasonErrorKey,
+ @"There's nothing you can do.", NSLocalizedRecoverySuggestionErrorKey, nil];
+
+ *outError = [NSError errorWithDomain:LinearInternalErrorDomain
+ code:linErrCantFormatDocumentData
+ userInfo:userInfoDict];
+ } else {
+ // No problem. Don't supply an error object.
+ *outError = nil;
+ }
+ }
+ return retval;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50050-real_world_file.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50050-real_world_file.m
new file mode 100644
index 00000000..a4bf639e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50050-real_world_file.m
@@ -0,0 +1,229 @@
+/*
+ * File: ATColorTableController.m
+ * Abstract: A controller used by the ATImageTextCell to edit the color property. It is implemented in an abstract enough way to be used by a class other than the cell.
+ *
+ * Version: 1.0
+ *
+ * Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
+ * Inc. ("Apple") in consideration of your agreement to the following
+ * terms, and your use, installation, modification or redistribution of
+ * this Apple software constitutes acceptance of these terms. If you do
+ * not agree with these terms, please do not use, install, modify or
+ * redistribute this Apple software.
+ *
+ * In consideration of your agreement to abide by the following terms, and
+ * subject to these terms, Apple grants you a personal, non-exclusive
+ * license, under Apple's copyrights in this original Apple software (the
+ * "Apple Software"), to use, reproduce, modify and redistribute the Apple
+ * Software, with or without modifications, in source and/or binary forms;
+ * provided that if you redistribute the Apple Software in its entirety and
+ * without modifications, you must retain this notice and the following
+ * text and disclaimers in all such redistributions of the Apple Software.
+ * Neither the name, trademarks, service marks or logos of Apple Inc. may
+ * be used to endorse or promote products derived from the Apple Software
+ * without specific prior written permission from Apple. Except as
+ * expressly stated in this notice, no other rights or licenses, express or
+ * implied, are granted by Apple herein, including but not limited to any
+ * patent rights that may be infringed by your derivative works or by other
+ * works in which the Apple Software may be incorporated.
+ *
+ * The Apple Software is provided by Apple on an "AS IS" basis. APPLE
+ * MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
+ * THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
+ * OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
+ *
+ * IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
+ * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
+ * MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
+ * AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
+ * STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Copyright (C) 2009 Apple Inc. All Rights Reserved.
+ *
+ */
+
+#import "ATColorTableController.h"
+#import "ATPopupWindow.h"
+
+@implementation ATColorTableController
+
++ (ATColorTableController *) sharedColorTableController {
+ static ATColorTableController * gSharedColorTableController = nil;
+
+ if (gSharedColorTableController == nil) {
+ gSharedColorTableController = [[[self class] alloc] initWithNibName:@"ColorTable" bundle:[NSBundle bundleForClass:[self class]]];
+ }
+ return gSharedColorTableController;
+}
+
+@synthesize delegate = _delegate;
+@dynamic selectedColor, selectedColorName;
+
+- (void) dealloc {
+ [_colorList release];
+ [_colorNames release];
+ [_window release];
+ [super dealloc];
+}
+
+- (void) loadView {
+ [super loadView];
+ _colorList = [[NSColorList colorListNamed:@"Crayons"] retain];
+ _colorNames = [[_colorList allKeys] retain];
+ [_tableColorList setIntercellSpacing:NSMakeSize(3, 3)];
+ [_tableColorList setTarget:self];
+ [_tableColorList setAction:@selector(_tableViewAction:)];
+}
+
+- (NSColor *) selectedColor {
+ NSString * name = [self selectedColorName];
+
+ if (name != nil) {
+ return [_colorList colorWithKey:name];
+ } else {
+ return nil;
+ }
+}
+
+- (NSString *) selectedColorName {
+ if ([_tableColorList selectedRow] != -1) {
+ return [_colorNames objectAtIndex:[_tableColorList selectedRow]];
+ } else {
+ return nil;
+ }
+}
+
+- (void) _selectColor:(NSColor *)color {
+ // Search for that color in our list
+ NSInteger row = 0;
+
+ for (NSString * name in _colorNames) {
+ NSColor * colorInList = [_colorList colorWithKey:name];
+ if ([color isEqual:colorInList]) {
+ break;
+ }
+ row++;
+ }
+ _updatingSelection = YES;
+ if (row != -1) {
+ [_tableColorList scrollRowToVisible:row];
+ [_tableColorList selectRowIndexes:[NSIndexSet indexSetWithIndex:row] byExtendingSelection:NO];
+ } else {
+ [_tableColorList scrollRowToVisible:0];
+ [_tableColorList selectRowIndexes:[NSIndexSet indexSet] byExtendingSelection:NO];
+ }
+ _updatingSelection = NO;
+}
+
+- (void) _createWindowIfNeeded {
+ if (_window == nil) {
+ NSRect viewFrame = self.view.frame;
+ // Create and setup our window
+ _window = [[ATPopupWindow alloc] initWithContentRect:viewFrame styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO];
+ [_window setReleasedWhenClosed:NO];
+ [_window setLevel:NSPopUpMenuWindowLevel];
+ [_window setHasShadow:YES];
+ [[_window contentView] addSubview:self.view];
+ [_window makeFirstResponder:_tableColorList];
+
+ // Make the window have a clear color and be non-opaque for our pop-up animation
+ [_window setBackgroundColor:[NSColor clearColor]];
+ [_window setOpaque:NO];
+ }
+}
+
+- (void) _windowClosed:(NSNotification *)note {
+ if (_eventMonitor) {
+ [NSEvent removeMonitor:_eventMonitor];
+ _eventMonitor = nil;
+ }
+ [[NSNotificationCenter defaultCenter] removeObserver:self name:NSWindowWillCloseNotification object:_window];
+ [[NSNotificationCenter defaultCenter] removeObserver:self name:NSApplicationDidResignActiveNotification object:nil];
+}
+
+- (void) _closeAndSendAction:(BOOL)sendAction {
+ [_window close];
+ if (sendAction) {
+ if ([self.delegate respondsToSelector:@selector(colorTableController:didChooseColor:named:)]) {
+ [self.delegate colorTableController:self didChooseColor:self.selectedColor named:self.selectedColorName];
+ }
+ } else {
+ if ([self.delegate respondsToSelector:@selector(didCancelColorTableController:)]) {
+ [self.delegate didCancelColorTableController:self];
+ }
+ }
+}
+
+- (void) _windowShouldClose:(NSNotification *)note {
+ [self _closeAndSendAction:NO];
+}
+
+- (void) editColor:(NSColor *)color locatedAtScreenRect:(NSRect)rect {
+ [self _createWindowIfNeeded];
+ [self _selectColor:color];
+ NSPoint origin = rect.origin;
+ NSRect windowFrame = [_window frame];
+ // The origin is the lower left; subtract the window's height
+ origin.y -= NSHeight(windowFrame);
+ // Center the popup window under the rect
+ origin.y += floor(NSHeight(rect) / 3.0);
+ origin.x -= floor(NSWidth(windowFrame) / 2.0);
+ origin.x += floor(NSWidth(rect) / 2.0);
+
+ [_window setFrameOrigin:origin];
+ [_window popup];
+
+ // Add some watches on the window and application
+ [[NSNotificationCenter defaultCenter] addObserver:self
+ selector:@selector(_windowClosed:)
+ name:NSWindowWillCloseNotification
+ object:_window];
+
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_windowShouldClose:) name:NSApplicationDidResignActiveNotification object:nil];
+
+ // Start watching events to figure out when to close the window
+ NSAssert(_eventMonitor == nil, @"_eventMonitor should not be created yet");
+ _eventMonitor = [NSEvent addLocalMonitorForEventsMatchingMask:NSLeftMouseDownMask | NSRightMouseDownMask | NSOtherMouseDownMask | NSKeyDownMask handler: ^(NSEvent * incomingEvent) {
+ NSEvent * result = incomingEvent;
+ NSWindow * targetWindowForEvent = [incomingEvent window];
+ if (targetWindowForEvent != _window) {
+ [self _closeAndSendAction:NO];
+ } else if ([incomingEvent type] == NSKeyDown) {
+ if ([incomingEvent keyCode] == 53) {
+ // Escape
+ [self _closeAndSendAction:NO];
+ result = nil; // Don't process the event
+ } else if ([incomingEvent keyCode] == 36) {
+ // Enter
+ [self _closeAndSendAction:YES];
+ result = nil;
+ }
+ }
+ return result;
+ }];
+}
+
+- (NSInteger) numberOfRowsInTableView:(NSTableView *)tableView {
+ return _colorNames.count;
+}
+
+- (id) tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
+ return [_colorNames objectAtIndex:row];
+}
+
+- (void) tableView:(NSTableView *)tableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
+ NSColor * color = [_colorList colorWithKey:[_colorNames objectAtIndex:row]];
+
+ [cell setColor:color];
+}
+
+- (void) _tableViewAction:(id)sender {
+ [self _closeAndSendAction:YES];
+}
+
+@end
+
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50060-oc-split.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50060-oc-split.m
new file mode 100644
index 00000000..a7bcd4de
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50060-oc-split.m
@@ -0,0 +1,10 @@
+[self findstart:&startBarcode end:&endBarcode forLine:greenScalePixels derivative:greenDerivative centerAt:xAxisCenterPoint min:&minValue max:&maxValue];
+
+[self findstart:&startBarcode
+ end:&endBarcode
+ forLine:greenScalePixels
+ derivative:greenDerivative
+ centerAt:xAxisCenterPoint
+ min:&minValue
+ max:&maxValue];
+
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50061-bug_167.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50061-bug_167.m
new file mode 100644
index 00000000..28087bb4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50061-bug_167.m
@@ -0,0 +1,7 @@
+- (void)dealloc {
+ [self closeFile];
+
+ [self setData:nil];
+
+ [super dealloc];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50062-issue_2631.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50062-issue_2631.m
new file mode 100644
index 00000000..a4404650
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50062-issue_2631.m
@@ -0,0 +1,17 @@
+@protocol SomeProtocol
+Props Method(const Contents& options = {});
+@end
+
+@interface SomeClass
+Props Method1(const Contents& options = {});
+@end
+
+
+@implementation SomeClass
+Props Method1(const Contents options = {});
+@end
+
+void Method2(const Contents options = {}) {
+}
+
+void Method3(const Contents& options = { .text = 10 });
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50070-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50070-blocks.m
new file mode 100644
index 00000000..8b77ccda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50070-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^(int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^(int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50071-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50071-blocks.m
new file mode 100644
index 00000000..8b77ccda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50071-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^(int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^(int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50072-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50072-blocks.m
new file mode 100644
index 00000000..8b77ccda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50072-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^(int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^(int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50073-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50073-blocks.m
new file mode 100644
index 00000000..06a9cd78
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50073-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^ int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^ (int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^ (int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50074-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50074-blocks.m
new file mode 100644
index 00000000..467387b4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50074-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^ int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^ (int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^ (int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50075-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50075-blocks.m
new file mode 100644
index 00000000..8b77ccda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50075-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^(int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^(int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50076-blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50076-blocks.m
new file mode 100644
index 00000000..8b77ccda
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50076-blocks.m
@@ -0,0 +1,15 @@
+int *(^ blkReturningPointer)(int) = ^int *(int a) {
+ return a + 1;
+};
+
+void (^ blk2)(int *) = ^(int *b) {
+ *b = 1;
+};
+
+
+int (^oneFrom)(int) = ^(int anInt) {
+ return anInt - 1;
+};
+
+// this should not be flagged as OC_BLOCK_CARET
+int x = 12 ^ 23;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50077-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50077-more_blocks.m
new file mode 100644
index 00000000..75870d32
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50077-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50078-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50078-more_blocks.m
new file mode 100644
index 00000000..91d27d55
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50078-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+ });
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL (id item) {
+ return [item length] > 20;
+ }];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL *(id item) {
+ return [item length] > 20;
+ }];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50079-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50079-more_blocks.m
new file mode 100644
index 00000000..f6af5562
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50079-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50080-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50080-more_blocks.m
new file mode 100644
index 00000000..1fbb7c34
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50080-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^ (int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^ { putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50081-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50081-more_blocks.m
new file mode 100644
index 00000000..1fbb7c34
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50081-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^ (int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^ { putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50082-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50082-more_blocks.m
new file mode 100644
index 00000000..75870d32
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50082-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50083-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50083-more_blocks.m
new file mode 100644
index 00000000..f6af5562
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50083-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50084-more_blocks.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50084-more_blocks.m
new file mode 100644
index 00000000..75870d32
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50084-more_blocks.m
@@ -0,0 +1,74 @@
+int (^myBlock)(int) = ^(int num) {
+ return num * multiplier;
+};
+// for comparison
+int (*fcnptr)(int);
+
+int d = i % 10;
+repeat(10, ^{ putc('0' + d);
+});
+
+
+void (^block)(void);
+typedef void (^vstr_t)(char *);
+typedef void (^workBlk_t)(void);
+
+void AllLinesInFile(char *f, vstr_t block)
+{
+ FILE *fp = fopen(f, "r");
+
+ if (!fp)
+ {
+ return;
+ }
+ char line[1024];
+
+ while (fgets(line, 1024, fp))
+ {
+ block(line);
+ }
+ fclose(fp);
+}
+
+
+@implementation NSArray (WWDC)
+-(NSArray *)map: (id (^)(id)) xform
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ [result addObject: xform(elem)];
+ }
+ return result;
+}
+
+-(NSArray *)collect: (BOOL (^)(id)) predicate
+{
+ id result = [NSMutableArray array];
+
+ for (id elem in self)
+ {
+ if (predicate(elem))
+ {
+ [result addObject: elem];
+ }
+ }
+ return result;
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL (id item) {
+ return [item length] > 20;
+}];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^BOOL *(id item) {
+ return [item length] > 20;
+}];
+
+@end
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50085-block_in_method.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50085-block_in_method.m
new file mode 100644
index 00000000..7a91d13e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50085-block_in_method.m
@@ -0,0 +1,69 @@
+
+void Events1(NSString * identifier, void (^handler)());
+
+void Events2(NSString * identifier, void (^)());
+
+@implementation NSArray (WWDC)
+- (NSArray *)map:(id (^)(id))xform {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ [result addObject:xform(elem)];
+ return result;
+}
+
+
+- (NSArray *)collect:(BOOL ( ^ )(id))predicate {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ if (predicate(elem))
+ [result addObject:elem];
+ return result;
+}
+
+
+- (void)each:(void (^)(id object))block {
+ [self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+ block(obj);
+ }];
+}
+
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL (id item) {
+ return [item length] > 20;
+ }];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL* (id item) {
+ return [item length] > 20;
+ }];
+
+@end
+
+nestedMethodCall(methodCall( ^ BOOL * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall( ^ NSString * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall( ^ {
+ NSLog(@"methodCall")
+},
+ arg2)
+ );
+
+nestedMethodCall(
+ methodCall( ^ {
+ NSLog(@"methodCall")
+})
+ );
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50086-block_in_method.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50086-block_in_method.m
new file mode 100644
index 00000000..c5c9ae6b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50086-block_in_method.m
@@ -0,0 +1,66 @@
+
+void Events1(NSString * identifier, void (^handler)());
+
+void Events2(NSString * identifier, void (^)());
+
+@implementation NSArray (WWDC)
+- (NSArray *)map:(id (^)(id))xform {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ [result addObject:xform(elem)];
+ return result;
+}
+
+- (NSArray *)collect:(BOOL ( ^ )(id))predicate {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ if (predicate(elem))
+ [result addObject:elem];
+ return result;
+}
+
+- (void)each:(void (^)(id object))block {
+ [self enumerateObjectsUsingBlock:^ (id obj, NSUInteger idx, BOOL *stop) {
+ block(obj);
+ }];
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^ BOOL (id item) {
+ return [item length] > 20;
+ }];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect:^ BOOL* (id item) {
+ return [item length] > 20;
+ }];
+
+@end
+
+nestedMethodCall(methodCall(^ BOOL * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall(^ NSString * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall(^ {
+ NSLog(@"methodCall")
+},
+ arg2)
+ );
+
+nestedMethodCall(
+ methodCall(^ {
+ NSLog(@"methodCall")
+})
+ );
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50087-indent_oc_inside_msg_sel.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50087-indent_oc_inside_msg_sel.m
new file mode 100644
index 00000000..af5c2b7b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50087-indent_oc_inside_msg_sel.m
@@ -0,0 +1,71 @@
+[NSPasteboardItem pasteboardItemWithProvider:self
+ forTypes:@[ NSPasteboardTypePDF ]
+ andData:@[
+ kNSUTIExportedAgaroseGel,
+ [NSKeyedArchiver archivedDataWithRootObject:self.selectedIndexes.count != 0 ?[self.gels objectsAtIndexes:self.selectedIndexes] : self.gels]
+ ]];
+
+[ViewController simple_First:firstArg
+ simple_Two:secondArg
+ simple_3:thirdArg];
+
+
+[ViewController preFirst:(
+ pre_1_arg
+ )];
+
+[ViewController firstSelectorOne:arg1 preFirst:(
+ pre_1_arg
+ )];
+
+[ViewController preFirst:^{
+ return arg4;
+ }
+ firstSelectorOne:arg1];
+
+[ViewController firstSelectorOne:arg1 preFirst:^{
+ return arg4;
+ }];
+
+[ViewController firstSelectorOne:(flag
+ ? arg5_1
+ : arg5_2
+ ) toolbox:_toolbox];
+
+[ViewController preFirst:(
+ pre_1_arg
+ )
+ firstSelectorOne:
+ arg1
+ selector_two:(
+ arg2
+ )
+ Selector_3:{
+ .arg3 = 1
+ }
+ fourth_Selector:^{
+ return arg4;
+ }
+ selector_number_5:(flag
+ ? arg5_1
+ : arg5_2
+ )
+ selector_number_5:(flag
+ ? arg5_1
+ : arg5_2
+ )
+ sixSel:(flag
+ ?: arg6_1)
+ seventh_selector:(
+ arg7
+ )
+ toolboxSel:toolboxArg];
+
+[[ViewController alloc] strategy:(strategy
+ ? [QuestionMarkStmt new]
+ : [ColonStmt new])
+ toolbox:_one];
+
+[[ViewController alloc] strategy:(strategy
+ ?: [SourceStrategy new])
+ toolbox:_two];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50090-kw.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50090-kw.m
new file mode 100644
index 00000000..ef52dd8e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50090-kw.m
@@ -0,0 +1,32 @@
+#include <stdio.h>
+#include <objc/Object.h>
+
+@protocol Job
+-do;
+@end
+
+@interface MyJob : Object<Job>
+-do;
+@end
+@implementation MyJob
+-do
+{
+ printf("Doing Job\n");
+ return self;
+}
+@end
+
+@interface JobExecutor : Object
+-doWith: (id<Job>)job for: (int)count;
+@end
+
+@implementation JobExecutor
+-doWith: (id<Job>)job for: (int)count
+{
+ for (int i = 0; i < count; ++i)
+ {
+ [job do];
+ }
+ return self;
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50091-block_in_method.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50091-block_in_method.m
new file mode 100644
index 00000000..705435d8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50091-block_in_method.m
@@ -0,0 +1,66 @@
+
+void Events1(NSString *identifier, void (^handler)());
+
+void Events2(NSString *identifier, void (^)());
+
+@implementation NSArray (WWDC)
+- (NSArray *)map:(id (^)(id))xform {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ [result addObject:xform(elem)];
+ return result;
+}
+
+- (NSArray *)collect:(BOOL ( ^ )(id))predicate {
+ id result = [NSMutableArray array];
+ for (id elem in self)
+ if (predicate(elem))
+ [result addObject:elem];
+ return result;
+}
+
+- (void)each:(void (^)(id object))block {
+ [self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
+ block(obj);
+ }];
+}
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL (id item) {
+ return [item length] > 20;
+ }];
+
+// corner case: block literal in use with return type
+id longLines = [allLines collect: ^ BOOL * (id item) {
+ return [item length] > 20;
+ }];
+
+@end
+
+nestedMethodCall(methodCall( ^ BOOL * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall( ^ NSString * (id item) {
+ NSLog(@"methodCall")
+}));
+
+nestedMethodCall(
+ arg1,
+ methodCall( ^ {
+ NSLog(@"methodCall")
+},
+ arg2)
+ );
+
+nestedMethodCall(
+ methodCall( ^ {
+ NSLog(@"methodCall")
+})
+ );
+
+// 1. block literal: ^{ ... };
+// 2. block declaration: return_t (^name) (int arg1, int arg2, ...) NB: return_t is optional and name is also optional
+// 3. block inline call ^ return_t (int arg) { ... }; NB: return_t is optional
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50095-box.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50095-box.m
new file mode 100644
index 00000000..45b0de1b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50095-box.m
@@ -0,0 +1,16 @@
+NSArray *test = @[];
+NSNumber *test = @(42 * 2);
+NSNumber *test = @4.0;
+NSDictionary *test = @{
+ @"foo":@"bar"
+};
+
+@implementation UrlTemplateTest
+-(void)test
+{
+ NSString *test = @"";
+ NSString *string = [[NSMutableString alloc] initWithString: @""];
+
+ STAssertEqualObjects(string, @"", nil);
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50100-bug_340.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50100-bug_340.m
new file mode 100644
index 00000000..ec5135ab
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50100-bug_340.m
@@ -0,0 +1,12 @@
+#import <Cocoa/Cocoa.h>
+
+@implementation MyDocument
+- (void) locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error {
+ [UIAlertView showError:error
+ withTitle:NSLocalizedString(@"Your location cannot be determined",
+ @"The location of the user cannot be guessed")
+ message:NSLocalizedString(@"You can try again by pressing the refresh button",
+ @"Recovery suggestion when the location cannot be found")];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50110-msg_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50110-msg_align.m
new file mode 100644
index 00000000..041148c1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50110-msg_align.m
@@ -0,0 +1,61 @@
+
+BOOL immediatlyReady = [self ensureResource: mutableResources[0]
+ existsInDirectoryAtPath: mutablePaths[0]
+ queueMode: mode
+ completionHandler: completionHandler
+ errorHandler: errorHandler];
+
+[myObject doFooWith1: arg1
+ name1: arg2 // some lines with >1 arg
+ error1: arg3];
+
+[myObject doFooWith2: arg4
+ name2: arg5
+ error2: arg6];
+
+[myObject doFooWith3: arg7
+ name3: arg8 // aligning keywords instead of colons
+ error3: arg9];
+
+[myObject doithereguysA: argA
+ reallylongargname: argB
+ another: argC];
+
+int foo()
+{
+ [UIView transitionWithView: self.window
+ duration: 0.3
+ options: UIViewAnimationOptionTransitionCrossDissolve
+ animations:^{
+ BOOL oldState = [UIView areAnimationsEnabled];
+ [UIView setAnimationsEnabled: NO];
+ self.window.rootViewController = self.viewController;
+ [UIView setAnimationsEnabled: oldState];
+ }
+ completion:^(BOOL finished) {
+ BOOL foo;
+ }];
+}
+
+int foo2()
+{
+ [UIView transitionWithView: self.window
+ duration: 0.3
+ options: UIViewAnimationOptionTransitionCrossDissolve
+ animations:^{
+ BOOL oldState = [UIView areAnimationsEnabled];
+ [UIView setAnimationsEnabled: NO];
+ self.window.rootViewController = self.viewController;
+ [UIView setAnimationsEnabled: oldState];
+ }
+ completion:^(BOOL finished) {
+ BOOL foo;
+ }];
+
+ [[HRNewsService sharedInstance] registerPushToken: deviceToken
+ success:^{
+ DLog(@"Finished Registering Push Token!");
+ self.notificationsEnabled = YES;
+ }
+ fail: nil];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50111-ns_enum.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50111-ns_enum.m
new file mode 100644
index 00000000..1b960272
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50111-ns_enum.m
@@ -0,0 +1,27 @@
+// The semicolons at the end of these declarations are not superfluous.
+typedef NS_ENUM (NSUInteger, MyEnum) {MyValue1, MyValue2, MyValue3};
+typedef NS_OPTIONS (NSUInteger, MyBitmask) {MyBit1, MyBit2, MyBit3};
+
+// NS_ENUM specifies the type and name of the enum.
+typedef enum {
+ MyValue1,
+ MyValue2,
+ MyValue3
+} MyEnum;
+typedef NS_ENUM (NSUInteger, MyEnum) {
+ MyValue1,
+ MyValue2,
+ MyValue3
+};
+
+// NS_OPTIONS is equivalent to NS_ENUM, but semantically used for bitmask enums.
+typedef enum {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+} MyBitmask;
+typedef NS_OPTIONS (NSUInteger, MyBitmask) {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50112-ns_enum.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50112-ns_enum.m
new file mode 100644
index 00000000..1b960272
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50112-ns_enum.m
@@ -0,0 +1,27 @@
+// The semicolons at the end of these declarations are not superfluous.
+typedef NS_ENUM (NSUInteger, MyEnum) {MyValue1, MyValue2, MyValue3};
+typedef NS_OPTIONS (NSUInteger, MyBitmask) {MyBit1, MyBit2, MyBit3};
+
+// NS_ENUM specifies the type and name of the enum.
+typedef enum {
+ MyValue1,
+ MyValue2,
+ MyValue3
+} MyEnum;
+typedef NS_ENUM (NSUInteger, MyEnum) {
+ MyValue1,
+ MyValue2,
+ MyValue3
+};
+
+// NS_OPTIONS is equivalent to NS_ENUM, but semantically used for bitmask enums.
+typedef enum {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+} MyBitmask;
+typedef NS_OPTIONS (NSUInteger, MyBitmask) {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50113-ns_enum.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50113-ns_enum.m
new file mode 100644
index 00000000..5c30d740
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50113-ns_enum.m
@@ -0,0 +1,27 @@
+// The semicolons at the end of these declarations are not superfluous.
+typedef NS_ENUM(NSUInteger, MyEnum) {MyValue1, MyValue2, MyValue3};
+typedef NS_OPTIONS(NSUInteger, MyBitmask) {MyBit1, MyBit2, MyBit3};
+
+// NS_ENUM specifies the type and name of the enum.
+typedef enum {
+ MyValue1,
+ MyValue2,
+ MyValue3
+} MyEnum;
+typedef NS_ENUM(NSUInteger, MyEnum) {
+ MyValue1,
+ MyValue2,
+ MyValue3
+};
+
+// NS_OPTIONS is equivalent to NS_ENUM, but semantically used for bitmask enums.
+typedef enum {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+} MyBitmask;
+typedef NS_OPTIONS(NSUInteger, MyBitmask) {
+ MyBit1 = (1u << 0),
+ MyBit2Longer = (1u << 1),
+ MyBit3ThatIsConsiderablyMoreVerbose = (1u << 2)
+};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50120-gh137.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50120-gh137.m
new file mode 100644
index 00000000..ff41543a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50120-gh137.m
@@ -0,0 +1,18 @@
+[UIView animateWithDuration:0.2f delay:0.f options:UIViewAnimationCurveEaseInOut animations: ^{
+ self.transform = CGAffineTransformMakeScale(1.05f, 1.05f);
+} completion: ^(BOOL finished) {
+ [UIView animateWithDuration:0.08f delay:0.f options:UIViewAnimationOptionCurveEaseInOut animations: ^{
+ self.transform = CGAffineTransformIdentity;
+ [UIView animateWithDuration:1 delay:0 options:0 animations:^ {
+ // blah
+ } completion:nil];
+ }];
+}];
+
+dispatch_async(foo, ^{
+ dispatch_async(bar, ^{
+ dispatch_async(qux, ^{
+ quz();
+ });
+ });
+})
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50200-more_blocks_2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50200-more_blocks_2.m
new file mode 100644
index 00000000..8835454f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50200-more_blocks_2.m
@@ -0,0 +1,18 @@
+// Test a case where blocks wrapped by parentheses were causing the parser to crash
+int (^myBlock)(int) = (^(int num) {
+ return num * multiplier;
+});
+
+dispatch_async(thread, (^{
+ dispatch_async(thread, ^{
+ dispatch_async(thread, ^{
+ NSLog(@"Hooray for dispatch_async!");
+ });
+ });
+}));
+
+// Example of a unit test using Kiwi
+beforeAll(^{
+ NSString *serviceURL = [NSURL URLWithString: @"http://TEST_URL"];
+ NSLog(serviceURL);
+});
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50201-blocks_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50201-blocks_align.m
new file mode 100644
index 00000000..505c9b99
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50201-blocks_align.m
@@ -0,0 +1,16 @@
+[[HRNewsService sharedInstance] unregisterPushToken: data
+ success:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+ fail:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50202-blocks_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50202-blocks_align.m
new file mode 100644
index 00000000..439ac716
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50202-blocks_align.m
@@ -0,0 +1,16 @@
+[[HRNewsService sharedInstance] unregisterPushToken: data
+ success:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+ fail:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50203-blocks_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50203-blocks_align.m
new file mode 100644
index 00000000..07bd3cf3
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50203-blocks_align.m
@@ -0,0 +1,16 @@
+[[HRNewsService sharedInstance] unregisterPushToken: data
+ success:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+ fail:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50204-blocks_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50204-blocks_align.m
new file mode 100644
index 00000000..a2cefc1f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50204-blocks_align.m
@@ -0,0 +1,16 @@
+[[HRNewsService sharedInstance] unregisterPushToken: data
+ success:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+ fail:^{
+ self.notificationsEnabled = NO;
+ if (data.param)
+ {
+ self.loudNotifications = YES;
+ }
+ }
+];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50205-msg_align.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50205-msg_align.m
new file mode 100644
index 00000000..f024b44c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50205-msg_align.m
@@ -0,0 +1,61 @@
+
+BOOL immediatlyReady = [self ensureResource: mutableResources[0]
+ existsInDirectoryAtPath: mutablePaths[0]
+ queueMode: mode
+ completionHandler: completionHandler
+ errorHandler: errorHandler];
+
+[myObject doFooWith1: arg1
+ name1: arg2 // some lines with >1 arg
+ error1: arg3];
+
+[myObject doFooWith2: arg4
+ name2: arg5
+ error2: arg6];
+
+[myObject doFooWith3: arg7
+ name3: arg8 // aligning keywords instead of colons
+ error3: arg9];
+
+[myObject doithereguysA: argA
+ reallylongargname: argB
+ another: argC];
+
+int foo()
+{
+ [UIView transitionWithView: self.window
+ duration: 0.3
+ options: UIViewAnimationOptionTransitionCrossDissolve
+ animations:^{
+ BOOL oldState = [UIView areAnimationsEnabled];
+ [UIView setAnimationsEnabled: NO];
+ self.window.rootViewController = self.viewController;
+ [UIView setAnimationsEnabled: oldState];
+ }
+ completion:^(BOOL finished) {
+ BOOL foo;
+ }];
+}
+
+int foo2()
+{
+ [UIView transitionWithView: self.window
+ duration: 0.3
+ options: UIViewAnimationOptionTransitionCrossDissolve
+ animations:^{
+ BOOL oldState = [UIView areAnimationsEnabled];
+ [UIView setAnimationsEnabled: NO];
+ self.window.rootViewController = self.viewController;
+ [UIView setAnimationsEnabled: oldState];
+ }
+ completion:^(BOOL finished) {
+ BOOL foo;
+ }];
+
+ [[HRNewsService sharedInstance] registerPushToken: deviceToken
+ success:^{
+ DLog(@"Finished Registering Push Token!");
+ self.notificationsEnabled = YES;
+ }
+ fail: nil];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50206-issue_2727.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50206-issue_2727.m
new file mode 100644
index 00000000..5639c298
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50206-issue_2727.m
@@ -0,0 +1,2 @@
+typedef NSArray<NSString *> *(^Finder)(NSArray *);
+typedef NSArray<NSString *> *(^Handler)(NSDictionary<NSString *, NSArray *> *);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50207-issue_3031.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50207-issue_3031.mm
new file mode 100644
index 00000000..75e6f5ea
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50207-issue_3031.mm
@@ -0,0 +1,4 @@
+if (flag) {
+ [video fcls:filter.class strength:fv];
+}
+[values forKey:(filterID)];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50300-msg.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50300-msg.m
new file mode 100644
index 00000000..79c1a60a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50300-msg.m
@@ -0,0 +1,3 @@
+[obj doSomething: 0 withArgs: @""];
+[@"" doSomething: 0 withArgs: @""];
+NSString *result = (id)[obj arg: param value: 3];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50400-for.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50400-for.m
new file mode 100644
index 00000000..35c34bce
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50400-for.m
@@ -0,0 +1,16 @@
+[[HRNewsService sharedInstance] fetchBreakingNewsItemWithId: self.breakingNewsId
+ success:^(id responseObject) {
+ NSDictionary *thing;
+ for (NSArray *dictionary in photos)
+ {
+ }
+ }
+ failure:^(NSError *error) {
+ // Failure?
+ }];
+
+// We also need to consider cases where a non-pointer type (or, a pointer without the star) is declared in ObjC.
+for (id obj in someDictionary)
+{
+ NSLog(@"This could be anything! Objective-C really needs parametrized collections.");
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50410-oc_cond_colon.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50410-oc_cond_colon.m
new file mode 100644
index 00000000..8059a3c6
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50410-oc_cond_colon.m
@@ -0,0 +1,9 @@
+[self.vendorID_TextField setStringValue : string ? string:@""];
+
+x = [NSString str : path];
+x = [NSString strFormat : @"Data/%s", path];
+x = path[0] == '/' ? path:"abc";
+x = path[0] == '/' ? [NSString str : path]:[NSString strFormat : @"Data/%s", path];
+
+id<MTLBuffer> buf = data ? [metal::g_Device newBufferWithBytes : data length : len options : MTLResourceOptionCPUCacheModeDefault]
+ :[metal::g_Device newBufferWithLength : len options : MTLResourceOptionCPUCacheModeDefault];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50411-attribute_specifier_seqs.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50411-attribute_specifier_seqs.mm
new file mode 100644
index 00000000..49dfaefa
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50411-attribute_specifier_seqs.mm
@@ -0,0 +1,19 @@
+int w1[1];
+int w2 [[maybe_unused]] = 0;
+int w3 [[foo(w1[0])]]; // unknown attribute foo
+int w4 [[foo((w1[0]))]]; // unknown attribute foo
+int w5 [[foo(w1[0] [[maybe_unused]])]]; // unknown attribute foo
+int w6 [[foo(w1[0] [[maybe_unused]]), [[deprecated]]]]; // expected ] before [[deprecated
+int w7 [[w1[0]]] = 0; // expected ] before [ in w1[
+int w8 [[ [[maybe_unused]] ]]; // expected ] before [[maybe_unused
+int w9 [ [ foo ] ] = 0;
+
+@implementation Foo
+- (void) message {
+ Foo* foo = [[Foo alloc] init];
+}
+@end
+
+Foo* foo = [[Foo alloc] init];
+
+[[Foo sharedInstance] broadcast:[world hello]];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50500-code_placeholder.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50500-code_placeholder.m
new file mode 100644
index 00000000..f6a745ed
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50500-code_placeholder.m
@@ -0,0 +1,5 @@
+double delayInSeconds = 2.0;
+dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
+dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
+ <#code to be executed on the main queue after delay#>
+});
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50510-gh293.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50510-gh293.m
new file mode 100644
index 00000000..a1dffc49
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50510-gh293.m
@@ -0,0 +1,15 @@
+self.someErrorView = ({
+ UIView *view = [[UIView alloc] init];
+ view.backgroundColor = [UIColor redColor];
+ [view addSubview:({
+ self.someErrorLabel = ({
+ UILabel *label = [[UILabel alloc] init];
+ label.textAlignment = NSTextAlignmentCenter;
+ label.backgroundColor = [UIColor clearColor];
+ label;
+ });
+ })];
+ view;
+ });
+[self.view addSubview:self.someErrorView];
+
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50511-gh293.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50511-gh293.m
new file mode 100644
index 00000000..6e4c180a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50511-gh293.m
@@ -0,0 +1,15 @@
+self.someErrorView = ({
+ UIView *view = [[UIView alloc] init];
+ view.backgroundColor = [UIColor redColor];
+ [view addSubview:({
+ self.someErrorLabel = ({
+ UILabel *label = [[UILabel alloc] init];
+ label.textAlignment = NSTextAlignmentCenter;
+ label.backgroundColor = [UIColor clearColor];
+ label;
+ });
+ })];
+ view;
+});
+[self.view addSubview:self.someErrorView];
+
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50512-sp_oc_catch.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50512-sp_oc_catch.m
new file mode 100644
index 00000000..6040b071
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50512-sp_oc_catch.m
@@ -0,0 +1,18 @@
+
+- (void) foo:(NSString*) inString
+{
+ @try {
+ }
+ @catch (NSException* const inException) {
+ }
+}
+
+- (void) bar:(NSString*) inString
+{
+ @try {
+ }
+ @catch (NSException* const inException) {
+ }
+ @finally{
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50513-sp_oc_boxed.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50513-sp_oc_boxed.m
new file mode 100644
index 00000000..916e9330
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50513-sp_oc_boxed.m
@@ -0,0 +1,9 @@
+
+- (void) foo {
+ NSArray* a = @[];
+ NSDictionary* b = @{};
+ NSArray<NSString*>* array = @[ @"hello", @"world" ];
+ NSDictionary<NSString*, NSString*>* dictionary = @{ @"foo": @"bar", @"foo2": @"bar2" };
+
+ NSString* const type = [pasteboard availableTypeFromArray:@[ NSPasteboardTypeString ]];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50514-indent_boxed.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50514-indent_boxed.m
new file mode 100644
index 00000000..165ee244
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50514-indent_boxed.m
@@ -0,0 +1,74 @@
+
+- (IBAction) copy:(nullable id) inSender {
+ NSPasteboard* const pasteboard = NSPasteboard.generalPasteboard;
+ [pasteboard clearContents];
+ [pasteboard writeObjects:@[
+ [NSPasteboardItem pasteboardItemWithProvider:self forTypes:@[ NSPasteboardTypePDF ]
+ andData:@[ kNSUTIExportedAgaroseGel,
+ [NSKeyedArchiver archivedDataWithRootObject:self.selectedIndexes.count != 0 ?[self.gels objectsAtIndexes:self.selectedIndexes] : self.gels]
+ ]]
+ ]];
+}
+
+- (IBAction) copy:(nullable id) inSender {
+ NSPasteboard* const pasteboard = NSPasteboard.generalPasteboard;
+ [pasteboard clearContents];
+ [pasteboard writeObjects:@[[NSPasteboardItem pasteboardItemWithProvider:self forTypes:@[ NSPasteboardTypePDF ] andData:@[
+ kNSUTIExportedAgaroseGel, [NSKeyedArchiver archivedDataWithRootObject:self.selectedIndexes.count != 0 ?[self.gels objectsAtIndexes:self.selectedIndexes] : self.gels]
+ ]] ]];
+
+ NSArray* a = @[];
+ NSArray* b = @[@1,@2,@3];
+ NSArray* c = @[
+ @1, @2, @3
+ ];
+ NSArray* d = @[@[@1], @[@2], @[@3]];
+ NSArray* e = @[
+ @[@1], @[@2], @[@3]
+ ];
+ NSMutableArray* f = [NSMutableArray arrayWithArray:@[@[@1], @[@2], @[@3]]];
+ NSMutableArray* g = [NSMutableArray arrayWithArray:@[
+ @[@1], @[@2], @[@3]
+ ]];
+ NSMutableDictionary* d1 = [NSMutableDictionary dictionaryWithDictionary:@{
+ @"Keys":@[
+ @{@"A": @1},
+ @{@"B": @2}.
+ @{@"C": @3}
+ ]
+ }];
+}
+
+inline static void installGelMarkers(void) {
+ [NSOperationQueue.mainQueue addOperationWithBlock:^{
+ [accessoryView.textStorage setAttributedString:[[NSAttributedString alloc] initWithString:error.localizedDescription attributes:@{ NSFontAttributeName: [NSFont systemFontOfSize:NSFont.systemFontSize] }]];
+ NSAlert *alert = [[NSAlert alloc] init];
+ }];
+}
+
+[[NSAttributedString alloc] initWithString:inJunction.reverseName attributes:@{
+ NSFontAttributeName: font,
+ NSForegroundColorAttributeName: inJunction.reverseColor
+}];
+@{
+ NSFontAttributeName: self.font,
+ NSForegroundColorAttributeName: inJunction.forwardColor
+}
+[[NSAttributedString alloc] initWithString:inJunction.reverseName attributes:@{ NSFontAttributeName: font, NSForegroundColorAttributeName: inJunction.reverseColor }];
+[[NSAttributedString alloc] initWithString:inJunction.reverseName
+ attributes:@{ NSFontAttributeName: font, NSForegroundColorAttributeName: inJunction.reverseColor }];
+- (void) drawReversePrimerForJunction:(GibsonJunction*) inJunction bounds:(NSRect) inBounds {
+ NSString* const string1 = nil,
+ string2 = nil,
+ string3 = nil;
+//does not compile but does test shift operator formatting
+ std::ostringstream ostream;
+ ostream << "hello"
+ << ' '
+ << "world";
+ NSString* const string = inJunction.reversePrimer;
+ [attributedString appendAttributedString:[[NSAttributedString alloc] initWithString:[string substringToIndex:range.location] attributes:@{
+ NSFontAttributeName: self.font,
+ NSForegroundColorAttributeName: inJunction.forwardColor
+ }]];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50515-sp_oc_synchronized.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50515-sp_oc_synchronized.m
new file mode 100644
index 00000000..ffff5618
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50515-sp_oc_synchronized.m
@@ -0,0 +1,11 @@
+- (void) unobserveAllKeyPaths {
+ @synchronized (self) {
+ }
+}
+#if 1
+#define SYNCHRONIZED_BEGIN(x) @synchronized (x) {
+#define SYNCHRONIZED_END }
+#else
+#define SYNCHRONIZED_BEGIN(x)
+#define SYNCHRONIZED_END
+#endif
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50600-bug_i_477.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50600-bug_i_477.m
new file mode 100644
index 00000000..0e7cbb78
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50600-bug_i_477.m
@@ -0,0 +1,4 @@
+[dataArray enumerateObjectsUsingBlock:^(dataType *data, NSUInteger idx, BOOL *stop)
+ {
+ // Do stuff!
+ }];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50601-bug_i_408.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50601-bug_i_408.m
new file mode 100644
index 00000000..700d159d
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50601-bug_i_408.m
@@ -0,0 +1 @@
+CGFloat fontSize = floorf([font pointSize] * [self tileContentScale] + 0.5);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50602-bug_i_125-412.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50602-bug_i_125-412.m
new file mode 100644
index 00000000..4beec2d5
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50602-bug_i_125-412.m
@@ -0,0 +1,9 @@
+[[NSFileManager defaultManager] createFileAtPath:path
+ contents:data
+ attributes:nil]
+
+[self.myProperty setObject: obj forKey: key];
+
+NSString *newValue = [@"my string" stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceCharacterSet];
+
+NSString *newValue = [myStrings[0] stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceCharacterSet];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50603-gh511.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50603-gh511.m
new file mode 100644
index 00000000..2c86e32d
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50603-gh511.m
@@ -0,0 +1,4 @@
+BOOL valid = YES;
+NSDictionary *p = valid ? @{
+ @"Test": @"Example"
+} : nil;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50604-bug_497.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50604-bug_497.m
new file mode 100644
index 00000000..121503b4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50604-bug_497.m
@@ -0,0 +1,13 @@
+NSArray *array = @[@1,
+ @2,
+ @3,
+ @4];
+
+NSArray *array = @{ @1: @1,
+ @2: @2,
+ @3: @3,
+ @4: @4 };
+
+int i = 1
+ + 1
+ + 2;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50605-bug_404.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50605-bug_404.m
new file mode 100644
index 00000000..8244ebd3
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50605-bug_404.m
@@ -0,0 +1,6 @@
+@interface Test1 : Test2
+@end
+
+
+@interface Test<T1 : id<T3> > : Test2<P1>
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50606-bug_1366.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50606-bug_1366.m
new file mode 100644
index 00000000..f4058b1f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50606-bug_1366.m
@@ -0,0 +1,14 @@
+@implementation UCTestClass
+
+-(void) test
+{
+ switch (test)
+ {
+ case "longlonglonglong": {
+ i = 1;
+ }
+ break;
+ }
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50607-sp_after_oc_msg_receiver.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50607-sp_after_oc_msg_receiver.m
new file mode 100644
index 00000000..14eaed36
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50607-sp_after_oc_msg_receiver.m
@@ -0,0 +1,11 @@
+#import <Foundation/Foundation.h>
+
+@implementation TestClass
+
+- (void)testMethod {
+ NSData *jsonData = [self dataUsingEncoding:NSUTF8StringEncoding];
+ id jsonParsedObj = [jsonSerializationClass JSONObjectWithData:jsonData options:0 error:&jsonError];
+ NSString *ret = [[TestClass sharedInstance]testString];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50608-blocks_align2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50608-blocks_align2.m
new file mode 100644
index 00000000..b37c1b4b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50608-blocks_align2.m
@@ -0,0 +1,89 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+- (void)method1 {
+ [session mergeCommonMovieItems:^(NSURL *exportURL, NSError *exportError) {
+ NSDictionary *settings = [self getSettings];
+
+ [session postSessionWithCallback:^(NSError *error, id d) {
+ if (error == nil) {
+ [session uploadSessionWithCallback:^(NSError *error, id d) {
+ NSLog(@"OK");
+ }];
+ } else {
+ NSLog(@"Something went wrong: %@", error);
+ return;
+ }
+ }];
+ }];
+}
+
+- (void)postSelection:(NSString *)testName
+ selection:(NSString *)selection {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [self warmup:^{
+ [self setReady];
+ }];
+ });
+
+ dispatch_after(retryTime, dispatch_get_main_queue(), ^(void) {
+ [self postSelection:testName selection:selection];
+ });
+
+ [TestClassRequest performMethod:TestClassRequestMethodPOST
+ responseHandler:^(NSURLResponse *response) {
+ dispatch_after(retryTime, dispatch_get_main_queue(), ^(void) {
+ [self postSelection:testName selection:selection];
+ });
+ }];
+
+ [UIView transitionWithView:self.view.window duration:0.75 options:UIViewAnimationOptionTransitionFlipFromRight animations:^{
+ [self presentViewController:viewController animated:NO completion:nil];
+ } complete:^{}];
+}
+
+- (void)closeEditor {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ if ([[TestClass sharedInstance] TestClassController] != nil && [[[TestClass sharedInstance] TestClassController] isKindOfClass:[TestClassSocialViewController class]]) {
+ [[TestClass sharedInstance].TestClassTransitionController transitionToViewController:[[TestClass sharedInstance] TestClassController] withCompletitionHandler:^{
+ [[TestClass sharedInstance] setTestClassVideoPlayerViewController:nil];
+ }];
+ } else if ([[TestClass sharedInstance] TestClassController] != nil && [[[TestClass sharedInstance] TestClassController] isKindOfClass:[TestClassModalViewController class]]) {
+ [[TestClass sharedInstance].TestClassTransitionController transitionToViewController:nil withCompletitionHandler:^{
+ [[TestClass sharedInstance] setTestClassVideoPlayerViewController:nil];
+ }];
+ } else {
+ [[TestClass sharedInstance] hideTestClass];
+ }
+ });
+}
+
+- (void)testMethodWrapper {
+ SEL testMethodForSelectorSel = @selector(testMethod:);
+ __block void *testMethodForSelectorBlock = TestFunction(encoderTest, testMethodForSelectorSel, ^id (__typeof(encoderTest) self, SEL aSelector) {
+ NSLog(@"OK");
+ });
+}
+
+- (void)method2 {
+ [TestClassRequest performMethod:TestClassRequestMethodPOST
+ responseHandler:^(NSURLResponse *response, NSData *responseData, NSError *error) {
+ [self checkPermissions:connection withCallback:^(NSError *error, id data) {
+ [self bar];
+ }];
+ }];
+}
+
+- (void)method3 {
+ [TestClassRequest performMethod:TestClassRequestMethodPOST responseHandler:^(NSURLResponse *response, NSData *responseData, NSError *error) {
+ [self checkPermissions:connection withCallback:^(NSError *error, id data) {
+ [self bar];
+ }];
+ }];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50609-negative_value.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50609-negative_value.m
new file mode 100644
index 00000000..9aa4dc80
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50609-negative_value.m
@@ -0,0 +1,12 @@
+#import <Foundation/Foundation.h>
+
+int main(void) {
+ int i = -1;
+ NSNumber *foo1 = @-1;
+ NSNumber *foo2 = @(-1);
+ NSNumber *foo3 = @1;
+ NSNumber *foo4 = @(1);
+ NSNumber *foo5 = @(i);
+
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50610-nelem.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50610-nelem.m
new file mode 100644
index 00000000..d42ce3b6
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50610-nelem.m
@@ -0,0 +1,10 @@
+#import <Foundation/Foundation.h>
+
+/* get #of elements in a static array */
+#ifndef NELEM
+#define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0])))
+#endif
+
+int main(void) {
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50611-for2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50611-for2.m
new file mode 100644
index 00000000..535bc50b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50611-for2.m
@@ -0,0 +1,2 @@
+for (UIWindow *testWindow in [[UIApplication sharedApplication] windows]) {
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50612-chunk_ends_type1.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50612-chunk_ends_type1.m
new file mode 100644
index 00000000..fb9bb4e1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50612-chunk_ends_type1.m
@@ -0,0 +1,23 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+- (void)uploadWithClientData:(NSMutableDictionary *)data withCallback:(TestClassCallback)callback {
+ TestClassSessionInstance *session = [[TestClassSession sharedInstance] currentOrLastSession];
+
+ if (session == nil || data == nil) {
+ if (callback != nil)
+ return callback(nil, nil);
+ return;
+ }
+ [session mergeCommonMovieItems:^(NSURL *exportURL, NSError *exportError) {
+ if (exportError != nil)
+ return callback(exportError, nil);
+ NSDictionary *settings = [self getSettings];
+ }];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50613-chunk_ends_type2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50613-chunk_ends_type2.m
new file mode 100644
index 00000000..64efc7e6
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50613-chunk_ends_type2.m
@@ -0,0 +1,32 @@
+#import <Foundation/Foundation.h>
+
+#define TESTCLASS_SINGLETON_FOR_CLASS(classname, accessorname) \
+ static classname *shared##classname = nil;
+
+#define PUSH_CONTEXT(contextArg) \
+ EAGLContext *oldContext = [EAGLContext currentContext]; \
+ if (oldContext != contextArg) { \
+ [EAGLContext setCurrentContext:contextArg]; \
+ }
+
+#define POP_CONTEXT(contextArg) \
+ if (oldContext != contextArg) { \
+ [EAGLContext setCurrentContext:oldContext]; \
+ }
+
+#define CURRENT_CONTEXT \
+ NSOpenGLContext *currentContext = [NSOpenGLContext currentContext];
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+TESTCLASS_SINGLETON_FOR_CLASS(TestClass, sharedInstance);
+
+- (void)drawSomething {
+ PUSH_CONTEXT(_context);
+ POP_CONTEXT(_context);
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50614-chunk_ends_type3.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50614-chunk_ends_type3.m
new file mode 100644
index 00000000..8f0ae62c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50614-chunk_ends_type3.m
@@ -0,0 +1,11 @@
+#import <Foundation/Foundation.h>
+
+#define MACRO(foo) \
+ if (_##foo == NULL) { \
+ Log("do %s", str(foo)); \
+ _##foo = (foo##_t *) process(PR_FLAG, str(foo)); \
+ }
+
+#define OVERLOAD(base, foo) \
+ foo##_override_t *foo##_bar = (foo##_override_t *) process(base##_bar, str(foo)); \
+ _##foo##_override = (foo##_override_t *) process(base##_cache, str(foo));
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50615-block_literal_protocol.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50615-block_literal_protocol.m
new file mode 100644
index 00000000..35879a0e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50615-block_literal_protocol.m
@@ -0,0 +1,19 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+- (void)drawSomething:(id<MTLCommandBuffer>)commandBuffer {
+ [renderPass performDrawBlock:^(id<MTLRenderCommandEncoder> renderCommandEncoder) {
+ screenBlitObject.texture = src;
+
+ // Make sure the pipeline state pixelformat is the same as destination pixel format
+ [screenBlitObject updatePipelineState:dst.pixelFormat];
+
+ [screenBlitObject drawWithRenderCommandEncoder:renderCommandEncoder];
+ } withTargetTexture:dst andCommandBuffer:commandBuffer];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50616-oc_msg_in_pp.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50616-oc_msg_in_pp.m
new file mode 100644
index 00000000..8496973b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50616-oc_msg_in_pp.m
@@ -0,0 +1,18 @@
+#import <Foundation/Foundation.h>
+
+#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float) ((rgbValue & 0xFF0000) >> 16)) / 255.0 green:((float) ((rgbValue & 0xFF00) >> 8)) / 255.0 blue:((float) (rgbValue & 0xFF)) / 255.0 alpha:1.0]
+
+#if TARGET_OS_IPHONE
+#define GL_CONTEXT_ALLOC(parentContext) [[EAGLContext alloc] initWithAPI:GL_CONTEXT_VERSION(parentContext) sharegroup:[parentContext sharegroup]]
+#else
+#define GL_CONTEXT_ALLOC(parentContext) [[NSOpenGLContext alloc] initWithFormat:[[NSOpenGLPixelFormat alloc] initWithCGLPixelFormatObj:CGLGetPixelFormat([parentContext CGLContextObj])] shareContext:parentContext]
+#endif
+
+#define NSLocalizedString(key, comment) \
+ [TestClassBundle localizedStringForKey:(key) value:@"" table:nil]
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50617-boxed_receiver.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50617-boxed_receiver.m
new file mode 100644
index 00000000..e4c247fd
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50617-boxed_receiver.m
@@ -0,0 +1,37 @@
+#import <Foundation/Foundation.h>
+
+@implementation TestClass
+
+- (NSDictionary *)constructUploadHeaders {
+ NSDictionary *headers;
+
+ headers = @{
+ @"Content-Length": [@(contentLength) stringValue],
+ @"Content-Length2": [contentLength stringValue],
+ @"Content-Disposition": [NSString stringWithFormat:@"name=\"%@\"; filename=\"%@\"", @"asset_data", identifier],
+ @"Content-Type": @"application/octet-stream",
+ @"ETag": uploadEtag
+ };
+
+ return headers;
+}
+
+- (BOOL)isStrimmed {
+ if ([(TestClassVideoEditorView *) (self.parentComponentsView.superview) isTrimmed]) {
+ return YES;
+ }
+ if ([((TestClassVideoEditorView *) self.parentComponentsView.superview) isTrimmed]) {
+ return YES;
+ }
+ return NO;
+}
+
+- (void)session {
+ TestCaseSessionInstance *session = ((TestClassVideoEditorView *) self.parentComponentsView.superview).session;
+
+ [(TestClassVideoEditorView *) (self.parentComponentsView.superview) closeEditor];
+
+ [menubutton.badge setBadgeText:[@(count + 1) stringValue]];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50618-func_def.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50618-func_def.mm
new file mode 100644
index 00000000..49de2fea
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50618-func_def.mm
@@ -0,0 +1,13 @@
+#import <Foundation/Foundation.h>
+
+extern "C" void function1(void *self, uint32_t *arg2, uint32_t *arg3);
+
+MACRO1(void, function2, type1 arg1, type2 arg2, const type1 *arg3);
+
+MACRO2(status_t, function3,
+ void *arg1,
+ const sp<IFoo>& arg2) {
+}
+
+MACRO2(type4, function4, const void **arg1, type1 arg2, const type3 *arg3, type4 arg4, type4 arg5, bool arg6) {
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50619-cast.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50619-cast.m
new file mode 100644
index 00000000..1e588579
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50619-cast.m
@@ -0,0 +1,12 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+- (void)foo {
+ previewViewController.previewControllerDelegate = (id<TestClassDelegate>) [TestClass sharedInstance];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50620-sp_after_angle.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50620-sp_after_angle.m
new file mode 100644
index 00000000..318071ba
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50620-sp_after_angle.m
@@ -0,0 +1,21 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass2 : TestClassNavigationViewController {
+ BOOL foo;
+}
+
+@implementation TestClass2
+
+@end
+
+@interface TestClass : TestClassNavigationViewController<UIWebViewDelegate, UIActionSheetDelegate> {
+ NSURL *webpageUrl;
+ UIWebView *webView;
+ BOOL toolbarVisible;
+ BOOL loading;
+ NSString *endPrefix;
+}
+
+@implementation TestClass
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50621-Fraction.h b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50621-Fraction.h
new file mode 100644
index 00000000..77403abd
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50621-Fraction.h
@@ -0,0 +1,14 @@
+#import <Foundation/NSObject.h>
+
+@interface Fraction : NSObject {
+ int numerator;
+ int denominator;
+}
+
+- (void)print;
+- (void)setNumerator:(int)d;
+- (void)setDenominator:(int)d;
+- (int)numerator;
+- (int)denominator;
+- (void)setNumDen:(int)n:(int)d;
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50622-c-cpp-oc-wrapper.c b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50622-c-cpp-oc-wrapper.c
new file mode 100644
index 00000000..f17c10ed
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50622-c-cpp-oc-wrapper.c
@@ -0,0 +1,300 @@
+// C/C++/Obj-C/Obj-C++ wrapper that exports C functions
+//
+// As an example, distributed with .c suffix,
+// but depending on extension needs, can be
+// compiled as C, C++, Obj-C or Obj-C++
+
+#include <stdio.h>
+#include <unistd.h>
+#include "TestClassNativeHelper.h"
+
+#undef NDEBUG
+
+#if defined(__ANDROID__)
+
+#define TCH_LOGI(...) __android_log_print(ANDROID_LOG_INFO, "TestClassNativeHelper", __VA_ARGS__)
+#define TCH_LOGE(...) __android_log_print(ANDROID_LOG_ERROR, "TestClassNativeHelper", __VA_ARGS__)
+
+#ifndef NDEBUG
+#define TCH_LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, "TestClassNativeHelper", __VA_ARGS__)
+#else
+#define TCH_LOGV(...)
+#endif
+
+#define TCH_ELOG TCH_LOGV("%s", __FUNCTION__)
+
+void TCH_onTestClassUploadDidProgress(C_JNIEnv *env, jobject thiz, jint videoId, jdouble progress) {
+ TCH_ELOG;
+}
+
+#ifndef TCH_NELEM
+#define TCH_NELEM(x) ((int) (sizeof(x) / sizeof((x)[0])))
+#endif
+
+static const char *kTCHTestClassClass = "com/testclass/TestClass/TestClass";
+static const char *kTCHTestClassLoader = "com.testclass.TestClass.TestClass";
+
+static const char *kTCHTestClassNativeListenerClass = "com/testclass/TestClass/communication/TestClassNativeListener";
+static const char *kTCHTestClassNativeListenerLoader = "com.testclass.TestClass.communication.TestClassNativeListener";
+
+static JavaVM *TCH_vm = NULL;
+
+static JNINativeMethod TCH_listenerMethods[] = {
+ { "onTestClassUploadDidProgress", "(ID)V", (void *) TCH_onTestClassUploadDidProgress },
+};
+
+static C_JNIEnv *TCH_getEnv() {
+ C_JNIEnv *ret = NULL;
+
+ if (TCH_vm == NULL) {
+ TCH_LOGE("TCH_getEnv failed, no JVM");
+ return NULL;
+ }
+
+#if defined(__cplusplus)
+ JNIEnv *env = NULL;
+
+ if (TCH_vm->GetEnv((void **) &env, JNI_VERSION_1_6) != JNI_OK) {
+ JavaVMAttachArgs args;
+ args.version = JNI_VERSION_1_6;
+ args.name = NULL;
+ args.group = NULL;
+
+ int attachStatus;
+ if ((attachStatus = TCH_vm->AttachCurrentThread(&env, &args)) < 0) {
+ TCH_LOGE("TCH_getEnv failed");
+ }
+ }
+ ret = (C_JNIEnv *) env;
+#else
+ JNIEnv *env = NULL;
+
+ if ((*TCH_vm)->GetEnv(TCH_vm, (void **) &env, JNI_VERSION_1_6) != JNI_OK) {
+ JavaVMAttachArgs args;
+ args.version = JNI_VERSION_1_6;
+ args.name = NULL;
+ args.group = NULL;
+
+ int attachStatus;
+ if ((attachStatus = (*TCH_vm)->AttachCurrentThread(TCH_vm, &env, &args)) < 0) {
+ TCH_LOGE("TCH_getEnv failed");
+ }
+ }
+ ret = env;
+#endif /* if defined(__cplusplus) */
+ return ret;
+}
+
+static jclass TCH_loadClass(C_JNIEnv *env, jobject activity, const char *className) {
+ jclass cls_Activity = (*env)->GetObjectClass((JNIEnv *) env, activity);
+ jmethodID mid_getClassLoader = (*env)->GetMethodID((JNIEnv *) env, cls_Activity, "getClassLoader", "()Ljava/lang/ClassLoader;");
+ jobject obj_classLoader = (*env)->CallObjectMethod((JNIEnv *) env, activity, mid_getClassLoader);
+
+ jclass cls_classLoader = (*env)->GetObjectClass((JNIEnv *) env, obj_classLoader);
+ jmethodID mid_loadClass = (*env)->GetMethodID((JNIEnv *) env, cls_classLoader, "loadClass", "(Ljava/lang/String;)Ljava/lang/Class;");
+
+ jstring _className = (*env)->NewStringUTF((JNIEnv *) env, className);
+ jclass cls = (jclass) (*env)->CallObjectMethod((JNIEnv *) env, obj_classLoader, mid_loadClass, _className);
+
+ (*env)->DeleteLocalRef((JNIEnv *) env, _className);
+
+ if (!cls) {
+ TCH_LOGE("Couldn't find class %s", className);
+ }
+
+ return cls;
+}
+
+#define TCH_str2(x) #x
+#define TCH_str(x) TCH_str2(x)
+
+#define TCH_CLASS(_class) tchClass_##_class
+
+#define TCH_LOCAL_CLASS(_class) local_tchClass_##_class
+
+#define TCH_REGISTER_CLASS(_class) \
+ jclass TCH_CLASS(_class) = NULL;
+
+#define TCH_EXTERN_CLASS(_class) \
+ jclass TCH_CLASS(_class);
+
+#define TCH_METHOD(_method) tchMethod_##_method
+
+#define TCH_REGISTER_METHOD(_method) \
+ jmethodID TCH_METHOD(_method) = NULL;
+
+#define TCH_EXTERN_METHOD(_method) \
+ jmethodID TCH_METHOD(_method);
+
+#define TCH_REGISTER_NATIVES(_env, _class, methods) \
+ if ((*_env)->RegisterNatives((JNIEnv *) _env, TCH_CLASS(_class), methods, TCH_NELEM(methods)) < 0) { \
+ TCH_LOGE("RegisterNatives failed for %s\n", TCH_str(_class)); \
+ }
+
+#define TCH_FIND_CLASS(_env, _class, _className) \
+ jclass TCH_LOCAL_CLASS(_class) = (*_env)->FindClass((JNIEnv *) _env, _className); \
+ if (TCH_LOCAL_CLASS(_class) == NULL) { \
+ TCH_LOGE("Unable to find class %s\n", _className); \
+ } else { \
+ TCH_CLASS(_class) = (jclass) (*_env)->NewGlobalRef((JNIEnv *) _env, TCH_LOCAL_CLASS(_class)); \
+ }
+
+#define TCH_FIND_STATIC_METHOD(_env, _class, _method, _prototype) \
+ TCH_METHOD(_method) = (*_env)->GetStaticMethodID((JNIEnv *) _env, TCH_CLASS(_class), TCH_str(_method), _prototype); \
+ if (TCH_METHOD(_method) == NULL) { \
+ TCH_LOGE("Unable to find method %s", TCH_str(_method)); \
+ }
+
+#define TCH_FIND_STATIC_METHOD2(_env, _class, _method, _symbol, _prototype) \
+ TCH_METHOD(_method) = (*_env)->GetStaticMethodID((JNIEnv *) _env, TCH_CLASS(_class), TCH_str(_symbol), _prototype); \
+ if (TCH_METHOD(_method) == NULL) { \
+ TCH_LOGE("Unable to find method %s", TCH_str(_method)); \
+ }
+
+#define TCH_CALL_STATIC_METHOD_ARGS(_env, _class, _method, ...) \
+ (*_env)->CallStaticVoidMethod((JNIEnv *) _env, TCH_CLASS(_class), TCH_METHOD(_method), __VA_ARGS__);
+
+#define TCH_CALL_STATIC_METHOD_BOOL(_env, _class, _method) \
+ (*_env)->CallStaticBooleanMethod((JNIEnv *) _env, TCH_CLASS(_class), TCH_METHOD(_method));
+
+TCH_REGISTER_CLASS(testclassClass);
+TCH_REGISTER_METHOD(testclassConstructor);
+static jobject TCH_testclassInstance = NULL;
+
+TCH_REGISTER_CLASS(testclassNativeListenerClass);
+TCH_REGISTER_METHOD(testclassNativeListenerConstructor);
+static jobject TCH_testclassNativeListenerInstance = NULL;
+
+TCH_REGISTER_METHOD(isSupported);
+TCH_REGISTER_METHOD(initTestClass);
+
+static void TCH_preload(C_JNIEnv *env) {
+ TCH_ELOG;
+
+ if (TCH_CLASS(testclassClass) == NULL) {
+ TCH_FIND_CLASS(env, testclassClass, kTCHTestClassClass);
+ }
+
+ // Class really not found or not loaded, bail
+ if (TCH_CLASS(testclassClass) == NULL) {
+ return;
+ }
+
+ if (TCH_CLASS(testclassClass) != NULL && TCH_METHOD(isSupported) == NULL) {
+ TCH_FIND_STATIC_METHOD(env, testclassClass, isSupported, "()Z");
+ TCH_FIND_STATIC_METHOD(env, testclassClass, initTestClass, "(Lcom/testclass/TestClass/ITestClassListener;Landroid/app/Activity;)Z");
+
+ if (TCH_CLASS(testclassClass) != NULL) {
+ TCH_METHOD(testclassConstructor) = (*env)->GetMethodID((JNIEnv *) env, TCH_CLASS(testclassClass), "<init>", "()V");
+ jobject constructor = (*env)->NewObject((JNIEnv *) env, TCH_CLASS(testclassClass), TCH_METHOD(testclassConstructor));
+ TCH_testclassInstance = (*env)->NewGlobalRef((JNIEnv *) env, constructor);
+ }
+
+ if (TCH_CLASS(testclassNativeListenerClass) == NULL) {
+ TCH_FIND_CLASS(env, testclassNativeListenerClass, kTCHTestClassNativeListenerClass);
+ }
+
+ if (TCH_CLASS(testclassNativeListenerClass) != NULL) {
+ TCH_METHOD(testclassNativeListenerConstructor) = (*env)->GetMethodID((JNIEnv *) env, TCH_CLASS(testclassNativeListenerClass), "<init>", "()V");
+ jobject listener = (*env)->NewObject((JNIEnv *) env, TCH_CLASS(testclassNativeListenerClass), TCH_METHOD(testclassNativeListenerConstructor));
+ TCH_testclassNativeListenerInstance = (*env)->NewGlobalRef((JNIEnv *) env, listener);
+ TCH_REGISTER_NATIVES(env, testclassNativeListenerClass, TCH_listenerMethods);
+ TCH_LOGV("Initializing built-in listener");
+ }
+ }
+}
+
+#elif defined(__APPLE__)
+
+#ifndef NDEBUG
+#define TCH_LOGV(...) NSLog(__VA_ARGS__)
+#else
+#define TCH_LOGV(...)
+#endif
+
+#define TCH_ELOG TCH_LOGV(@"%s", __FUNCTION__)
+
+#if defined(__cplusplus)
+#define TCH_NS(_class) ::_class
+#else
+#define TCH_NS(_class) _class
+#endif
+
+@interface TCH_delegateHandler : NSObject<TestClassDelegate>
+@end
+
+@implementation TCH_delegateHandler
+- (void)testclassUploadDidProgress:(NSNumber *)videoId progress:(NSNumber *)progress {
+ TCH_ELOG;
+}
+
+@end
+
+static TCH_delegateHandler *TCH_builtInHandler = nil;
+
+#endif /* if defined(__ANDROID__) */
+
+#if defined(__ANDROID__)
+
+void TCH_initTestClass(JNIEnv *env, jobject activity, jobject listener) {
+ TCH_ELOG;
+
+ C_JNIEnv *cenv = NULL;
+#if defined(__cplusplus)
+ cenv = (C_JNIEnv *) env;
+#else
+ cenv = env;
+#endif
+
+ if (TCH_vm == NULL) {
+ int status = (*cenv)->GetJavaVM((JNIEnv *) cenv, &TCH_vm);
+ if (status != 0) {
+ TCH_LOGE("GetJavaVM failed");
+ return;
+ }
+ }
+
+ TCH_CLASS(testclassClass) = TCH_loadClass(cenv, activity, kTCHTestClassLoader);
+ TCH_CLASS(testclassNativeListenerClass) = TCH_loadClass(cenv, activity, kTCHTestClassNativeListenerLoader);
+ TCH_preload(cenv);
+
+ jobject listenerRef = listener;
+ if (listenerRef == NULL) {
+ TCH_LOGV("Using built-in listener");
+ listenerRef = TCH_testclassNativeListenerInstance;
+ }
+
+ TCH_CALL_STATIC_METHOD_ARGS(cenv, testclassClass, initTestClass, listenerRef, activity);
+}
+
+#elif defined(__APPLE__)
+
+void TCH_initTestClass(UIViewController *viewController, id<TestClassDelegate> testclassDelegate) {
+ TCH_ELOG;
+
+ id<TestClassDelegate> testclassDelegateRef = testclassDelegate;
+ if (testclassDelegateRef == nil) {
+ TCH_builtInHandler = [[TCH_delegateHandler alloc] init];
+ testclassDelegateRef = TCH_builtInHandler;
+ }
+
+ [TCH_NS(TestClass) initWithDelegate:testclassDelegateRef andParentViewController:viewController];
+}
+
+#endif /* if defined(__ANDROID__) */
+
+bool TCH_isSupported(void) {
+ TCH_ELOG;
+ bool ret = false;
+
+#if defined(__ANDROID__)
+ C_JNIEnv *env = TCH_getEnv();
+ if (env && TCH_CLASS(testclassClass)) {
+ ret = (bool) TCH_CALL_STATIC_METHOD_BOOL(env, testclassClass, isSupported);
+ }
+#elif defined(__APPLE__)
+ ret = (bool) [TCH_NS(TestClass) isSupported];
+#endif
+
+ return ret;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50623-extern-c-attribute.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50623-extern-c-attribute.m
new file mode 100644
index 00000000..1c752682
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50623-extern-c-attribute.m
@@ -0,0 +1,15 @@
+struct {
+ int foo;
+} bar;
+
+extern "C" int *i;
+extern "C" { int *i; }
+int *i;
+extern "C" NSString *i;
+extern "C" { NSString *i; }
+NSString *i;
+
+__attribute__((visibility("default"))) int *i;
+__attribute__((visibility("default"))) NSString *i;
+
+#define DEFINE_NOTIFICATION(name) extern "C" __attribute__((visibility("default"))) NSString *const name = @#name;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50624-typeof.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50624-typeof.m
new file mode 100644
index 00000000..968aad5a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50624-typeof.m
@@ -0,0 +1,12 @@
+#import <Foundation/Foundation.m>
+
+@implementation MyViewController
+
+- (void)method1 {
+ __weak __typeof(self) weakSelf1 = self;
+ __weak typeof(self) weakSelf2 = self;
+ __weak MyViewController *weakSelf3 = self;
+ NSString *srcStr = [[NSString alloc] initWithBytes:kShaderSource length:sizeof(kShaderSource) encoding:NSASCIIStringEncoding];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50625-sp_inside_braces_oc_dict.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50625-sp_inside_braces_oc_dict.m
new file mode 100644
index 00000000..f98a27ea
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50625-sp_inside_braces_oc_dict.m
@@ -0,0 +1,7 @@
+#import <Foundation/Foundation>
+
+int main(void) {
+ NSDictionary *productParameters = @{ @"id": appStoreID };
+ NSDictionary *options = @{ AVURLAssetPreferPreciseDurationAndTimingKey: @YES };
+ NSDictionary *baz = @{ foo: bar };
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50626-chunk_ends_type4.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50626-chunk_ends_type4.m
new file mode 100644
index 00000000..dd4d55fe
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50626-chunk_ends_type4.m
@@ -0,0 +1,48 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass : NSObject
+@end
+
+@implementation TestClass
+
+- (void)session_thumbnail_url:(NSDictionary *)data {
+ [session mergeCommonMovieItems:^(NSURL *exportURL, NSError *error) {
+#if 0
+ [response setValue:[thumbnailUrl absoluteString] forKey:@"thumbnail_url"];
+#else
+ NSString *extension = [thumbnailUrl pathExtension];
+ NSData *imageData = [NSData dataWithContentsOfURL:thumbnailUrl];
+ NSString *base64EncodedImage = [TestClassCommon Base64Encode:imageData];
+
+ NSString *base64Image = nil;
+ if ([extension isEqualToString:@"jpg"] == YES) {
+ base64Image = [NSString stringWithFormat:@"data:image/jpg;base64, %@", base64EncodedImage];
+ } else {
+ base64Image = [NSString stringWithFormat:@"data:image/png;base64, %@", base64EncodedImage];
+ }
+ [response setValue:base64Image forKey:@"thumbnail_url"];
+#endif
+
+ [TestClassWebViewController sendEvent:[NSString stringWithFormat:@"session_thumbnail:%@", sessionId] withArgs:response];
+ }];
+}
+
+- (void)addFoo:(NSDictionary *)postData {
+ [TestClassRequest performMethod:TestClassRequestMethodPOST
+ onResource:resource
+ usingParameters:postData
+ withAccount:[TestClass account]
+ sendingProgressHandler:nil
+ responseHandler:^(NSURLResponse *response, NSData *responseData, NSError *error) {
+ NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
+ if ([httpResponse statusCode] == 200) {
+#if DEBUG
+ NSString *rsp = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding];
+ TestClassLog(@"TOGGLE CONNECTION ADDED response:%li responseData:%@ error:%@", (long) [((NSHTTPURLResponse *) response) statusCode], rsp, [error localizedDescription]);
+#endif
+ NSJSONSerialization *jsonConnection = [responseData TestClassJSONObject];
+ }
+ }];
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50627-method_ends_semicolon.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50627-method_ends_semicolon.m
new file mode 100644
index 00000000..b1ca36fa
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50627-method_ends_semicolon.m
@@ -0,0 +1,17 @@
+#import <Foundation/Foundation.h>
+
+@interface TestClass
+
++ (void)cancelRequest:(id)request;
+
+@end
+
+@implementation TestClass
+
+// Occasionally there will be user errors where someone will
+// copy the interface method declaration to implementation
+// and leaves the semicolon
++ (void)cancelRequest:(id)request; {
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50628-macro-close-brace.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50628-macro-close-brace.m
new file mode 100644
index 00000000..0eb3fa81
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50628-macro-close-brace.m
@@ -0,0 +1,18 @@
+#import <Foundation/Foundation.h>
+
+#if TARGET_RT_BIG_ENDIAN
+#define FourCC2Str(fourcc) (const char[]) { *((char *) &fourcc), *(((char *) &fourcc) + 1), *(((char *) &fourcc) + 2), *(((char *) &fourcc) + 3), 0}
+#else
+#define FourCC2Str(fourcc) (const char[]) { *(((char *) &fourcc) + 3), *(((char *) &fourcc) + 2), *(((char *) &fourcc) + 1), *(((char *) &fourcc) + 0), 0}
+#endif
+
+#if 1
+#define SYNCHRONIZED_BEGIN(x) @synchronized(x) {
+#define SYNCHRONIZED_END }
+#else
+#define SYNCHRONIZED_BEGIN(x)
+#define SYNCHRONIZED_END
+#endif
+
+#define AUTORELEASEPOOL_BEGIN @autoreleasepool {
+#define AUTORELEASEPOOL_END }
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50629-pp_bool.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50629-pp_bool.m
new file mode 100644
index 00000000..b1bf896c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50629-pp_bool.m
@@ -0,0 +1,5 @@
+#import <Foundation/Foundation.h>
+
+#if TARGET_OS_MAC && !TARGET_OS_IPHONE
+#import <AppKit/AppKit.h>
+#endif
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50630-nl_func_call_args_multi_line_ignore_closures.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50630-nl_func_call_args_multi_line_ignore_closures.m
new file mode 100644
index 00000000..5c07ea43
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50630-nl_func_call_args_multi_line_ignore_closures.m
@@ -0,0 +1,103 @@
+mapToPtr(^(const LeftAddOn::Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr( x, ^ (const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr( ^ (const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr(
+ arg1, ^ ( NSString * ) (const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+}, arg2
+ );
+
+mapToPtr(arg1, ^ ( NSString *) (const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr( ^() (const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+}, arg2);
+
+
+
+methodCall(^{
+ variant.action.send(Cmpnt);
+});
+
+methodCall(
+ ^{
+ variant.action.send(Cmpnt);
+}, x);
+
+
+methodCall( x, ^id (Cmpnt *c) {
+ NSLog(@"Something");
+});
+
+methodCall( ^id (Cmpnt *c) {
+ NSLog(@"Something");
+});
+
+methodCall( ^(Cmpnt *c) {
+ NSLog(@"Something");
+});
+
+methodCall(
+ ^ (Cmpnt *c) {
+ NSLog(@"Something");
+}, y);
+
+methodCall(
+ x, ^(Cmpnt *c) {
+ NSLog(@"Something");
+}, y
+ );
+
+
+methodCall(
+ arg1,
+ arg2,
+ arg3
+ );
+
+methodCall(arg1, arg2, arg3);
+
+methodCall(
+ arg1,
+ arg2, {
+ .x = 10,
+}
+ );
+
+methodCall(
+ arg1, {
+ .x = 10,
+},
+ arg2
+ );
+
+methodCall({
+ .x = 10,
+},
+ arg2);
+
+
+outerMethodCall(
+ methodCall(^{
+ // action
+},
+ x)
+ );
+
+outerMethodCall(
+ methodCall(^{
+ variant.action.send(Cmpnt);
+},
+ x)
+ );
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50631-nl_oc_msg_args_min_params.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50631-nl_oc_msg_args_min_params.m
new file mode 100644
index 00000000..441321d4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50631-nl_oc_msg_args_min_params.m
@@ -0,0 +1,32 @@
+static void function() {
+ [object param1:nil
+ param2:nil
+ param3:nil
+ param4:nil];
+
+ [object param1:nil param2:nil param3:nil];
+
+ [object param1:nil param2:nil];
+
+ [object param1:nil];
+
+ [object func];
+
+ [obj param1:nil param2:nil param3:[obj2 param1:nil param2:nil]];
+
+ [obj param1:nil
+ param2:[obj2 param1:nil
+ param2:nil
+ param3:nil
+ param4:nil
+ param5:nil
+ param6:nil]
+ param3:nil];
+
+ [obj param1:nil param2:[obj2 param1:nil
+ param2:nil
+ param3:nil
+ param4:nil
+ param5:nil
+ param6:nil] param3:nil];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50632-nl_oc_msg_args_max_code_width.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50632-nl_oc_msg_args_max_code_width.m
new file mode 100644
index 00000000..0ee1dae1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50632-nl_oc_msg_args_max_code_width.m
@@ -0,0 +1,21 @@
+static void function() {
+ [object param1:nil param2:nil param3:nil param4:nil];
+
+ [object param1:nil param2:nil param3:nil];
+
+ [object param1:nil param2:nil];
+
+ [object param1:nil];
+
+ [object func];
+
+ [obj param1:nil param2:nil param3:[obj2 param1:nil param2:nil]];
+
+ [obj param1:nil
+ param2:[obj2 param1:nil param2:nil param3:nil param4:nil param5:nil param6:nil]
+ param3:nil];
+
+ [obj param1:nil
+ param2:[obj2 param1:nil param2:nil param3:nil param4:nil param5:nil param6:nil]
+ param3:nil];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50633-ocpp_msg_access.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50633-ocpp_msg_access.mm
new file mode 100644
index 00000000..ee2dbe03
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50633-ocpp_msg_access.mm
@@ -0,0 +1,4 @@
+NSValue *result = [anObject
+ public:value1
+ argument:arg
+ signals:value2];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50700-cmt_insert.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50700-cmt_insert.m
new file mode 100644
index 00000000..ec94c42b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50700-cmt_insert.m
@@ -0,0 +1,95 @@
+/**
+ * @file cmt_insert.m
+ * Description
+ *
+ * $Id$
+ */
+@protocol spacingProtocol
+
+@property NSInteger spacing;
+
+@end
+
+@interface cmt_insert
+
++ (cmt_insert*) shareInstance;
+
+@property (readonly) BOOL isAvailable;
+
+@property (copy) NSArray<NSString*>* contents;
+
+- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh;
+
+@end
+
+@implementation cmt_insert
+
+/**
+ * +[cmt_insert sharedInstance]
+ *
+ * @return TODO
+ */
++ (cmt_insert*) sharedInstance {
+ return nil;
+}
+
+/**
+ * -[cmt_insert isAvailable]
+ *
+ * @return TODO
+ */
+- (BOOL) isAvailable {
+ return YES;
+}
+
+/**
+ * -[cmt_insert contents]
+ *
+ * @return TODO
+ */
+- (NSArray<NSString*>*) contents {
+ return @[];
+}
+
+/**
+ * -[cmt_insert setContents:]
+ *
+ * @param inContents TODO
+ */
+- (void) setContents:(NSArray<NSString*>*) inContents {
+}
+
+/**
+ * -[cmt_insert updateContents:andRefresh:]
+ *
+ * @param inContents TODO
+ * @param inRefresh TODO
+ */
+- (void) updateContents:(NSArray<NSString*>*) inContents andRefresh:(BOOL) inRefresh {
+}
+
+@end
+
+@interface cmt_insert_with_protocol (spacingProtocol)
+@end
+
+@implementation cmt_insert_with_protocol (spacingProtocol)
+
+/**
+ * -[cmt_insert_with_protocol(spacingProtocol) spacing]
+ *
+ * @return TODO
+ */
+- (NSInteger) spacing {
+ return 0;
+}
+
+/**
+ * -[cmt_insert_with_protocol(spacingProtocol) setSpacing:]
+ *
+ * @param inSpacing TODO
+ */
+- (void) setSpacing:(NSInteger) inSpacing {
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50701-cmt_insert2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50701-cmt_insert2.m
new file mode 100644
index 00000000..7a90cc57
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50701-cmt_insert2.m
@@ -0,0 +1,50 @@
+/**
+ * @file cmt_insert2.m
+ * Description
+ *
+ * $Id$
+ */
+NSURLResourceKey const NSURLCanonicalPathKey API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
+
+@interface foo ()
+
+@property BOOL usesStrongWriteBarrier API_DEPRECATED("Garbage collection no longer supported", macosx(10.5, 10.12), ios(2.0, 10.0), watchos(2.0, 3.0), tvos(9.0, 10.0));
+
+static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macosx(10.0, 10.12)) = NSWindowStyleMaskResizable;
+
+- (NSString*) extensionForType:(NSString*) inFileType API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
+
+@end
+
+@implementation foo
+
+/**
+ * -[foo filePromiseProvider:fileNameForType:]
+ *
+ * @param inFilePromiseProvider TODO
+ * @param inFileType TODO
+ * @return TODO
+ */
+- (NSString*) filePromiseProvider:(NSFilePromiseProvider*) inFilePromiseProvider fileNameForType:(NSString*) inFileType API_AVAILABLE(macos(10.12)) {
+}
+/**
+ * -[foo filePromiseProvider:fileNameForType:]
+ *
+ * @param inFilePromiseProvider TODO
+ * @param inFileType TODO
+ * @return TODO
+ */
+- (NSString*) filePromiseProvider:(NSFilePromiseProvider*) inFilePromiseProvider fileNameForType:(NSString*) inFileType API_DEPRECATED_WITH_REPLACEMENT(macos(10.12))
+{
+}
+/**
+ * -[foo filePromiseProvider:fileNameForType:]
+ *
+ * @param inFilePromiseProvider TODO
+ * @param inFileType TODO
+ * @return TODO
+ */
+- (NSString*) filePromiseProvider:(NSFilePromiseProvider*) inFilePromiseProvider fileNameForType:(NSString*) inFileType API_UNAVAILABLE(macos(10.12)) {
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50800-properties.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50800-properties.m
new file mode 100644
index 00000000..fa9ca930
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50800-properties.m
@@ -0,0 +1,12 @@
+#define nonnull_strong nonnull, strong
+#define myatomic nonatomic
+@interface UCTestClass ()
+
+@property (nonatomic,readonly,strong,null_unspecified) NSString* test1;
+@property (nonatomic,readonly,strong,nullable) NSString* test2;
+@property (nonatomic,readonly,strong,nonnull,getter=test2Getter) NSString* test3;
+@property (nonatomic,readonly,strong,null_resettable,getter=test2Getter,setter=test2Setter:) NSString* test4;
+@property (class,nonatomic,readonly,assign,nonnull,getter=test5Getter) NSString* test5;
+@property (class,assign,getter=test5Getter,myatomic,nonnull_strong) NSString* test6;
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50801-i1213.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50801-i1213.m
new file mode 100644
index 00000000..f47e5964
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50801-i1213.m
@@ -0,0 +1,9 @@
+int main (int argc, const char * argv[])
+{
+ switch (argc)
+ {
+ case 0 ... 1:
+ return 1;
+ }
+ return 0;
+} \ No newline at end of file
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50802-available.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50802-available.m
new file mode 100644
index 00000000..5054043a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50802-available.m
@@ -0,0 +1,12 @@
+-(void) test {
+ if (@available(macOS 10.12.2, *)) {
+ self.automaticTextCompletionEnabled = YES;
+ self.allowsCharacterPickerTouchBarItem = NO;
+ }
+
+ if (@available( macOS 10.12,*)) {
+ self.automaticTextCompletionEnabled = YES;
+ self.allowsCharacterPickerTouchBarItem = NO;
+ }
+
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50803-indent_single_newline.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50803-indent_single_newline.m
new file mode 100644
index 00000000..a70184e5
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50803-indent_single_newline.m
@@ -0,0 +1,15 @@
+
+- (BOOL)isSomethingTrue:(BOOL) something {
+
+ if (something) {
+ //Yes it's true
+
+ return YES;
+ }
+ else {
+ //No it's false
+
+ return NO;
+ }
+
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50804-issue_2629.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50804-issue_2629.m
new file mode 100644
index 00000000..6d6cbf30
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50804-issue_2629.m
@@ -0,0 +1,18 @@
+@implementation SomeClass
+- (void)someMethod {
+ enumerateItems(
+ ^(NSInteger section) {
+ });
+}
+
+- (void)someOtherMethod {
+ items.enumerateItems(
+ ^(NSInteger section, NSInteger index, id<NSObject> object, BOOL *stop) {
+ enumerator(index, object, TypeInsert);
+ },
+ nil,
+ some_param
+ );
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50805-issue_2724.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50805-issue_2724.m
new file mode 100644
index 00000000..23241732
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50805-issue_2724.m
@@ -0,0 +1,19 @@
+// OC mesg inside array/dictionary
+_sections1 = @[
+ [SectionModel resultsWithContacts:contacts]
+];
+
+_sections2 = @[
+ [[SectionModel mesg] resultsWithContacts1:contacts1],
+ [[SectionModel mesg] resultsWithContacts2:contacts2]
+];
+
+_sections3 = @[[SectionModel resultsWithContacts:contacts]];
+
+@[
+ something
+];
+
+@[
+ [something mesg]
+];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50810-bug_841.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50810-bug_841.m
new file mode 100644
index 00000000..8e8a6713
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50810-bug_841.m
@@ -0,0 +1,4 @@
+- (void)myMethod {
+ NSInteger rowCount = [sectionProvider collectionView:self.collectionView
+ numberOfRowsInSection:section];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50811-bug_1674.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50811-bug_1674.m
new file mode 100644
index 00000000..7d23b230
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50811-bug_1674.m
@@ -0,0 +1,4 @@
+- (void)test {
+ [test handleOpenURL:url
+ sourceApplication:sourceApplication]
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50812-bug_1683.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50812-bug_1683.m
new file mode 100644
index 00000000..3ee562c0
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50812-bug_1683.m
@@ -0,0 +1 @@
+[mutString addAttributes:@{ NSParagraphStyleAttributeName : style } range:range];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50813-sp_before_oc_proto_list.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50813-sp_before_oc_proto_list.m
new file mode 100644
index 00000000..65d13399
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50813-sp_before_oc_proto_list.m
@@ -0,0 +1,25 @@
+@protocol ControllerDelegate <NSObject, Controller>
+@end
+
+@protocol Controller <NSObject>
+@end
+
+@interface CollectionViewController () <DataSource> {
+}
+@end
+
+@interface CollectionViewController (Flow) <FlowDelegate> : NSObject
+{
+ NSDictionary <NSString *, NSString *> dict;
+}
+@end
+
+@interface MyClass : NSObject <Protocol_A, Protocol_B>
+
+@end
+
+@implementation ViewController
+- (void)someMethod {
+ auto const *dict = [NSMutableDictionary < NSString *, NSString * > new];
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50814-sp_before_oc_proto_list.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50814-sp_before_oc_proto_list.m
new file mode 100644
index 00000000..be1f49ed
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50814-sp_before_oc_proto_list.m
@@ -0,0 +1,25 @@
+@protocol ControllerDelegate <NSObject, Controller>
+@end
+
+@protocol Controller <NSObject>
+@end
+
+@interface CollectionViewController () <DataSource> {
+}
+@end
+
+@interface CollectionViewController (Flow) <FlowDelegate> : NSObject
+{
+ NSDictionary <NSString *, NSString *> dict;
+}
+@end
+
+@interface MyClass : NSObject <Protocol_A, Protocol_B>
+
+@end
+
+@implementation ViewController
+- (void)someMethod {
+ auto const *dict = [NSMutableDictionary < NSString *, NSString * > new];
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50815-sp_before_oc_proto_list.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50815-sp_before_oc_proto_list.m
new file mode 100644
index 00000000..1fef0cc4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50815-sp_before_oc_proto_list.m
@@ -0,0 +1,25 @@
+@protocol ControllerDelegate<NSObject, Controller>
+@end
+
+@protocol Controller<NSObject>
+@end
+
+@interface CollectionViewController ()<DataSource> {
+}
+@end
+
+@interface CollectionViewController (Flow)<FlowDelegate> : NSObject
+{
+ NSDictionary <NSString *, NSString *> dict;
+}
+@end
+
+@interface MyClass : NSObject<Protocol_A, Protocol_B>
+
+@end
+
+@implementation ViewController
+- (void)someMethod {
+ auto const *dict = [NSMutableDictionary < NSString *, NSString * > new];
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50816-issue_2675.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50816-issue_2675.m
new file mode 100644
index 00000000..ccb80f6b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50816-issue_2675.m
@@ -0,0 +1,66 @@
+@interface Example1 : NSObject
+typedef ObjectType0 X;
+typedef ObjectType1 _Nullable (^Handler1)(id<Fragment> fragment);
+typedef ObjectType2 _Nullable (^Handler2)(id<Fragment> fragment);
+@end
+
+@interface Example2 : NSObject
+typedef ObjectType1 _Nullable (^Handler1)(id<Fragment> fragment);
+typedef ObjectType2 _Nullable (^Handler2)(id<Fragment> fragment);
+@end
+
+@interface AnotherExample1 : NSObject
+SOME_MACRO_OPEN
+ - (instancetype)init;
+
+SOME_MACRO_CLOSE
+@end
+
+SOME_MACRO_OPEN
+ @interface AnotherExample2 : NSObject
+SOME_MACRO_CLOSE
+- (instancetype)init;
+
+@end
+
+@interface SomeInterface : NSObject
+
+// Some comment goes here
+@end
+
+@interface YetAnotherExample : NSObject
+
+// What about this comment
+// here
+- (instancetype)init;
+@end
+
+@interface YetOneAnotherExample : NSObject
+
+/// What about this comment
+/// here
+- (instancetype)init;
+@end
+
+@interface YetOneOtherExample : NSObject
+
+/// What about this comment
+/// here
+- (instancetype)init;
+@end
+
+
+@interface YetOneMoreExample : NSObject
+
+/* Different comment pattern */
+- (instancetype)init;
+@end
+
+
+@interface YetOneMoreOtherExample : NSObject
+
+/* Multiline
+ Comments
+ */
+- (instancetype)init;
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50817-issue_2722.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50817-issue_2722.m
new file mode 100644
index 00000000..8919895a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50817-issue_2722.m
@@ -0,0 +1,4 @@
+// Pointer inside OC message
+[*messageClass.rlock() paramName:argValue];
+[*messageClass1 paramName1:argValue1];
+[*someClass->var sendMessage:@"message"];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50900-1927.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50900-1927.m
new file mode 100644
index 00000000..3ae39e47
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50900-1927.m
@@ -0,0 +1,17 @@
+- (void) foo:(NSString*) inString
+{
+ @try {
+ } @catch(NSException* const inException)
+ {
+ }
+}
+
+- (void) bar:(NSString*) inString
+{
+ @try {
+ }
+ @catch (NSException* const inException) {
+ }
+ @finally {
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50901-Issue_2172.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50901-Issue_2172.m
new file mode 100644
index 00000000..efa73591
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50901-Issue_2172.m
@@ -0,0 +1,11 @@
+if (YES)
+{
+ NSString *sqlStr = [NSString stringWithFormat:@"INSERT INTO %@ (%@ , %@) VALUES
+ ('%@','%@')"
+ , ContactsRemark_Table
+ , ContactsRemark_FollowId
+ , ContactsRemark_MarkName
+ , followId
+ , markName
+ ];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50902-Issue_2289.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50902-Issue_2289.m
new file mode 100644
index 00000000..19fe5cdf
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50902-Issue_2289.m
@@ -0,0 +1,5 @@
++ (void)foo:(bar)block {
+ for (int i = 0; i < 5; i++) @autoreleasepool {
+ // stuff
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50903-Issue_681.oc b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50903-Issue_681.oc
new file mode 100644
index 00000000..1e71cdaa
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50903-Issue_681.oc
@@ -0,0 +1,19 @@
+int q;
+
+@interface MyClass ()
+@property (nonatomic, weak) UIView someView;
+@property (nonatomic, weak) UIView anotherView;
+
+@end
+
+@implementation MyClass
+- (void)someKindOfFunction
+{
+ some code;
+}
+- (void)anotherOfFunction
+{
+ some code;
+}
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50904-double_angle_space.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50904-double_angle_space.m
new file mode 100644
index 00000000..0e6c0c0c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50904-double_angle_space.m
@@ -0,0 +1,25 @@
+static const NSArray< id< NSObject>> **controllers = nil;
+
+NSArray< id< BlockController>> *someMethod();
+
+@interface Fraction : NSObject
+ void Compute(
+ Image< E::Matrix<SType, Dim,1>> const& src,
+ Image<E::Matrix<TType,Dim,1>>& dst);
+@end
+@implementation SomeClass
+- (void)initializeControllers:( NSArray< id< BlockController>> *)hybridContollers {
+ if (index < children.count) {
+ const unsigned int wl = w>>lvl;
+
+ assert(x<0 && y>=3);
+ assert(y <0&&z> 2);
+ assert(a>>1);
+ assert(b >>1);
+
+ return static_cast< id <CKMountable>>(children[index]);
+ }
+
+ NSArray<id< BlockController>> *controllers = hybridContollers;
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50905-double_angle_space.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50905-double_angle_space.m
new file mode 100644
index 00000000..9636a38e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50905-double_angle_space.m
@@ -0,0 +1,25 @@
+static const NSArray< id< NSObject> > **controllers = nil;
+
+NSArray< id< BlockController> > *someMethod();
+
+@interface Fraction : NSObject
+ void Compute(
+ Image< E::Matrix<SType, Dim,1> > const& src,
+ Image<E::Matrix<TType,Dim,1> >& dst);
+@end
+@implementation SomeClass
+- (void)initializeControllers:( NSArray< id< BlockController> > *)hybridContollers {
+ if (index < children.count) {
+ const unsigned int wl = w>>lvl;
+
+ assert(x<0 && y>=3);
+ assert(y <0&&z> 2);
+ assert(a>>1);
+ assert(b >>1);
+
+ return static_cast< id <CKMountable> >(children[index]);
+ }
+
+ NSArray<id< BlockController> > *controllers = hybridContollers;
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50906-double_angle_space.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50906-double_angle_space.m
new file mode 100644
index 00000000..5c16c25f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50906-double_angle_space.m
@@ -0,0 +1,25 @@
+static const NSArray< id< NSObject> > **controllers = nil;
+
+NSArray< id< BlockController> > *someMethod();
+
+@interface Fraction : NSObject
+ void Compute(
+ Image< E::Matrix<SType, Dim,1> > const& src,
+ Image<E::Matrix<TType,Dim,1> >& dst);
+@end
+@implementation SomeClass
+- (void)initializeControllers:( NSArray< id< BlockController> > *)hybridContollers {
+ if (index < children.count) {
+ const unsigned int wl = w>>lvl;
+
+ assert(x<0 && y>=3);
+ assert(y <0&&z> 2);
+ assert(a>>1);
+ assert(b >>1);
+
+ return static_cast< id <CKMountable>>(children[index]);
+ }
+
+ NSArray<id< BlockController> > *controllers = hybridContollers;
+}
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50907-align_colon_with_ternary_1.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50907-align_colon_with_ternary_1.m
new file mode 100644
index 00000000..2b5f1ef8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50907-align_colon_with_ternary_1.m
@@ -0,0 +1,48 @@
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2
+ test2:YES];
+}
+
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2
+ test2:YES
+ test3:YES];
+}
+
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
+
+static void func() {
+ [object test:NO ? PARAM1 : YES
+ ? nil:nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
+
+// Note: This is an extreme case and in the future we may add rules that update this formatting
+static void func() {
+ NSString *s = YES ? [object test:NO ? PARAM1 : YES
+ ? nil:nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO] : [object test:NO ? PARAM1 : YES
+ ? nil:nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
+
+static void func() {
+ NSString *s = YES ? [object test:NO ? PARAM1 : YES ? nil : nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO] : [object test:NO ? PARAM1 : YES ? nil : nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50908-align_colon_with_ternary_2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50908-align_colon_with_ternary_2.m
new file mode 100644
index 00000000..bfca2a80
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50908-align_colon_with_ternary_2.m
@@ -0,0 +1,31 @@
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2 test2:YES];
+}
+
+
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2
+ test2:YES
+ test3:YES];
+}
+
+static void func() {
+ [object test:NO ? PARAM1 : PARAM2
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
+
+static void func() {
+ [object test:NO ? PARAM1 : YES ? nil:nil
+ test2:YES
+ test3:YES ? PARAM1 : PARAM2
+ test4:NO];
+}
+
+static void func() {
+ NSString *s = YES ? [object test:nil
+ test2:YES
+ test3:nil
+ test4:NO] : nil;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50909-3766.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50909-3766.m
new file mode 100644
index 00000000..36b83473
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50909-3766.m
@@ -0,0 +1,15 @@
+void test(NSString *param1, void (^_Nullable completionBlock)(int));
+
+void test(NSString *param1, void (^_Nullable completionBlock)(int));
+
+void test(void (^_Nullable completionBlock)(int), NSString *param1);
+
+void test(void (^_Nullable completionBlock)(int), NSString *param1, void (^_Nullable completionBlock)(int));
+
+void test(
+ void (^_Nullable completionBlock)(int),
+ NSString *param1,
+ void (^_Nullable completionBlock)(int)
+ );
+
+void test(NSString *param1, void (^_Nullable completionBlock)(NSString *, NSString *, void (^_Nullable completionBlock2)(int)));
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50910-3767.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50910-3767.mm
new file mode 100644
index 00000000..a7cbb954
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50910-3767.mm
@@ -0,0 +1,7 @@
+const auto test = [=](NSString *param) {};
+const auto test = [&](NSString *param) {};
+const auto test = [](NSString *param) {};
+func([=](NSString *param) {});
+func([&](NSString *param) {});
+func([](NSString *param) {});
+func(param1, [=](NSString *param) {});
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50911-3811.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50911-3811.mm
new file mode 100644
index 00000000..4510b8c2
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50911-3811.mm
@@ -0,0 +1,6 @@
+int main()
+{
+ test([](enum TestEnum lhs) {
+ return lhs.first < rhs;
+ });
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50912-3812.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50912-3812.m
new file mode 100644
index 00000000..acea28c0
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50912-3812.m
@@ -0,0 +1,8 @@
+- (int)test
+{
+ [obj method:[obj2 method2:@{}]];
+ switch (var) {
+ case one: return 3;
+ }
+ return 0;
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50913-3813.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50913-3813.m
new file mode 100644
index 00000000..37e9239f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50913-3813.m
@@ -0,0 +1,20 @@
+- (void)func {
+ func2(^{
+ switch (type) {
+ case one:
+ break;
+ default:
+ break;
+ }
+ });
+}
+
+- (void)func {
+ func2(^{
+ if(YES) {
+ switch (type) {
+ case one: break;
+ }
+ }
+ });
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50914-3819.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50914-3819.m
new file mode 100644
index 00000000..2a34b1c3
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50914-3819.m
@@ -0,0 +1 @@
+#if __has_include(<UIKit/UIImage.h>)
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50915-3822.h b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50915-3822.h
new file mode 100644
index 00000000..e0f113e1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50915-3822.h
@@ -0,0 +1,5 @@
+@interface FooInterface : UIViewController
+
+@property (nonatomic, readwrite, weak) id<FooProtocol> delegate;
+
+@end
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50916-3823.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50916-3823.m
new file mode 100644
index 00000000..9c110935
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/50916-3823.m
@@ -0,0 +1,6 @@
+void (^(^complexBlock)(void (^)(void)))(void) = ^(void (^aBlock)(void)) {
+ NSLog(@"Good");
+ return ^{
+ NSLog(@"Nice");
+ };
+};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51000-sp_cond_ternary_short.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51000-sp_cond_ternary_short.m
new file mode 100644
index 00000000..6c1ce050
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51000-sp_cond_ternary_short.m
@@ -0,0 +1 @@
+NSString *str = (otherString ?: @"this is the placeholder");
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51001-ns_enum-i.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51001-ns_enum-i.m
new file mode 100644
index 00000000..e5caad06
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51001-ns_enum-i.m
@@ -0,0 +1,2 @@
+typedef NS_ENUM (NSUInteger, MyEnum) {MyValue1, MyValue2, MyValue3};
+typedef NS_OPTIONS(NSUInteger, MyBitmask) {MyBit1, MyBit2, MyBit3};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51002-sp_oc_catch.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51002-sp_oc_catch.m
new file mode 100644
index 00000000..391b8df8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51002-sp_oc_catch.m
@@ -0,0 +1,18 @@
+
+- (void) foo:(NSString*) inString
+{
+ @try {
+ }
+ @catch (NSException* const inException) {
+ }
+}
+
+- (void) bar:(NSString*) inString
+{
+ @try {
+ }
+ @catch (NSException* const inException) {
+ }
+ @finally{
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51003-sp_oc_catch.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51003-sp_oc_catch.m
new file mode 100644
index 00000000..c214c848
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51003-sp_oc_catch.m
@@ -0,0 +1,18 @@
+
+- (void) foo:(NSString*) inString
+{
+ @try {
+ }
+ @catch(NSException* const inException) {
+ }
+}
+
+- (void) bar:(NSString*) inString
+{
+ @try {
+ }
+ @catch(NSException* const inException) {
+ }
+ @finally{
+ }
+}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51004-block_pointer.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51004-block_pointer.m
new file mode 100644
index 00000000..ab51e3d2
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/51004-block_pointer.m
@@ -0,0 +1,16 @@
+__block __weak void (^ weak_recurseTreeNodes)(int a);
+void (^ strong_recurseTreeNodes)(int a) = ^(int a) {
+};
+
+the result file:
+Foo^ foo = dynamic_cast<Bar^>(bar);
+Foo* foo = dynamic_cast<Bar*>(bar);
+x = a ^ b;
+int main(Platform::Array<Platform::String^>^ /*args*/)
+{
+}
+
+void (*fun_ptr)(int) = &fun;
+
+typedef void (*foo)(void);
+void (*foo)(void);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/60011-UNI-11095.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/60011-UNI-11095.mm
new file mode 100644
index 00000000..4f88df51
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/oc/60011-UNI-11095.mm
@@ -0,0 +1,15 @@
+// Create oneliners
+
+extern "C" NSBundle* UnityGetMetalBundle() { return _MetalBundle; }
+extern "C" MTLDeviceRef UnityGetMetalDevice() { return _MetalDevice; }
+extern "C" MTLCommandQueueRef UnityGetMetalCommandQueue() { return ((UnityDisplaySurfaceMTL*)GetMainDisplaySurface())->commandQueue; }
+
+extern "C" EAGLContext* UnityGetDataContextEAGL() { return _GlesContext; }
+
+// Keep oneliners
+
+extern "C" NSBundle* UnityGetMetalBundle() { return _MetalBundle; }
+extern "C" MTLDeviceRef UnityGetMetalDevice() { return _MetalDevice; }
+extern "C" MTLCommandQueueRef UnityGetMetalCommandQueue() { return ((UnityDisplaySurfaceMTL*)GetMainDisplaySurface())->commandQueue; }
+
+extern "C" EAGLContext* UnityGetDataContextEAGL() { return _GlesContext; }