Пример #1
0
 private static int GetToBeTestTaskState(EntityStates states)
 {
     return states.Items.Single(i => i.EntityType.Name.Equals("Task") && i.Name.Equals("To be tested")).Id;
 }
Пример #2
0
 private static int GetInProgressStoryStateId(EntityStates states)
 {
     return states.Items.Single(i => i.EntityType.Name.Equals("UserStory") && i.Name.Equals("In Progress")).Id;
 }
Пример #3
0
 private static int GetOpenTaskStateId(EntityStates states)
 {
     return states.Items.Single(i => i.EntityType.Name.Equals("Task") && i.IsInitial).Id;
 }
Пример #4
0
 private static int GetDoneStoryStateId(EntityStates states)
 {
     return states.Items.Single(i => i.EntityType.Name.Equals("UserStory") && i.IsFinal).Id;
 }