PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 1require File.dirname(__FILE__) + '/../../spec_helper'
 2require File.dirname(__FILE__) + '/../shared/instantiation'
 3
 4describe "Value Void delegate instantiation" do
 5  it_behaves_like :delegate_instantiation, DelegateHolder::ValVoidDelegate  
 6end
 7
 8describe "Value Reference delegate" do
 9  it_behaves_like :delegate_instantiation, DelegateHolder::ValRefDelegate
10end
11
12describe "Value Value delegate" do
13  it_behaves_like :delegate_instantiation, DelegateHolder::ValValDelegate
14end
15
16describe "Value Reference array delegate" do
17  it_behaves_like :delegate_instantiation, DelegateHolder::ValARefDelegate
18end
19
20describe "Value Value array delegate" do
21  it_behaves_like :delegate_instantiation, DelegateHolder::ValAValDelegate
22end
23
24describe "Value Generic delegate" do
25  it_behaves_like :delegate_instantiation, DelegateHolder::ValGenericDelegate.of(Object)
26end
27