Index: test/DeltaShell/DeltaShell.Tests/TestObjects/TestActivityRunner.cs =================================================================== diff -u -r18f9b18cab9da0c768badb3084415e993a5414ee -r5fc71a385897af92ccb092f2f969b5709afab85a --- test/DeltaShell/DeltaShell.Tests/TestObjects/TestActivityRunner.cs (.../TestActivityRunner.cs) (revision 18f9b18cab9da0c768badb3084415e993a5414ee) +++ test/DeltaShell/DeltaShell.Tests/TestObjects/TestActivityRunner.cs (.../TestActivityRunner.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -4,29 +4,53 @@ namespace DeltaShell.Tests.TestObjects { - public class TestActivityRunner:IActivityRunner -{ + public class TestActivityRunner : IActivityRunner + { + public event EventHandler ActivityCompleted; + public event EventHandler IsRunningChanged; + public event EventHandler ActivitiesCollectionChanged; + public event EventHandler ActivityStatusChanged; + public IEventedList Activities { - get { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } } public bool IsRunning { - get { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } } - public bool IsRunningActivity(IActivity activity) + public void RunActivity(IActivity activity) { throw new NotImplementedException(); } - public void Enqueue(IActivity activity) + /// + /// Fire activity status changed for the sender + /// + /// + /// + public void FireActivityStatusChanged(IActivity sender, ActivityStatus newStatus) { + if (ActivityStatusChanged != null) + { + ActivityStatusChanged(sender, new ActivityStatusChangedEventArgs(ActivityStatus.None, newStatus)); + } + } + + public bool IsRunningActivity(IActivity activity) + { throw new NotImplementedException(); } - public void RunActivity(IActivity activity) + public void Enqueue(IActivity activity) { throw new NotImplementedException(); } @@ -40,23 +64,5 @@ { throw new NotImplementedException(); } - - public event EventHandler ActivityCompleted; - public event EventHandler IsRunningChanged; - public event EventHandler ActivitiesCollectionChanged; - public event EventHandler ActivityStatusChanged; - - /// - /// Fire activity status changed for the sender - /// - /// - /// - public void FireActivityStatusChanged(IActivity sender,ActivityStatus newStatus) - { - if (ActivityStatusChanged != null) - { - ActivityStatusChanged(sender,new ActivityStatusChangedEventArgs(ActivityStatus.None,newStatus)); - } - } -} + } } \ No newline at end of file