C# Class MvcContrib.UnitTests.UI.Grid.GridRendererTester

Afficher le fichier Open project: atomicobject/mvccontrib Class Usage Examples

Méthodes publiques

Méthode Description
FakeRenderingContext ( ) : MvcContrib.UI.Grid.RenderingContext

Private Methods

Méthode Description
Alternating_rows_should_have_correct_css_class ( ) : void
Can_render_nested_properties ( ) : void
ColumnFor ( object>.Expression expression ) : IGridColumn
Column_heading_should_be_empty ( ) : void
Complicated_column ( ) : void
Custom_column ( ) : void
Custom_html_attributes_should_be_encoded ( ) : void
Custom_html_attrs ( ) : void
Custom_item_section ( ) : void
Direction_heading_should_not_override_custom_class ( ) : void
ExpectedEmptyTable ( string message, string @class ) : string
Falls_back_to_column_name_for_composite_expression ( ) : void
Header_should_be_split_pascal_case ( ) : void
Infers_format_from_DisplayFormAttribute ( ) : void
RenderGrid ( ) : string
RenderGrid ( IEnumerable dataSource ) : string
Renders_custom_header ( ) : void
Setup ( ) : void
Should_encode_custom_attributes ( ) : void
Should_encode_header_attributes ( ) : void
Should_ignore_initial_direction_ascending_when_it_is_the_currently_sorted_column ( ) : void
Should_not_automatically_encode_IHtmlString_instances ( ) : void
Should_not_render_sort_links_for_columns_tha_are_not_sortable ( ) : void
Should_render ( ) : void
Should_render_all_sort_links_ascending_when_option_is_ascending_and_no_column_currently_sorted ( ) : void
Should_render_custom_attributes_for_header_row ( ) : void
Should_render_custom_attributes_for_row ( ) : void
Should_render_custom_attributes_in_table_cell ( ) : void
Should_render_custom_attributes_in_table_cell_with_logic ( ) : void
Should_render_custom_attributes_when_Attributes_called_multiple_times ( ) : void
Should_render_custom_css_class_for_row ( ) : void
Should_render_custom_name_with_DisplayNameAttribute ( ) : void
Should_render_custom_row_end ( ) : void
Should_render_custom_row_start ( ) : void
Should_render_custom_row_start_with_action ( ) : void
Should_render_custom_row_start_with_alternate_row ( ) : void
Should_render_empty_table ( ) : void
Should_render_empty_table_when_collection_is_empty ( ) : void
Should_render_empty_table_with_custom_message ( ) : void
Should_render_grid_with_sort_direction_ascending ( ) : void
Should_render_grid_with_sort_direction_descending ( ) : void
Should_render_grid_with_sort_direction_descending_as_the_default ( ) : void
Should_render_grid_with_sort_links ( ) : void
Should_render_grid_with_sort_links_using_prefix ( ) : void
Should_render_header_attributes ( ) : void
Should_render_header_attributes_when_rendering_custom_row_start ( ) : void
Should_render_initial_direction_ascending_when_it_is_not_the_currently_sorted_column ( ) : void
Should_render_initial_direction_descending_when_it_is_not_the_currently_sorted_column ( ) : void
Should_render_with_custom_Header ( ) : void
Should_render_with_custom_header_section ( ) : void
Sorting_Maintains_existing_querystring_parameters ( ) : void
Sorting_does_not_maintain_null_querystring_parameters ( ) : void
Teardown ( ) : void
Uses_custom_sort_column_name ( ) : void
Uses_custom_sort_column_name_for_composite_expression ( ) : void
With_cell_condition ( ) : void
With_col_condition ( ) : void
With_format ( ) : void

Method Details

FakeRenderingContext() public static méthode

public static FakeRenderingContext ( ) : MvcContrib.UI.Grid.RenderingContext
Résultat MvcContrib.UI.Grid.RenderingContext