예제 #1
0
        public void TestCardTransitions()
        {
            var       project  = _mingle.GetProject("test");
            var       card     = project.GetCard(91);
            var       actual   = card.Transitions.Count;
            const int expected = 4;

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
 /// <summary>
 /// Calls the execute_mql API
 /// </summary>
 /// <param name="project"></param>
 /// <param name="mql"></param>
 /// <returns></returns>
 public XElement ExecMql(string project, string mql)
 {
     return(string.IsNullOrEmpty(mql) ? null : _mingle.GetProject(project).ExecMql(mql));
 }
예제 #3
0
 public static void MyClassInitialize(TestContext testContext)
 {
     _mingle  = new MingleServer(MingleHost, MINGLEUSER, MINGLEPASSWORD);
     _project = _mingle.GetProject("apitest");
 }