本文整理汇总了C#中Machine.Specifications.Runner.AssemblyInfo类的典型用法代码示例。如果您正苦于以下问题:C# AssemblyInfo类的具体用法?C# AssemblyInfo怎么用?C# AssemblyInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AssemblyInfo类属于Machine.Specifications.Runner命名空间,在下文中一共展示了AssemblyInfo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_currentAssemblyName = assembly.Name;
WriteLineVerbose("");
WriteLineVerbose("Specs in " + _currentAssemblyName + ":");
WriteLineVerbose("");
}
示例2: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_currentAssemblyName = assembly.Name;
_console.WriteLine("");
_console.WriteLine("Specs in " + _currentAssemblyName + ":");
_console.WriteLine("");
}
示例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>();
}
示例5: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
if (!string.IsNullOrEmpty(_currentNamespace))
{
_writer.WriteTestSuiteFinished(_currentNamespace);
}
_writer.WriteProgressFinish("Running specifications in " + assembly.Name);
}
示例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);
}
示例8: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
LastAssembly = assembly;
}
示例9: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
var concerns = CreateConcerns();
_assemblies.Add(assembly.ToNode(concerns));
}
示例10: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_concernsToContexts = new Dictionary<string, List<Context>>();
}
示例11: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_assemblyTimer.Restart();
}
示例12: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_writer.WriteProgressStart("Running specifications in " + assembly.Name);
}
示例13: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_listeners.Each(listener => listener.OnAssemblyStart(assembly));
}
示例14: OnAssemblyStart
public void OnAssemblyStart(AssemblyInfo assembly)
{
_messageProvider.TestSuiteStarted(assembly.Name);
}
示例15: OnAssemblyEnd
public void OnAssemblyEnd(AssemblyInfo assembly)
{
_messageProvider.TestSuiteFinished(assembly.Name);
}