public override void Given() { base.Given(); WorkItemStore = TimedAction(() => IntegrationSettings.CreateRestStore(), "REST", "WIS Create"); ConfigureOptions(); var pr = new PropertyReflector(); var pi = new PropertyInspector(pr); var attMapper = new AttributeMapperStrategy(pi); var mapper = new WorkItemMapper(attMapper); var translator = new WiqlTranslator(); var pe = new PartialEvaluator(); var qr = new QueryRewriter(); var wqb = new WiqlQueryBuilder(translator, pe, qr); var qp = new MapperTeamFoundationServerWorkItemQueryProvider( WorkItemStore, wqb, mapper); Query = new Query <Bug>(qp, wqb); _ids = new[] { 8663955 }; }
public override void Given() { SoapResult = new Result { WorkItemStore = TimedAction(() => IntegrationSettings.CreateSoapStore(), "SOAP", "Create WIS") }; RestResult = new Result { WorkItemStore = TimedAction(() => IntegrationSettings.CreateRestStore(), "REST", "Create WIS") }; }
protected override IWorkItemStore Create() { return(TimedAction(() => IntegrationSettings.CreateRestStore(), "REST", "WIS Create")); }