swig/Examples/test-suite/d
William S Fulton 32a3e5b464 R: Honour %rename of enum items in the generated R code
R::enumvalueDeclaration built the enum item label passed to
defineEnumeration from the C++ name rather than sym:name, so %rename of an
enum item was not honoured in the generated R code. Use sym:name for the
label.

Add test coverage for %rename of an enum class and an enum item to the
cpp11_strongly_typed_enumerations runme of every target language that has
one, locking in the behaviour for the languages that were already correct.
The enum_thorough R runme now checks the renamed enum item too.

Assisted-by: Claude Code (Opus 4.8)
2026-07-15 00:24:05 +01:00
..
Makefile.in shared_ptr tests cleanup 2026-03-26 08:37:18 +00:00
README [D] Update docs for D1 removal 2023-05-04 13:18:10 +12:00
aggregate_runme.2.d
allprotected_runme.2.d Fix directors and allprotected mode and using declarations. 2023-06-24 12:29:59 +01:00
apply_strings_runme.2.d
argcargvtest_runme.2.d argcargv.i: NULL terminate argv with empty input 2023-05-23 10:12:49 +12:00
bools_runme.2.d
catches_runme.2.d
catches_strings_runme.2.d std::string throws typemaps 2022-09-19 09:09:29 +01:00
char_binary_rev_len_runme.2.d Add typecheck. 2025-08-11 08:28:02 +01:00
char_binary_runme.2.d Fix D language multi-argument typemaps for LENGTH STRING typemaps (#3234) 2025-08-01 07:51:55 +01:00
char_strings_runme.2.d Add char *& string typemaps to all languages and char_strings runme parity 2026-07-09 21:55:58 +01:00
constover_runme.2.d
cpp11_move_typemaps_runme.2.d Add missing use of move constructor 2024-03-06 21:46:58 +00:00
cpp11_rvalue_reference_move_runme.2.d rvalue reference outputs 2022-09-08 08:46:32 +01:00
cpp11_std_function_runme.2.d Remove need for additional %rename for std::function 2026-05-03 19:00:24 +01:00
cpp11_std_unique_ptr_runme.2.d Add const std::unique_ptr & input typemaps 2024-03-06 21:46:58 +00:00
cpp11_strongly_typed_enumerations_runme.2.d R: Honour %rename of enum items in the generated R code 2026-07-15 00:24:05 +01:00
d_nativepointers_runme.2.d [D] Correctly annotate function pointers with C linkage. 2012-01-23 21:59:00 +00:00
default_args_runme.2.d
default_constructor_runme.2.d Don't generate constructor wrappers if a base class has a private constructor 2015-07-07 20:15:55 +01:00
director_alternating_runme.2.d
director_basic_runme.2.d
director_binary_string_rev_len_runme.2.d Fix D language multi-argument typemaps for LENGTH STRING typemaps (#3234) 2025-08-01 07:51:55 +01:00
director_binary_string_runme.2.d Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
director_classes_runme.2.d Fix director_classes testcase failures on x86 2023-11-19 21:45:30 +13:00
director_classic_runme.2.d
director_ignore_runme.2.d [D] Fix to support recent D releases 2023-05-20 15:22:12 +12:00
director_minimal_runme.2.d Add a minimal director test (#3346) 2026-02-24 08:58:50 +00:00
director_primitives_runme.2.d
director_protected_runme.2.d Fix protected/private nested class referenced in generated upcast helper 2026-07-11 21:02:49 +01:00
director_string_runme.2.d
enum_thorough_runme.2.d Straighten out handling of integer constants 2024-09-16 16:10:02 +12:00
inherit_target_language_runme.2.d
li_attribute_runme.2.d
li_boost_shared_ptr_bits_runme.2.d
li_boost_shared_ptr_director_runme.2.d Add director shared_ptr typemaps for D 2017-10-17 22:47:16 +01:00
li_boost_shared_ptr_runme.2.d [D] Fix to support recent D releases 2023-05-20 15:22:12 +12:00
li_cdata_bytes_cpp_runme.2.d cdata.i changes and new test li_cdata_bytes 2026-05-25 13:16:09 +01:00
li_cdata_bytes_runme.2.d cdata.i changes and new test li_cdata_bytes 2026-05-25 13:16:09 +01:00
li_cdata_cpp_runme.2.d Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
li_cdata_runme.2.d Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
li_constraints_runme.2.d Add li_constraints test for D Language. 2023-05-20 16:17:00 +12:00
li_std_auto_ptr_runme.2.d Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
li_std_except_runme.2.d
li_std_string_runme.2.d Expand li_std_string_runme.* 2023-05-12 16:05:48 +12:00
li_std_vector_runme.2.d Fix typos 2021-11-17 07:07:02 +02:00
li_typemaps_runme.2.d
long_long_runme.2.d
member_pointer_runme.2.d
nspace_extend_runme.2.d [D] nspace support. 2011-03-13 00:32:26 +00:00
nspace_runme.2.d [D] nspace support. 2011-03-13 00:32:26 +00:00
nspacemove_nested_runme.2.d [D] Fix deprecation warnings in nspacemove runme tests 2026-06-17 01:46:42 +01:00
nspacemove_runme.2.d Enhance %nspace with %nspacemove for moving symbols into a different target language namespace 2024-06-01 08:02:49 +01:00
nspacemove_stl_runme.2.d [D] Fix deprecation warnings in nspacemove runme tests 2026-06-17 01:46:42 +01:00
operator_overload_runme.2.d Fix typos 2014-04-29 11:31:29 +12:00
overload_complicated_runme.2.d
overload_template_runme.2.d
pointer_reference_runme.2.d
preproc_constants_c_runme.2.d Update preproc_constants* testcases 2023-05-25 12:47:18 +12:00
preproc_constants_runme.2.d Update preproc_constants* testcases 2023-05-25 12:47:18 +12:00
proxycode_runme.2.d Add %proxycode directive for adding code into proxy classes for C#, D and Java 2017-01-13 20:43:50 +00:00
sizet_runme.2.d
sneaky1_runme.2.d
special_variable_macros_runme.2.d Add support for $n special variable expansion in the names of typemap local variables 2025-02-19 20:44:40 +00:00
threads_runme.2.d
throw_exception_runme.2.d
typemap_namespace_runme.2.d
typemap_out_optimal_runme.2.d Movable and move-only types supported in "out" typemaps. 2022-06-30 17:26:48 +01:00
varargs_runme.2.d
virtual_poly_runme.2.d

README

D language module testsuite
---------------------------

Please see ../README for the common readme file.