本文整理汇总了C#中ITestDataProvider类的典型用法代码示例。如果您正苦于以下问题:C# ITestDataProvider类的具体用法?C# ITestDataProvider怎么用?C# ITestDataProvider使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITestDataProvider类属于命名空间,在下文中一共展示了ITestDataProvider类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: BaseTestSheetHiding
/**
* @param TestDataProvider an object that provides Test data in HSSF / specific way
*/
protected BaseTestSheetHiding(ITestDataProvider TestDataProvider,
String file1, String file2)
{
_testDataProvider = TestDataProvider;
_file1 = file1;
_file2 = file2;
}
示例2: RequestDefinition
/// <summary>
/// Constructor allows you to set the filname, toolsversion, targets to build, build properties and execution time.
/// Following are the defaults:
/// ToolsVersion = "ToolsVersion"
/// GlobalProperties = new BuildPropertyGroup()
/// ExecutionTime = 0;
/// Targets to build = "target1"
/// </summary>
public RequestDefinition(string fileName, string toolsVersion, string[] targets, PropertyDictionary<ProjectPropertyInstance> properties, int executionTime, RequestDefinition[] childDefinitions, IBuildComponentHost host, bool noTargetsToBuild)
{
if (noTargetsToBuild || targets == null)
{
_targetsToBuild = new string[] { };
}
else
{
_targetsToBuild = targets;
}
_globalProperties = ((properties == null) ? new PropertyDictionary<ProjectPropertyInstance>() : properties);
_toolsVersion = ((toolsVersion == null) ? RequestDefinition.defaultToolsVersion : toolsVersion);
_fileName = fileName;
if (childDefinitions != null)
{
_childDefinitions = new List<RequestDefinition>(childDefinitions);
foreach (RequestDefinition bd in childDefinitions)
{
_childDefinitions.Add(bd);
}
}
else
{
_childDefinitions = new List<RequestDefinition>();
}
_testProjectCompletedEvent = new AutoResetEvent(false);
_executionTime = executionTime;
_requestEngine = (IBuildRequestEngine)host.GetComponent(BuildComponentType.RequestEngine);
_testDataProvider = (ITestDataProvider)host.GetComponent(BuildComponentType.TestDataProvider);
_resultsCache = (IResultsCache)host.GetComponent(BuildComponentType.ResultsCache);
_testDataProvider.AddDefinition(this);
_projectDefinition = new ProjectDefinition(_fileName);
_waitForCancel = false;
}
示例3: BaseTestExternalFunctions
// not used:
// /**
// * @param TestDataProvider an object that provides Test data in HSSF / XSSF specific way
// */
protected BaseTestExternalFunctions(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
示例4: BaseTestCell
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestCell(ITestDataProvider testDataProvider)
{
// One or more test methods depends on the american culture.
System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
_testDataProvider = testDataProvider;
}
示例5: BaseTestFormulaEvaluator
/**
* @param TestDataProvider an object that provides Test data in / specific way
*/
protected BaseTestFormulaEvaluator(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
示例6: BaseTestBugzillaIssues
public BaseTestBugzillaIssues()
{
_testDataProvider = TestCases.HSSF.HSSFITestDataProvider.Instance;
}
示例7: BaseTestCircularReferences
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestCircularReferences(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
示例8: BaseTestDataValidation
protected BaseTestDataValidation(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
示例9: BaseTestFont
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestFont(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
示例10: CellFormatTestBase
public static Color TEST_COLOR = Color.Orange; //Darker();
protected CellFormatTestBase(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
示例11: BaseTestPicture
protected BaseTestPicture(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
示例12: BaseTestRow
protected BaseTestRow(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
示例13: BaseTestWorkbook
protected BaseTestWorkbook(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
示例14: BaseTestHyperlink
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestHyperlink(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
示例15: BaseTestConditionalFormatting
public BaseTestConditionalFormatting()
{
_testDataProvider = TestCases.HSSF.HSSFITestDataProvider.Instance;
}