[Test] public void FutureState()
		{
			Iteration iteration = SandboxProject.CreateIteration();
			iteration.Name = "Test Iteration";
			iteration.Save();

			IterationFilter filter = new IterationFilter();
			filter.Schedule.Add(SandboxSchedule);
			filter.State.Add(IterationState.Future);
			Assert.AreEqual(1, Instance.Get.Iterations(filter).Count);
		}
Exemplo n.º 2
0
 private static List<Iteration> GetActiveIterations()
 {
     var filter = new IterationFilter();
     filter.State.Add(IterationState.Active);
     return new List<Iteration>(Global.Instance.Get.Iterations(filter));
 }