Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pamidur committed Jun 16, 2019
1 parent 7293af9 commit 7c0f773
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public void Propagation_Options_Correctly_Processed()
{
_testTarget.Method();
_testTarget.Event += (s, e) => { };
_testTarget.Ev2ent += (s, e) => { };
_testTarget.Property = "";
}

Expand All @@ -27,11 +28,12 @@ public void Propagation_Options_Correctly_Processed()
public class TestClass
{
public event EventHandler Event;
public event EventHandler Ev2ent;
public string Property { get; set; }
public void Method() { }
}

[Injection(typeof(SuccessAspect), Propagation = PropagateTo.Events)]
[Injection(typeof(SuccessAspect), Propagation = PropagateTo.Events, PropagationFilter = "Event")]
public class EventTrigger : Attribute { }

[Injection(typeof(SuccessAspect), Propagation = PropagateTo.Properties)]
Expand Down

0 comments on commit 7c0f773

Please sign in to comment.