Skip to content

Commit

Permalink
fix attribute names
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Apr 29, 2010
1 parent b2c6281 commit 5917ed0
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions Runtime/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,54 +60,54 @@ internal BindingEventAttribute(BindingEvent bindingEvent, string[] tags)
}
}

public class BeforeTestRun : BindingEventAttribute
public class BeforeTestRunAttribute : BindingEventAttribute
{
public BeforeTestRun() : base(BindingEvent.TestRunStart, null) {}
public BeforeTestRunAttribute() : base(BindingEvent.TestRunStart, null) {}
}

public class AfterTestRun : BindingEventAttribute
public class AfterTestRunAttribute : BindingEventAttribute
{
public AfterTestRun() : base(BindingEvent.TestRunEnd, null) { }
public AfterTestRunAttribute() : base(BindingEvent.TestRunEnd, null) { }
}

public class BeforeFeature : BindingEventAttribute
public class BeforeFeatureAttribute : BindingEventAttribute
{
public BeforeFeature(params string[] tags) : base(BindingEvent.FeatureStart, tags) { }
public BeforeFeatureAttribute(params string[] tags) : base(BindingEvent.FeatureStart, tags) { }
}

public class AfterFeature : BindingEventAttribute
public class AfterFeatureAttribute : BindingEventAttribute
{
public AfterFeature(params string[] tags) : base(BindingEvent.FeatureEnd, tags) { }
public AfterFeatureAttribute(params string[] tags) : base(BindingEvent.FeatureEnd, tags) { }
}

public class BeforeScenario : BindingEventAttribute
public class BeforeScenarioAttribute : BindingEventAttribute
{
public BeforeScenario(params string[] tags) : base(BindingEvent.ScenarioStart, tags) { }
public BeforeScenarioAttribute(params string[] tags) : base(BindingEvent.ScenarioStart, tags) { }
}

public class AfterScenario : BindingEventAttribute
public class AfterScenarioAttribute : BindingEventAttribute
{
public AfterScenario(params string[] tags) : base(BindingEvent.ScenarioEnd, tags) { }
public AfterScenarioAttribute(params string[] tags) : base(BindingEvent.ScenarioEnd, tags) { }
}

public class BeforeScenarioBlock : BindingEventAttribute
public class BeforeScenarioBlockAttribute : BindingEventAttribute
{
public BeforeScenarioBlock(params string[] tags) : base(BindingEvent.BlockStart, tags) { }
public BeforeScenarioBlockAttribute(params string[] tags) : base(BindingEvent.BlockStart, tags) { }
}

public class AfterScenarioBlock : BindingEventAttribute
public class AfterScenarioBlockAttribute : BindingEventAttribute
{
public AfterScenarioBlock(params string[] tags) : base(BindingEvent.BlockEnd, tags) { }
public AfterScenarioBlockAttribute(params string[] tags) : base(BindingEvent.BlockEnd, tags) { }
}

public class BeforeStep : BindingEventAttribute
public class BeforeStepAttribute : BindingEventAttribute
{
public BeforeStep(params string[] tags) : base(BindingEvent.StepStart, tags) { }
public BeforeStepAttribute(params string[] tags) : base(BindingEvent.StepStart, tags) { }
}

public class AfterStep : BindingEventAttribute
public class AfterStepAttribute : BindingEventAttribute
{
public AfterStep(params string[] tags) : base(BindingEvent.StepEnd, tags) { }
public AfterStepAttribute(params string[] tags) : base(BindingEvent.StepEnd, tags) { }
}

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
Expand Down

0 comments on commit 5917ed0

Please sign in to comment.