Commit graph

4,472 commits

Author SHA1 Message Date
Christophe Duvernois
b4efa7b16e #526 : propagate c++11 noexcept to director classes test case 2017-04-27 23:35:55 +02:00
William S Fulton
db11e82896 Makefile cosmetics 2017-04-24 20:45:01 +01:00
William S Fulton
32855cfb69 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
2017-04-24 20:44:12 +01:00
William S Fulton
ee44f9ba67 Merge branch 'tamuratak-fix_ruby_null_shared_ptr'
* tamuratak-fix_ruby_null_shared_ptr:
  [ruby] add a test.
  [ruby] use std::vector::back() method.
  [ruby] enable a test for null shared_ptr in containers.
  [ruby] add a test for null shared_ptr in containers.
  [ruby] treat null shared_ptr in std containers properly.

Conflicts:
	Examples/test-suite/ruby/Makefile.in
2017-04-24 19:50:59 +01:00
Takashi Tamura
70740c51d0 [ruby] add simple tests for std unordered containers. 2017-04-22 16:36:09 +09:00
William S Fulton
093cf8d60f Rename shared_ptr testcase 2017-04-21 19:28:08 +01:00
Takashi Tamura
31459d0cc0 [ruby] use boost/shared_ptr and boost_shared_ptr.i. not use auto. 2017-04-21 22:56:13 +09:00
Takashi Tamura
0020fc97b0 [ruby] add %typemap(directorin) for shared_ptr. 2017-04-20 19:20:55 +09:00
Takashi Tamura
0f94b936e8 [ruby] enable a test, cpp11_shared_ptr_director. 2017-04-20 19:20:54 +09:00
Takashi Tamura
17b4e0c66e [ruby] add %typemap(directorin) and %typemap(directorout) for shared_ptr. 2017-04-20 19:20:11 +09:00
Takashi Tamura
b3c2b1c51c [ruby] add %typemap(directorout) for shared_ptr. 2017-04-20 19:20:11 +09:00
Takashi Tamura
1c968b3695 add a test for shared_ptr with director 2017-04-20 19:20:11 +09:00
Takashi Tamura
34ba3b9ed9 [ruby] add a test. 2017-04-20 18:56:02 +09:00
Takashi Tamura
cc4e3aec52 [ruby] use std::vector::back() method. 2017-04-20 18:56:02 +09:00
Takashi Tamura
042d8289fd [ruby] enable a test for null shared_ptr in containers. 2017-04-20 18:56:02 +09:00
Takashi Tamura
0c3298073b [ruby] add a test for null shared_ptr in containers. 2017-04-20 18:56:02 +09:00
William S Fulton
6398614c92 Update ruby tests for change in swig_assert_equal_simple name 2017-04-20 07:57:48 +01:00
William S Fulton
c9d094e034 Merge branch 'tamuratak-shared_ptr_derived_2'
* tamuratak-shared_ptr_derived_2:
  Correct comment about const removal for shared_ptr
  Correct ordering of declarations in testcase
  Ruby shared_ptr on error code improvement in traits_as::as
  Add support for pointers to shared_ptr and null shared_ptr in Ruby containers
  Add shared_ptr non-overloaded upcast tests
  use forward declaration to treat the dependency of fragments
  [ruby] must not do a null check for VALUE.
  [ruby] add tests for shared_ptr of const Type.
  [ruby] For swig::from, use template specialization to convert shared_ptr<const T> to shared_ptr<T>.
  [ruby] edit comments [skip ci]
  [ruby] move template specialization to std_shared_ptr.i.
  [ruby] add tests for upcasting std::shared_ptr within std containers.
  [ruby] use template specialization for swig::asptr,asval functions on std:shared_ptr.
2017-04-20 07:50:20 +01:00
William S Fulton
7a343a196b Correct ordering of declarations in testcase 2017-04-20 07:33:15 +01:00
William S Fulton
83a389d3fb Add support for pointers to shared_ptr and null shared_ptr in Ruby containers
Upcasting of pointers to shared_ptr would need some more fundamental
changes, but not done yet ... pointers to shared_ptr are not common.
2017-04-13 06:59:56 +01:00
William S Fulton
bd233408e8 Add shared_ptr non-overloaded upcast tests 2017-04-07 07:34:58 +01:00
William S Fulton
ceea1d9905 Merge branch 'tamuratak-ruby_simple_assertion'
* tamuratak-ruby_simple_assertion:
  Rename new Ruby assert functions used in test-suite
  [ruby] add simple assertions.
2017-03-31 07:32:28 +01:00
William S Fulton
d56c8ef9ff Rename new Ruby assert functions used in test-suite 2017-03-31 07:32:04 +01:00
Takashi Tamura
b32854bc59 use forward declaration to treat the dependency of fragments 2017-03-29 19:11:44 +09:00
Takashi Tamura
377d439964 Merge remote-tracking branch 'origin/shared_ptr_const_conv' into shared_ptr_derived_2 2017-03-29 18:16:01 +09:00
William S Fulton
382b3f0f8c Merge branch 'tamuratak-fix_typo_ruby_unordered_map'
* tamuratak-fix_typo_ruby_unordered_map:
  [ruby] add a test to make sure that std::multiset is including Enumerable.
  [ruyb] enable std::list test for Ruby.
  [ruby] make std::list include Enumerable.
  [ruby] make std::multiset and std::unordered_multiset include Enumerable. tests added.
  [ruby] make std::unordered_map include Enumerable.
2017-03-29 08:56:25 +01:00
William S Fulton
3797eaac89 Merge branch 'tamuratak-fix_ruby_bool'
* tamuratak-fix_ruby_bool:
  [ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object.
2017-03-24 20:06:03 +00:00
William S Fulton
c40131d321 Setup list of failing Ocaml tests
This makes the test-suite show as passed for the remaining tests
2017-03-23 19:11:20 +00:00
Olly Betts
2c910e47ae Correct <string> back to <string.h>
Erroneously changed in 760c008311.
2017-03-22 15:37:04 +13:00
William S Fulton
cf1fb6ca16 Fixes for make partialcheck-ocaml-test-suite 2017-03-20 19:30:46 +00:00
William S Fulton
a4393e2103 Remove unnecessary file check in Ocaml Makefile
First of two fixes for 'make partialcheck-ocaml-test-suite'
2017-03-20 19:30:10 +00:00
William S Fulton
5104c40d9a Ocaml Makefile cosmetic style fixes 2017-03-20 19:28:53 +00:00
William S Fulton
8aa066a1b5 Fix Makefile not erroring 2017-03-20 18:47:31 +00:00
William S Fulton
dcc5911839 Fix handling of typedef'd function pointers for Go
Add equivalent runtime tests for Python and Java
2017-03-17 07:49:21 +00:00
William S Fulton
72ba741d1c Fix wrapping of references/pointers and qualifiers to member pointers
Also fix Go wrapping of member const function pointers.
2017-03-16 21:04:38 +00:00
William S Fulton
cf7d53599c Remove problematic member function pointer tests from Go
Go module needs fixing
2017-03-11 15:05:16 +00:00
William S Fulton
858acf69e4 Add missing function bodies to testcase 2017-03-11 12:43:54 +00:00
William S Fulton
73a5d6c187 Fix testcase 2017-03-11 10:01:11 +00:00
William S Fulton
f9fbaa5cb8 Another C++11 alternate function syntax test 2017-03-10 23:48:32 +00:00
William S Fulton
b851e45e0a Fix seg fault for global declarations declared erroneously without a name 2017-03-10 23:25:31 +00:00
William S Fulton
4f235027f4 Improved member function pointer parsing
Add support for parsing member function pointers with qualifiers,
references and pointers, eg

short (Funcs::* const parm)(bool)
2017-03-10 23:25:31 +00:00
William S Fulton
8e86aaf2c3 Add one more alternate function test
Checking member function pointer parameters
2017-03-10 23:25:31 +00:00
William S Fulton
0ccef1424a C++11 alternate syntax for function declarations improvements
Functions can now be declared const/noexcept/final etc
2017-03-10 23:25:31 +00:00
William S Fulton
2a5068bcf2 Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
fc638814ae Add support for unnamed parameters: member const function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
5aff26fcb5 Add support for parsing and wrapping member const function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
67edda3bf5 Remove unused cvsignore target 2017-03-10 23:25:31 +00:00
Takashi Tamura
d0af6fd97d [ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object. 2017-03-06 15:13:05 +09:00
Takashi Tamura
b91e03d39a [ruby] add tests for shared_ptr of const Type. 2017-03-03 16:58:51 +09:00
Takashi Tamura
f96c2ad73d [ruby] For swig::from, use template specialization to convert shared_ptr<const T> to shared_ptr<T>. 2017-03-03 12:50:23 +09:00