/IronPython_Main/Languages/Ruby/Tests/Interop/net/delegate/instantiation/val_spec.rb
Ruby | 27 lines | 20 code | 7 blank | 0 comment | 0 complexity | eecdfa3f4a8b37c6159bbbb0acdc1c53 MD5 | raw file
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
- require File.dirname(__FILE__) + '/../../spec_helper'
- require File.dirname(__FILE__) + '/../shared/instantiation'
-
- describe "Value Void delegate instantiation" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValVoidDelegate
- end
-
- describe "Value Reference delegate" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValRefDelegate
- end
-
- describe "Value Value delegate" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValValDelegate
- end
-
- describe "Value Reference array delegate" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValARefDelegate
- end
-
- describe "Value Value array delegate" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValAValDelegate
- end
-
- describe "Value Generic delegate" do
- it_behaves_like :delegate_instantiation, DelegateHolder::ValGenericDelegate.of(Object)
- end
-