private static OrderedComposite <IStepListener> TearUp()
        {
            OrderedComposite <IStepListener> listeners = new OrderedComposite <IStepListener>();

            listeners.Add(new UnorderedListener());
            listeners.Add(new ThirdListener());
            listeners.Add(new FirstListener());
            listeners.Add(new SecondListener());
            return(listeners);
        }
        public void AddTest()
        {
            OrderedComposite <IStepListener> listeners = new OrderedComposite <IStepListener>();

            listeners.Add(new UnorderedListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new ThirdListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new FirstListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new SecondListener());
            Assert.IsNotNull(listeners);
        }
예제 #3
0
        public void AddTest()
        {
            OrderedComposite<IStepListener> listeners = new OrderedComposite<IStepListener>();
            listeners.Add(new UnorderedListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new ThirdListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new FirstListener());
            Assert.IsNotNull(listeners);
            listeners.Add(new SecondListener());
            Assert.IsNotNull(listeners);

        }
예제 #4
0
 private static OrderedComposite<IStepListener> TearUp()
 {
     OrderedComposite<IStepListener> listeners = new OrderedComposite<IStepListener>();
     listeners.Add(new UnorderedListener());
     listeners.Add(new ThirdListener());
     listeners.Add(new FirstListener());
     listeners.Add(new SecondListener());
     return listeners;
 }