Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/package.devc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DEVC>
<CTEXT>abap string map</CTEXT>
<CTEXT>ABAP String Map</CTEXT>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmmm ...

</DEVC>
</asx:values>
</asx:abap>
Expand Down
20 changes: 15 additions & 5 deletions src/zcl_abap_string_map.clas.testclasses.abap
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,21 @@ class ltcl_string_map implementation.
exp = 'bvalue'
act = lo_cut->get( 'b' ) ).

cl_abap_unit_assert=>assert_true( lo_cut->has( 'A' ) ).
cl_abap_unit_assert=>assert_true( lo_cut->has( 'a' ) ).
cl_abap_unit_assert=>assert_true( lo_cut->has( 'B' ) ).
cl_abap_unit_assert=>assert_true( lo_cut->has( 'b' ) ).
cl_abap_unit_assert=>assert_false( lo_cut->has( 'c' ) ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lo_cut->has( 'A' ) ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lo_cut->has( 'a' ) ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lo_cut->has( 'B' ) ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lo_cut->has( 'b' ) ).
cl_abap_unit_assert=>assert_equals(
exp = abap_false
act = lo_cut->has( 'c' ) ).

append 'A' to lt_exp_keys.
append 'B' to lt_exp_keys.
Expand Down