Exemple #1
0
 public void TestStuff()
 {
     Source = SplatterCore.Instance.Sources[SourceID];
     BaseQuery query1 = new BaseQuery ();
     Generator = query1;
     query1.SourceId = SourceID;
     //query1.Configure();
     List<BugReport> results = query1.GetQueryResults ();
     foreach (BugReport bug in results) {
         Console.WriteLine (bug.ToString ());
         Bugs.Add (bug);
         BugIds.Add (bug.id);
     }
 }
Exemple #2
0
 public Query()
 {
     Bugs = new List<BugReport> ();
     BugIds = new List<int> ();
     Generator = new BaseQuery ();
 }