Beispiel #1
0
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph(Assembly.GetExecutingAssembly());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Explicit).Single()
                .ShouldBeTheSameAs(action);
        }
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph();
            graph.Push(new SomeFubuRegistry());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Conneg).Single()
                .ShouldBeTheSameAs(action);
        }
Beispiel #3
0
        public void add_configuration_action_that_is_marked_with_attribute()
        {
            var graph = new ConfigGraph();

            graph.Push(new SomeFubuRegistry());

            var action = new DeterminateAciton();

            graph.Add(action);

            graph.ActionsFor(ConfigurationType.Conneg).Single()
            .ShouldBeTheSameAs(action);
        }