示例#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;
 }