예제 #1
0
 public override void Given()
 {
     base.Given();
     WiqlQueryBuilder = new WiqlQueryBuilder();
     QueryProvider    = new TeamFoundationServerWorkItemQueryProvider(new MockWorkItemStore(), WiqlQueryBuilder);
     Query            = new Query <IWorkItem>(QueryProvider, WiqlQueryBuilder);
 }
예제 #2
0
        /// <inheritdoc />
        public override void Given()
        {
            base.Given();

            var soapBuilder = new WiqlQueryBuilder();
            var soapQp      = new TeamFoundationServerWorkItemQueryProvider(Soap, soapBuilder);

            SoapQueryable = new Query <IWorkItem>(soapQp, soapBuilder);

            var restBuilder = new WiqlQueryBuilder();
            var restQp      = new TeamFoundationServerWorkItemQueryProvider(Rest, restBuilder);

            RestQueryable = new Query <IWorkItem>(restQp, restBuilder);
        }