This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IOC-227.xml
85 lines (80 loc) · 2.33 KB
/
IOC-227.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="utf-8"?>
<issues>
<issue>
<field name="Priority">
<value>Major</value>
</field>
<field name="Type">
<value>Bug</value>
</field>
<field name="State">
<value>Fixed</value>
</field>
<field name="Assignee" />
<field name="Subsystem">
<value>Registration API</value>
</field>
<field name="Fix versions">
<value>2.5.2</value>
</field>
<field name="Affected versions">
<value>2.5.1</value>
</field>
<field name="Fixed in build" />
<field name="numberInProject">
<value>227</value>
</field>
<field name="summary">
<value>ResolveAll fails for generic forwarded registrations</value>
</field>
<field name="description">
<value>{code lang=java}
[Test]
public void ResolveAll_ForwardedHandlerForGenericType_Resolves()
{
var container = new WindsorContainer();
container.Register(Component.For<IOtherService, IGenericTest<object>>().ImplementedBy<GenericTest>());
var services = container.ResolveAll<IGenericTest<object>>();
Expect(services.Any(s => s is GenericTest));
}
private interface IGenericTest<T>
{
}
private interface IOtherService
{
}
public class GenericTest : IOtherService, IGenericTest<object>
{
}
{code}</value>
</field>
<field name="created">
<value>1286750294805</value>
</field>
<field name="updated">
<value>1287298153727</value>
</field>
<field name="reporterName">
<value>Wes.McClure</value>
</field>
<field name="updaterName">
<value>xtoff</value>
</field>
<field name="resolved">
<value>1286753324649</value>
</field>
<field name="voterName">
<value>jsimons</value>
</field>
<field name="watcherName">
<value>User: id = 20-18[up-to-date]</value>
<value>User: id = 20-174[up-to-date]</value>
</field>
<field name="permittedGroup">
<value>All Users</value>
</field>
<comment author="xtoff" text="This affects not only forwarding handlers but also handlers from parent kernel" created="1286753430274" />
<comment author="Wes.McClure" text="http://github.com/castleproject/Castle.InversionOfControl/pull/2" created="1286757116118" />
<comment author="xtoff" text="pulled, thanks" created="1287058726024" />
</issue>
</issues>