本文整理汇总了C#中Machine.Specifications.Runner.AssemblyInfo类的典型用法代码示例。如果您正苦于以下问题:C# AssemblyInfo类的具体用法?C# AssemblyInfo怎么用?C# AssemblyInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AssemblyInfo类属于Machine.Specifications.Runner命名空间,在下文中一共展示了AssemblyInfo类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_currentAssemblyName = assembly.Name;
WriteLineVerbose("");
WriteLineVerbose("Specs in " + _currentAssemblyName + ":");
WriteLineVerbose("");
}
开发者ID:jcbozonier,项目名称:machine.specifications,代码行数:7,代码来源:RunListener.cs
示例2: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_currentAssemblyName = assembly.Name;
_console.WriteLine("");
_console.WriteLine("Specs in " + _currentAssemblyName + ":");
_console.WriteLine("");
}
开发者ID:dtabuenc,项目名称:machine,代码行数:7,代码来源:RunListener.cs
示例3: Before_each_spec
protected override void Before_each_spec()
{
_messageProvider = Mocks.StrictMock<ITeamCityMessageProvider>();
_sut = new TeamCityRunListener(_messageProvider);
_assemblyInfo = new AssemblyInfo("Assembly");
}
开发者ID:stephen-czetty,项目名称:nant-extensions,代码行数:7,代码来源:When_the_TeamCity_listener_monitors_assembly_starts.cs
示例4: CollectReportingInformationRunListener
public CollectReportingInformationRunListener()
{
_currentAssembly = null;
_currentContext = null;
_contextsByAssembly = new Dictionary<AssemblyInfo, List<ContextInfo>>();
_specificationsByContext = new Dictionary<ContextInfo, List<SpecificationInfo>>();
_resultsBySpecification = new Dictionary<SpecificationInfo, Result>();
}
开发者ID:hennys,项目名称:machine.specifications,代码行数:8,代码来源:CollectReportingInformationRunListener.cs
示例5: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
if (!string.IsNullOrEmpty(_currentNamespace))
{
_writer.WriteTestSuiteFinished(_currentNamespace);
}
_writer.WriteProgressFinish("Running specifications in " + assembly.Name);
}
开发者ID:agross,项目名称:machine.specifications,代码行数:8,代码来源:TeamCityReporter.cs
示例6: Before_each_spec
protected override void Before_each_spec()
{
_assemblyInfo = new AssemblyInfo("Assembly");
PropertyDictionary propertyDictionary = Mocks.Stub<PropertyDictionary>((Project) null);
_task = Mocks.StrictMock<Task>();
SetupResult.For(_task.Properties).Return(propertyDictionary);
Mocks.Replay(_task);
_sut = new NAntRunListener(_task);
}
开发者ID:stephen-czetty,项目名称:nant-extensions,代码行数:13,代码来源:When_the_NAnt_listener_monitors_assembly_starts.cs
示例7: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assemblyInfo)
{
var root = new XElement("listener", new XElement("onassemblyend", assemblyInfo.ToXml()));
SendMessage(root);
}
开发者ID:machine,项目名称:machine.specifications,代码行数:6,代码来源:ControllerRunListener.cs
示例8: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
LastAssembly = assembly;
}
开发者ID:agross,项目名称:machine.specifications,代码行数:4,代码来源:AppDomainRunnerSpecs.cs
示例9: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
var concerns = CreateConcerns();
_assemblies.Add(assembly.ToNode(concerns));
}
开发者ID:jhollingworth,项目名称:machine.specifications,代码行数:6,代码来源:SpecificationTreeListener.cs
示例10: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_concernsToContexts = new Dictionary<string, List<Context>>();
}
开发者ID:jhollingworth,项目名称:machine.specifications,代码行数:4,代码来源:SpecificationTreeListener.cs
示例11: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_assemblyTimer.Restart();
}
开发者ID:machine,项目名称:machine.specifications,代码行数:4,代码来源:TimingRunListener.cs
示例12: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_writer.WriteProgressStart("Running specifications in " + assembly.Name);
}
开发者ID:agross,项目名称:machine.specifications,代码行数:4,代码来源:TeamCityReporter.cs
示例13: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_listeners.Each(listener => listener.OnAssemblyStart(assembly));
}
开发者ID:hennys,项目名称:machine.specifications,代码行数:4,代码来源:AggregateRunListener.cs
示例14: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_messageProvider.TestSuiteStarted(assembly.Name);
}
开发者ID:stephen-czetty,项目名称:nant-extensions,代码行数:4,代码来源:TeamCityRunListener.cs
示例15: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
_messageProvider.TestSuiteFinished(assembly.Name);
}
开发者ID:stephen-czetty,项目名称:nant-extensions,代码行数:4,代码来源:TeamCityRunListener.cs
示例16: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
var notify = CreateTaskNotificationFor(assembly, _runAssemblyTask);
NotifyRedirectedOutput(notify, assembly);
}
开发者ID:JorritSalverda,项目名称:msbuild-by-convention,代码行数:5,代码来源:PerAssemblyRunListener.cs
示例17: OnAssemblyStart
public virtual void OnAssemblyStart(AssemblyInfo assembly)
{
_currentAssemblyName = assembly.Name;
_contextsByAssembly.Add(_currentAssemblyName, new List<ContextInfo>());
}
开发者ID:jagregory,项目名称:machine.specifications,代码行数:5,代码来源:CollectReportingInformationRunListener.cs
示例18: GetAssemblyTime
public long GetAssemblyTime(AssemblyInfo assemblyInfo)
{
if (_assemblyTimes.ContainsKey(assemblyInfo))
{
return _assemblyTimes[assemblyInfo];
}
return -1;
}
开发者ID:machine,项目名称:machine.specifications,代码行数:9,代码来源:TimingRunListener.cs
示例19: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
_assemblyTimer.Stop();
_assemblyTimes[assembly] = _assemblyTimer.ElapsedMilliseconds;
}
开发者ID:machine,项目名称:machine.specifications,代码行数:5,代码来源:TimingRunListener.cs
示例20: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
runListener.OnAssemblyEnd(assembly);
}
开发者ID:machine-visualstudio,项目名称:machine.vstestadapter,代码行数:4,代码来源:SingleBehaviorTestRunListenerWrapper.cs
注:本文中的Machine.Specifications.Runner.AssemblyInfo类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论