本文整理汇总了C#中ITestDataProvider类的典型用法代码示例。如果您正苦于以下问题:C# ITestDataProvider类的具体用法?C# ITestDataProvider怎么用?C# ITestDataProvider使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITestDataProvider类属于命名空间,在下文中一共展示了ITestDataProvider类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
}
开发者ID:89sos98,项目名称:npoi,代码行数:10,代码来源:BaseTestSheetHiding.cs
示例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;
}
开发者ID:cameron314,项目名称:msbuild,代码行数:44,代码来源:RequestDefinition.cs
示例3: BaseTestExternalFunctions
// not used:
// /**
// * @param TestDataProvider an object that provides Test data in HSSF / XSSF specific way
// */
protected BaseTestExternalFunctions(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:WPG,项目名称:npoi,代码行数:8,代码来源:BaseTestExternalFunctions.cs
示例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;
}
开发者ID:newlysoft,项目名称:npoi,代码行数:9,代码来源:BaseTestCell.cs
示例5: BaseTestFormulaEvaluator
/**
* @param TestDataProvider an object that provides Test data in / specific way
*/
protected BaseTestFormulaEvaluator(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:kenlen,项目名称:npoi,代码行数:7,代码来源:BaseTestFormulaEvaluator.cs
示例6: BaseTestBugzillaIssues
public BaseTestBugzillaIssues()
{
_testDataProvider = TestCases.HSSF.HSSFITestDataProvider.Instance;
}
开发者ID:89sos98,项目名称:npoi,代码行数:4,代码来源:BaseTestBugzillaIssues.cs
示例7: BaseTestCircularReferences
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestCircularReferences(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:age-soft,项目名称:npoi,代码行数:7,代码来源:BaseTestCircularReferences.cs
示例8: BaseTestDataValidation
protected BaseTestDataValidation(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:xoposhiy,项目名称:npoi,代码行数:4,代码来源:BaseTestDataValidation.cs
示例9: BaseTestFont
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestFont(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:7,代码来源:BaseTestFont.cs
示例10: CellFormatTestBase
public static Color TEST_COLOR = Color.Orange; //Darker();
protected CellFormatTestBase(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:ctddjyds,项目名称:npoi,代码行数:6,代码来源:CellFormatTestBase.cs
示例11: BaseTestPicture
protected BaseTestPicture(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:Reinakumiko,项目名称:npoi,代码行数:4,代码来源:BaseTestPicture.cs
示例12: BaseTestRow
protected BaseTestRow(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:kenlen,项目名称:npoi,代码行数:4,代码来源:BaseTestRow.cs
示例13: BaseTestWorkbook
protected BaseTestWorkbook(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:ctddjyds,项目名称:npoi,代码行数:4,代码来源:BaseTestWorkbook.cs
示例14: BaseTestHyperlink
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestHyperlink(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:hanwangkun,项目名称:npoi,代码行数:7,代码来源:BaseTestHyperlink.cs
示例15: BaseTestConditionalFormatting
public BaseTestConditionalFormatting()
{
_testDataProvider = TestCases.HSSF.HSSFITestDataProvider.Instance;
}
开发者ID:mdjasim,项目名称:npoi,代码行数:4,代码来源:BaseTestConditionalFormatting.cs
示例16: BaseTestSheet
protected BaseTestSheet(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:Reinakumiko,项目名称:npoi,代码行数:4,代码来源:BaseTestSheet.cs
示例17: BaseTestSheetShiftRows
protected BaseTestSheetShiftRows(ITestDataProvider TestDataProvider)
{
_testDataProvider = TestDataProvider;
}
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:4,代码来源:BaseTestSheetShiftRows.cs
示例18: BaseTestSheetUpdateArrayFormulas
public BaseTestSheetUpdateArrayFormulas()
{
_testDataProvider = TestCases.HSSF.HSSFITestDataProvider.Instance;
}
开发者ID:xoposhiy,项目名称:npoi,代码行数:4,代码来源:BaseTestSheetUpdateArrayFormulas.cs
示例19: BaseTestDataFormat
/**
* @param testDataProvider an object that provides test data in HSSF / XSSF specific way
*/
protected BaseTestDataFormat(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:xoposhiy,项目名称:npoi,代码行数:7,代码来源:BaseTestDataFormat.cs
示例20: BaseTestCellComment
protected BaseTestCellComment(ITestDataProvider testDataProvider)
{
_testDataProvider = testDataProvider;
}
开发者ID:hanwangkun,项目名称:npoi,代码行数:4,代码来源:BaseTestCellComment.cs
注:本文中的ITestDataProvider类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论