public void InitializeTest()
        {
            TfsTeamProjectCollection collection = IntegrationTestHelper.Tpc;

            this.factory   = new TfsQueryFactory(new WorkItemStore(collection));
            this.variables = new Dictionary <string, string>();
            this.variables.Add("project", TestHelper.ProjectName);
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamProjectQuery"/> class.
 /// </summary>
 /// <param name="projectName">The name of the project in the team project collection that this instance will represent.</param>
 /// <param name="queryFactory">The factory used to create <see cref="ITfsQuery"/> objects.</param>
 public TeamProjectQuery(string projectName, ITfsQueryFactory queryFactory)
 {
     this.projectName  = projectName;
     this.queryFactory = queryFactory;
 }