This commit is contained in:
@@ -34,10 +34,10 @@ namespace raven_integration
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return un - filtered/sorted fields test
|
/// Return un - filtered/sorted fields and custom fields test
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public async void DataListShouldReturnAllFieldsSpecifiedEvenIfUnsortedOrFiltered()
|
public async void DataListShouldReturnAllFieldsSpecifiedEvenIfUnsortedOrFilteredAndCustomToo()
|
||||||
{
|
{
|
||||||
|
|
||||||
dynamic dListView = new JArray();
|
dynamic dListView = new JArray();
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ namespace raven_integration
|
|||||||
dynamic dListView = new JArray();
|
dynamic dListView = new JArray();
|
||||||
//name starts with filter to constrict to widgets that this test block created only
|
//name starts with filter to constrict to widgets that this test block created only
|
||||||
|
|
||||||
dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
|
|
||||||
|
|
||||||
//SORT ORDER ###################
|
//SORT ORDER ###################
|
||||||
// dynamic dsortarray = new JArray();
|
// dynamic dsortarray = new JArray();
|
||||||
@@ -152,7 +151,10 @@ namespace raven_integration
|
|||||||
// dsort.fld = "widgetstartdate";
|
// dsort.fld = "widgetstartdate";
|
||||||
// dsort.dir = "+";
|
// dsort.dir = "+";
|
||||||
// dsortarray.Add(dsort);
|
// dsortarray.Add(dsort);
|
||||||
dListView.Add(Util.BuildSimpleSortDataListViewColumn("widgetname", "+"));
|
|
||||||
|
//both conditions filter and sort here
|
||||||
|
dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart, "+"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//NOW FETCH WIDGET LIST WITH FILTER
|
//NOW FETCH WIDGET LIST WITH FILTER
|
||||||
|
|||||||
Reference in New Issue
Block a user