Class LightTestsProvider
Inherited Members
Namespace: ArtOfTest.WebAii.Design.ProjectModel.Providers
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class LightTestsProvider : BaseProvider<LightTest>
Constructors
LightTestsProvider()
Declaration
public LightTestsProvider()
Fields
PROGRESS_REPORTER_KEY
Declaration
public const string PROGRESS_REPORTER_KEY = "LightTestsProviderReporterKey"
Field Value
System.String
|
Properties
CachedTests
Declaration
public ReadOnlyCollection<LightTest> CachedTests { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<LightTest>
|
ProjectFolders
Declaration
public List<LightFolder> ProjectFolders { get; }
Property Value
System.Collections.Generic.List<LightFolder>
|
ProjectRoot
TestAsStepRefs
Declaration
public IList<LightTestAsStepReference> TestAsStepRefs { get; }
Property Value
System.Collections.Generic.IList<LightTestAsStepReference>
|
TestsFilePaths
Declaration
public List<string> TestsFilePaths { get; }
Property Value
System.Collections.Generic.List<System.String>
|
Methods
Clear()
Declaration
public override void Clear()
Overrides
CreateFolderItem(String, Boolean)
Declaration
public LightFolder CreateFolderItem(string path, bool folderCreated)
Parameters
System.String
path
|
System.Boolean
folderCreated
|
Returns
LightFolder
|
CreateItem(String)
Declaration
public LightTest CreateItem(string testPath)
Parameters
System.String
testPath
|
Returns
LightTest
|
DeleteLightTestData(LightTest)
ExcludeLightTest(LightTest)
ExtractTestProperty<T>(LightTest, String[])
Declaration
public T ExtractTestProperty<T>(LightTest lightTest, params string[] jsonPropertyPath)
Parameters
LightTest
lightTest
|
System.String[]
jsonPropertyPath
|
Returns
T
|
Type Parameters
T
|
GetCodeBehindPath(LightTest)
Declaration
public string GetCodeBehindPath(LightTest lightTest)
Parameters
LightTest
lightTest
|
Returns
System.String
|
GetItem(Guid)
Declaration
public override LightTest GetItem(Guid id)
Parameters
System.Guid
id
|
Returns
LightTest
|
Overrides
GetItem(String)
Declaration
public LightTest GetItem(string testFullPath)
Parameters
System.String
testFullPath
|
Returns
LightTest
|
GetReporterKey()
Declaration
protected override string GetReporterKey()
Returns
System.String
|
Overrides
GetTestImageStorePath(LightTest)
Declaration
public string GetTestImageStorePath(LightTest lightTest)
Parameters
LightTest
lightTest
|
Returns
System.String
|
GetTestResxPath(LightTest)
Declaration
public string GetTestResxPath(LightTest lightTest)
Parameters
LightTest
lightTest
|
Returns
System.String
|
ImportTest(ImportTestArgs)
Declaration
public LightTest ImportTest(ImportTestArgs args)
Parameters
ImportTestArgs
args
|
Returns
LightTest
|
Load(Project)
Load(String)
Declaration
public override void Load(string location)
Parameters
System.String
location
|
Overrides
Load(String, String, String)
Declaration
public override void Load(string location, string vsSolutionPath, string vsProjectPath)
Parameters
System.String
location
|
System.String
vsSolutionPath
|
System.String
vsProjectPath
|
Overrides
OnBeforeLightProjectLoad(BeforeProjectLoadArgs)
Declaration
protected virtual void OnBeforeLightProjectLoad(BeforeProjectLoadArgs args)
Parameters
BeforeProjectLoadArgs
args
|
OnFolderDiscovered(LightFolder)
Declaration
protected virtual void OnFolderDiscovered(LightFolder folder)
Parameters
LightFolder
folder
|
OnItemLoaded(LightTest)
Declaration
protected override void OnItemLoaded(LightTest item)
Parameters
LightTest
item
|
Overrides
OnTestsDiscovered()
Declaration
protected virtual void OnTestsDiscovered()
RenameTest(LightTest, String, SourceControlProviderBase)
Declaration
public void RenameTest(LightTest lTest, string newTestPath, SourceControlProviderBase sourceControl = null)
Parameters
LightTest
lTest
|
System.String
newTestPath
|
SourceControlProviderBase
sourceControl
|
SearchForCodeBehind(ImportTestArgs)
Declaration
public bool SearchForCodeBehind(ImportTestArgs args)
Parameters
ImportTestArgs
args
|
Returns
System.Boolean
|
SearchForImageStore(ImportTestArgs)
Declaration
public bool SearchForImageStore(ImportTestArgs args)
Parameters
ImportTestArgs
args
|
Returns
System.Boolean
|
SmartRefresh()
Declaration
public IList<string> SmartRefresh()
Returns
System.Collections.Generic.IList<System.String>
|
TryUpdateItem(LightTest)
Declaration
public override bool TryUpdateItem(LightTest item)
Parameters
LightTest
item
|
Returns
System.Boolean
|
Overrides
UpdateProjectLocation(String)
Declaration
public override void UpdateProjectLocation(string newLocation)
Parameters
System.String
newLocation
|
Overrides
UpgradeProject(out String)
Declaration
protected virtual bool UpgradeProject(out string error)
Parameters
System.String
error
|
Returns
System.Boolean
|
Events
BeforeLightProjectLoad
Declaration
public event Action<BeforeProjectLoadArgs> BeforeLightProjectLoad
Event Type
System.Action<BeforeProjectLoadArgs>
|
FolderDiscovered
RequestTestConversion
Declaration
public event Action<ConvertTestArgs> RequestTestConversion
Event Type
System.Action<ConvertTestArgs>
|
TestsDiscovered
Declaration
public event Action TestsDiscovered
Event Type
System.Action
|