• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Runner.AssemblyInfo类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Runner.ContextInfo类代码示例发布时间:2022-05-26
下一篇:
C# Presentation.ContextElement类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap