Пример #1
0
        public void SanityNotSafe()
        {
            Info = new Info(false);

            Assert.IsNotNull(Info.Title);
            Assert.IsNotNull(Info.Description);

            Assert.IsNull(Info.Contact);
            Assert.IsNull(Info.License);
            Assert.IsNull(Info.LicenseUrl);
            Assert.IsNull(Info.TermsOfServiceUrl);

            Info.Validate(Violations);
            Assert.AreEqual(0, Violations.Count);
        }
Пример #2
0
 public InfoTests()
 {
     Info = new Info();
 }