Merge branch 'tamuratak-fix_ruby_unordered_set'
* tamuratak-fix_ruby_unordered_set: [ruby] add simple tests for std unordered containers. [ruby] clarify dependency of fragments for unordered_set containers. Conflicts: Examples/test-suite/ruby/Makefile.in
This commit is contained in:
commit
32855cfb69
7 changed files with 28 additions and 2 deletions
5
Examples/test-suite/cpp11_std_unordered_map.i
Normal file
5
Examples/test-suite/cpp11_std_unordered_map.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module cpp11_std_unordered_map
|
||||
|
||||
%include <std_unordered_map.i>
|
||||
|
||||
%template(UnorderedMapIntInt) std::unordered_map<int, int>;
|
||||
7
Examples/test-suite/cpp11_std_unordered_multimap.i
Normal file
7
Examples/test-suite/cpp11_std_unordered_multimap.i
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
%module cpp11_std_unordered_multimap
|
||||
|
||||
%include <std_pair.i>
|
||||
%include <std_unordered_multimap.i>
|
||||
|
||||
%template(PairIntInt) std::pair<int,int>;
|
||||
%template(UnorderedMultiMapIntInt) std::unordered_multimap<int, int>;
|
||||
5
Examples/test-suite/cpp11_std_unordered_multiset.i
Normal file
5
Examples/test-suite/cpp11_std_unordered_multiset.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module cpp11_std_unordered_multiset
|
||||
|
||||
%include <std_unordered_multiset.i>
|
||||
|
||||
%template(UnorderedMultiSetInt) std::unordered_multiset<int>;
|
||||
5
Examples/test-suite/cpp11_std_unordered_set.i
Normal file
5
Examples/test-suite/cpp11_std_unordered_set.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module cpp11_std_unordered_set
|
||||
|
||||
%include <std_unordered_set.i>
|
||||
|
||||
%template(UnorderedSetInt) std::unordered_set<int>;
|
||||
|
|
@ -36,6 +36,10 @@ CPP11_TEST_CASES = \
|
|||
cpp11_shared_ptr_const \
|
||||
cpp11_shared_ptr_nullptr_in_containers \
|
||||
cpp11_shared_ptr_upcast \
|
||||
cpp11_std_unordered_map \
|
||||
cpp11_std_unordered_multimap \
|
||||
cpp11_std_unordered_multiset \
|
||||
cpp11_std_unordered_set \
|
||||
|
||||
C_TEST_CASES += \
|
||||
li_cstring \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue