public void TestGetProject() { Init(); var project = tb.GetProject(pid); Assert.IsTrue(!string.IsNullOrEmpty(project.name)); }
private void CheckForARunningTimer() { var te = tb.GetRunningTimer(); if (te != null) { //txtConsole.AppendTimeStampedLine($"Current running timer is {te.description}. Duration {tb.CurrentTimerDuration()}"); aTimerIsRunning = true; StartTimer(dh.GetTrackedProjectById(tb.GetProject(te.pid).id), te.description); } }