public EventMarkdownBuilder(
     IMarkdownBuilderRepository markdownBuilderRepository,
     IEventGroupRepository eventGroupRepository,
     IRepresentationInfoRepository representationInfoRepository
     ) : base(markdownBuilderRepository)
 {
     _eventGroupRepository         = eventGroupRepository;
     _representationInfoRepository = representationInfoRepository;
 }
Example #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");
            });
        }
Example #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;
 }
Example #7
0
 public CompoundMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IParameterToParameterElementMapper parameterElementMapper) : base(markdownBuilderRepository)
 {
     _parameterElementMapper = parameterElementMapper;
 }
Example #8
0
 public SimulationMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }
Example #9
0
 protected DefaultBuildingBlockMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository)
 {
     _reportGenerator = reportGenerator;
 }
Example #10
0
 public ObserverSetMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }
Example #11
0
 public CompoundProcessMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository)
 {
     _markdownBuilderRepository = markdownBuilderRepository;
 }
 public ProtocolMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator)
 {
 }