Exemple #1
0
        public void element_selection_select_is_straight_passthrough()
        {
            var accessor1 = ReflectionHelper.GetAccessor <GridDefinitionTester.GridDefTarget>(x => x.Name);
            var selection = new EditorSelection(a => a.Name == "Name", SlickGridEditor.Underscore);

            selection.EditorFor(accessor1).ShouldEqual(SlickGridEditor.Underscore);
        }
        public void element_selection_select_is_straight_passthrough()
        {
            var accessor1 = ReflectionHelper.GetAccessor<GridDefinitionTester.GridDefTarget>(x => x.Name);
            var selection = new EditorSelection(a => a.Name == "Name", SlickGridEditor.Underscore);

            selection.EditorFor(accessor1).ShouldEqual(SlickGridEditor.Underscore);
        }