Update IgnoreInSnapshotTests
This commit is contained in:
Родитель
fb2fd91748
Коммит
14c6007080
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче