示例#1
0
        public void TestInherits()
        {
            var timer = new QTimer();

            Assert.IsTrue(timer.Inherits("QTimer")); // Docu says should return true, but return false
            Assert.IsTrue(timer.Inherits("QObject"));
            Assert.IsFalse(timer.Inherits("QAbstractButton"));
        }
示例#2
0
 public void TestInherits()
 {
     var timer = new QTimer();
     Assert.IsTrue(timer.Inherits("QTimer")); // Docu says should return true, but return false
     Assert.IsTrue(timer.Inherits("QObject"));
     Assert.IsFalse(timer.Inherits("QAbstractButton"));
 }