Class
TestListBuilderViewModel

Definition

Namespace:ArtOfTest.WebAii.Design.UI.TestLists

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class TestListBuilderViewModel : ViewModelBase

Inheritance: objectTestListBuilderViewModel

Constructors

TestListBuilderViewModel(LightProject, TestListNode)

Declaration

cs-api-definition
public TestListBuilderViewModel(LightProject lightProject, TestListNode testListNode = null)

Parameters

lightProject

LightProject

testListNode

TestListNode

Properties

AutoRerun

Declaration

cs-api-definition
public bool AutoRerun { get; set; }

Property Value

bool

AvailableTestListTypes

Declaration

cs-api-definition
public List<TestListType> AvailableTestListTypes { get; }

Property Value

List<TestListType>

FilterModel

Declaration

cs-api-definition
public TestsFilterModel FilterModel { get; }

Property Value

TestsFilterModel

IsNew

Declaration

cs-api-definition
public bool IsNew { get; }

Property Value

bool

OpenHelpCommand

Declaration

cs-api-definition
public CommandHandler OpenHelpCommand { get; }

Property Value

CommandHandler

PerformanceMainViewModel

Declaration

cs-api-definition
public PerformanceMainViewModel PerformanceMainViewModel { get; set; }

Property Value

PerformanceMainViewModel

Projects

Declaration

cs-api-definition
public ObservableCollection<ProjectTreeViewItemViewModel> Projects { get; }

Property Value

ObservableCollection<ProjectTreeViewItemViewModel>

SelectedListType

Declaration

cs-api-definition
public TestListType SelectedListType { get; set; }

Property Value

TestListType

SelectedTest

Declaration

cs-api-definition
public LightTest SelectedTest { get; set; }

Property Value

LightTest

TestList

Declaration

cs-api-definition
public TestListNode TestList { get; set; }

Property Value

TestListNode

Tests

Declaration

cs-api-definition
public ObservableCollection<LightTest> Tests { get; }

Property Value

ObservableCollection<LightTest>

Methods

CanExecute(ICommand, object)

Declaration

cs-api-definition
public bool CanExecute(ICommand command, object commandArgs)

Parameters

command

ICommand

commandArgs

object

Returns

bool

FindTreeViewItemViewModel(LightProjectElement)

Declaration

cs-api-definition
public ProjectTreeViewItemViewModel FindTreeViewItemViewModel(LightProjectElement lightProjectElement)

Parameters

lightProjectElement

LightProjectElement

Returns

ProjectTreeViewItemViewModel

FindTreeViewItemViewModelRecurrsive(LightProjectElement, ProjectTreeViewItemViewModel)

Declaration

cs-api-definition
public ProjectTreeViewItemViewModel FindTreeViewItemViewModelRecurrsive(LightProjectElement lightProjectElement, ProjectTreeViewItemViewModel item)

Parameters

lightProjectElement

LightProjectElement

item

ProjectTreeViewItemViewModel

Returns

ProjectTreeViewItemViewModel

GetTests(ItemCollection)

Item collection to List of tests converter.

Declaration

cs-api-definition
public List<LightTest> GetTests(ItemCollection items)

Parameters

items

ItemCollection

Returns

List<LightTest>

HandleCommand(ICommand, object)

Declaration

cs-api-definition
public void HandleCommand(ICommand command, object commandArgs)

Parameters

command

ICommand

commandArgs

object

IsTestAdded(string)

Get whether the test with the given path is already in the list.

Declaration

cs-api-definition
public bool IsTestAdded(string path)

Parameters

path

string

The test.Path.

Returns

bool