using System; namespace LightWebTestFramework { [Serializable] public class IncludedWebTest : WebTestItem { private string m_name; private string m_path; private string m_testId; private bool m_isCodedWebTest; private bool m_inheritWebTestSettings; public string Name { get { return this.m_name; } set { this.m_name = value; } } public string Path { get { return this.m_path; } set { this.m_path = value; } } public string TestId { get { return this.m_testId; } set { this.m_testId = value; } } public bool IsCodedWebTest { get { return this.m_isCodedWebTest; } set { this.m_isCodedWebTest = value; } } public bool InheritWebTestSettings { get { return this.m_inheritWebTestSettings; } set { this.m_inheritWebTestSettings = value; } } public IncludedWebTest() { } internal IncludedWebTest(IncludeCodedWebTestAttribute includeCodedWebTestAttribute) { WebTestClassName webTestClassName = new WebTestClassName(includeCodedWebTestAttribute.FullClassName); this.m_name = webTestClassName.Class; this.m_path = includeCodedWebTestAttribute.Path; this.m_testId = webTestClassName.ToGuid().ToString(); this.m_isCodedWebTest = true; } internal IncludedWebTest(IncludeDeclarativeWebTestAttribute includeDeclarativeWebTestAttribute) { this.m_name = includeDeclarativeWebTestAttribute.Name; this.m_path = includeDeclarativeWebTestAttribute.Path; this.m_testId = includeDeclarativeWebTestAttribute.TestId; } private IncludedWebTest(IncludedWebTest copy) : base(copy) { this.m_isCodedWebTest = copy.m_isCodedWebTest; this.m_name = copy.m_name; this.m_path = copy.m_path; this.m_testId = copy.m_testId; this.m_inheritWebTestSettings = copy.m_inheritWebTestSettings; } public override object Clone() { return new IncludedWebTest(this); } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)