Esempio n. 1
0
 public EventMarkdownBuilder(
     IMarkdownBuilderRepository markdownBuilderRepository,
     IEventGroupRepository eventGroupRepository,
     IRepresentationInfoRepository representationInfoRepository
     ) : base(markdownBuilderRepository)
 {
     _eventGroupRepository         = eventGroupRepository;
     _representationInfoRepository = representationInfoRepository;
 }
Esempio n. 2
0
        protected override void Context()
        {
            _reportGenerator       = A.Fake <IReportGenerator>();
            _markdownReportBuilder = A.Fake <IMarkdownBuilderRepository>();
            sut = new MarkdownReporterTask(_reportGenerator, _markdownReportBuilder);

            A.CallTo(() => _reportGenerator.StringReportFor((object)_compound)).Returns("COMP");
            var individualMarkdownBuilder = A.Fake <IMarkdownBuilder>();

            A.CallTo(() => _markdownReportBuilder.BuilderFor(_individual)).Returns(individualMarkdownBuilder);
            A.CallTo(() => _markdownReportBuilder.BuilderFor(_compound)).Returns(null);
            A.CallTo(() => individualMarkdownBuilder.Report(_individual, A <MarkdownTracker> ._, A <int> ._)).Invokes(x =>
            {
                var markdownTracker = x.GetArgument <MarkdownTracker>(1);
                markdownTracker.Add("IND");
            });
        }
Esempio n. 3
0
 public MarkdownReporterTask(IReportGenerator reportGenerator, IMarkdownBuilderRepository markdownBuilderRepository)
 {
     _reportGenerator           = reportGenerator;
     _markdownBuilderRepository = markdownBuilderRepository;
 }
 public IndividualMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }
 public FormulationMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IRepresentationInfoRepository representationInfoRepository) : base(markdownBuilderRepository)
 {
     _representationInfoRepository = representationInfoRepository;
 }
 protected BuildingBlockMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository)
 {
     _markdownBuilderRepository = markdownBuilderRepository;
 }
Esempio n. 7
0
 public CompoundMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IParameterToParameterElementMapper parameterElementMapper) : base(markdownBuilderRepository)
 {
     _parameterElementMapper = parameterElementMapper;
 }
Esempio n. 8
0
 public SimulationMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }
Esempio n. 9
0
 protected DefaultBuildingBlockMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository)
 {
     _reportGenerator = reportGenerator;
 }
Esempio n. 10
0
 public ObserverSetMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }
Esempio n. 11
0
 public CompoundProcessMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository)
 {
     _markdownBuilderRepository = markdownBuilderRepository;
 }
 public ProtocolMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }