Пример #1
0
        public void VerifyThatItIterationContainsNoElementDefinitionsNoViolationsAreReturned()
        {
            this.rule = new ElementDefinitionShortNameRule();
            var violations = rule.Verify(this.iteration);

            CollectionAssert.IsEmpty(violations);
        }
Пример #2
0
        public void SetUp()
        {
            this.session = new Mock <ISession>();
            this.uri     = new Uri("http://www.rheagroup.com");
            this.cache   = new ConcurrentDictionary <CacheKey, Lazy <Thing> >();

            this.engineeringModel = new EngineeringModel(Guid.NewGuid(), this.cache, this.uri);
            this.iteration        = new Iteration(Guid.NewGuid(), this.cache, this.uri);
            this.engineeringModel.Iteration.Add(this.iteration);

            this.rule = new ElementDefinitionShortNameRule();
        }
Пример #3
0
 public void SetUp()
 {
     this.elementDefinitionShortNameRule = new ElementDefinitionShortNameRule();
 }