Ejemplo n.º 1
0
        /// <summary>
        /// Regenerates the recent learning modules with two unique LearningModulesIndexEntry's
        /// </summary>
        /// <returns></returns>
        /// <remarks>Documented by Dev07, 2009-03-03</remarks>
        private void generateTestContext()
        {
            RecentLearningModules.Clear();

            RecentLearningModules.Add(lm1);
            Thread.Sleep(50);
            RecentLearningModules.Add(lm2);
            Thread.Sleep(50);
        }
Ejemplo n.º 2
0
 public void ClearTest()
 {
     generateTestContext();
     RecentLearningModules.Clear();
     Assert.AreEqual(0, RecentLearningModules.GetRecentModules().Count);
 }