Ejemplo n.º 1
0
        /// <nodoc/>
        public MsBuildProjectBuilder(MsBuildPipSchedulingTestBase testBase, MsBuildResolverSettings resolverSettings, QualifierId qualifierId)
        {
            Contract.Requires(testBase != null);
            Contract.Requires(resolverSettings != null);
            Contract.Requires(qualifierId != QualifierId.Invalid);

            m_projects         = new HashSet <ProjectWithPredictions>();
            m_testBase         = testBase;
            m_resolverSettings = resolverSettings;
            m_qualifierId      = qualifierId;
        }
Ejemplo n.º 2
0
        /// <nodoc/>
        public MsBuildProjectBuilder(MsBuildPipSchedulingTestBase testBase, MsBuildResolverSettings resolverSettings, QualifierId currentQualifier, QualifierId[] requestedQualifiers)
        {
            Contract.Requires(testBase != null);
            Contract.Requires(resolverSettings != null);
            Contract.Requires(currentQualifier != QualifierId.Invalid);
            Contract.Requires(requestedQualifiers?.Length > 0);

            m_projects            = new HashSet <ProjectWithPredictions>();
            m_testBase            = testBase;
            m_resolverSettings    = resolverSettings;
            m_qualifierId         = currentQualifier;
            m_requestedQualifiers = requestedQualifiers;
        }