示例#1
0
        public void QueryOne()
        {
            var procedures = ProceduralDb.Query(".*", ".*", ".*", ".*", ".*", ".*",
                                                ".*");

            Assert.Greater(procedures.Count, 0);
            Assert.IsTrue(procedures.All(p => ProceduralDb.ProcExists(p)));
        }
示例#2
0
 static public bool Exists(string name)
 {
     return(ProceduralDb.ProcExists(name));
 }
示例#3
0
 static public bool Exists(string name) => ProceduralDb.ProcExists(name);
示例#4
0
 public void Exists()
 {
     Assert.IsFalse(ProceduralDb.ProcExists("nonsense"));
     Assert.IsTrue(ProceduralDb.ProcExists("gimp-image-new"));
 }