Exemplo n.º 1
0
        public void TypeParametersConstraintsCheck()
        {
            List <AbstractMessage> errors = TestManager.RunTests(this);

            Assert.IsTrue(errors.HasCode(173, 17, 25));
            Assert.IsTrue(errors.HasCode(173, 17, 23));
            Assert.IsTrue(errors.HasCode(176, 17, 37));
            Assert.IsTrue(errors.HasCode(177, 17, 42));
            Assert.IsTrue(errors.HasCode(178, 17, 17));
            Assert.IsTrue(errors.HasCode(178, 17, 19));
            Assert.IsTrue(errors.HasCode(179, 17, 46));
            Assert.IsTrue(errors.HasCode(179, 17, 19));
            Assert.IsTrue(errors.HasCode(180, 17, 44));
            Assert.IsTrue(errors.HasCode(181, 17, 27));
            Assert.IsTrue(errors.HasCode(182, 17, 29));
            Assert.AreEqual(errors.Count, 11);
        }
Exemplo n.º 2
0
 public void PropertyCheck()
 {
     List <AbstractMessage> errors = TestManager.RunTests(this);
 }
Exemplo n.º 3
0
 public void ClassBaseCheck()
 {
     List <AbstractMessage> errors = TestManager.RunTests(this);
 }