public void SetUpTest()
 {
     tasks = new List <ITask>
     {
         new ZTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription()
         },
         new ZTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription()
         },
         new ZScheduledTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription(),
             Deadline    = new DateTime(2020, 10, 8),
             ZBuffer     = TimeSpan.FromDays(6)
         },
         new ZTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription()
         },
         new ZScheduledTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription(),
             Deadline    = new DateTime(2007, 8, 9),
             ZBuffer     = TimeSpan.FromDays(180)
         },
         new ZScheduledTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription(),
             Deadline    = new DateTime(1998, 8, 8),
             ZBuffer     = TimeSpan.FromDays(60)
         },
         new ZTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription()
         },
         new ZTask()
         {
             Title       = ZTestUtil.GenerateTestTitle(),
             Description = ZTestUtil.GenerateTestDescription()
         }
     };
 }
Beispiel #2
0
        public void SetUpTest()
        {
            pTasks = new List <ZScheduledTask>
            {
                new ZScheduledTask()
                {
                    Title       = ZTestUtil.GenerateTestTitle(),
                    Description = ZTestUtil.GenerateTestDescription(),
                    Deadline    = new DateTime(2008, 10, 23),
                    ZBuffer     = TimeSpan.FromDays(5)
                },
                new ZScheduledTask()
                {
                    Title       = ZTestUtil.GenerateTestTitle(),
                    Description = ZTestUtil.GenerateTestDescription(),
                    Deadline    = new DateTime(2018, 12, 20),
                    ZBuffer     = TimeSpan.FromDays(15)
                },

                new ZScheduledTask()
                {
                    Title       = ZTestUtil.GenerateTestTitle(),
                    Description = ZTestUtil.GenerateTestDescription(),
                    Deadline    = new DateTime(2004, 9, 20),
                    ZBuffer     = TimeSpan.FromDays(25)
                },

                new ZScheduledTask()
                {
                    Title       = ZTestUtil.GenerateTestTitle(),
                    Description = ZTestUtil.GenerateTestDescription(),
                    Deadline    = new DateTime(2016, 10, 20),
                    ZBuffer     = TimeSpan.FromDays(35)
                },

                new ZScheduledTask()
                {
                    Title       = ZTestUtil.GenerateTestTitle(),
                    Description = ZTestUtil.GenerateTestDescription(),
                    Deadline    = new DateTime(2019, 10, 20),
                    ZBuffer     = TimeSpan.FromDays(69)
                }
            };
        }