public void AddTimerTest() { TimeSlice tTimer = null; // TODO: 初始化为适当的值 TimerThread.AddTimer(tTimer); Assert.Inconclusive("无法验证不返回值的方法。"); }
public void Start() { if (!m_Running) { m_Running = true; TimerThread.AddTimer(this); } }
public void Start() { if (!m_Running) { m_Running = true; TimerThread.AddTimer(this); TimerProfile prof = GetProfile(); if (prof != null) { prof.Started++; } } }