This commit is contained in:
Jerome Laban 2019-12-05 08:24:59 -05:00
Родитель fb2fd91748
Коммит 14c6007080
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -255,7 +255,7 @@ namespace SampleControl.Presentation
#endif
var testQuery = from category in _categories
from sample in category.SamplesContent
where !sample.IgnoreInAutomatedTests
where !sample.IgnoreInSnapshotTests
// where sample.ControlName.Equals("GridViewVerticalGrouped")
select new SampleInfo
{
@ -553,7 +553,7 @@ namespace SampleControl.Presentation
ViewModelType = control.attribute.ViewModelType,
Description = control.attribute.Description,
ControlType = control.type.AsType(),
IgnoreInAutomatedTests = control.attribute.IgnoreInAutomatedTests
IgnoreInSnapshotTests = control.attribute.IgnoreInSnapshotTests
};
var category = categories.SingleOrDefault(c=>c.Category == categoryStr);
@ -804,7 +804,7 @@ namespace SampleControl.Presentation
{
var q = from category in _categories
from test in category.SamplesContent
where !test.IgnoreInAutomatedTests
where !test.IgnoreInSnapshotTests
select test.ControlType.FullName;
return string.Join(";", q);

Просмотреть файл

@ -17,7 +17,7 @@ namespace SampleControl.Entities
public Type ViewModelType { get; set; }
public Type ControlType { get; set; }
public string Description { get; set; }
public bool IgnoreInAutomatedTests { get; internal set; }
public bool IgnoreInSnapshotTests { get; internal set; }
bool _isFavorite;
public bool IsFavorite