Ejemplo n.º 1
0
 public TestBatch Create()
 {
     this.batch = new TestBatch();
     foreach (Assembly assembly in this.TestAssemblies)
     {
         TestAssembly testAssembly = CreateTestAssembly(assembly);
         this.batch.TestAssemblies.Add(testAssembly);
     }
     return this.batch;
 }
Ejemplo n.º 2
0
 public TestBatch Create()
 {
     this.batch = new TestBatch();
     foreach (Assembly assembly in this.TestAssemblies)
     {
         TestAssembly testAssembly = CreateTestAssembly(assembly);
         this.batch.TestAssemblies.Add(testAssembly);
     }
     return(this.batch);
 }
 public override void AfterBatch(TestBatch batch)
 {
     base.AfterBatch(batch);
     if (silent)
         return;
     this.Out.WriteLine();
     this.Out.WriteLine("{0}: Tests finished", DateTime.Now.ToLongTimeString());
     this.Out.Flush();
 }
 public override void BeforeBatch(TestBatch batch)
 {
     base.BeforeBatch(batch);
     if (silent)
         return;
     this.Out.WriteLine("{0}: Starting tests", DateTime.Now.ToLongTimeString());
     this.Out.Flush();
 }
Ejemplo n.º 5
0
 public virtual void AfterBatch(TestBatch batch)
 {
 }
Ejemplo n.º 6
0
 public virtual void BeforeBatch(TestBatch batch)
 {
     this.counter = new TestCounter(batch.GetTestCount());
 }
        public void AfterBatch(TestBatch batch)
        {
            if (this.testBatch != null)
            {
                this.testBatch.EndTime = DateTime.Now.ToString("u");
                this.testBatch.UpdateCounter();
            }
		}
 public void BeforeBatch(TestBatch batch)
 {
     this.testBatch.SetMainAssembly(batch.MainTestAssembly.Assembly);
     if (this.testBatchSearcher!=null)
         this.testBatch.HasHistory = true;
     this.testBatch.StartTime = DateTime.Now.ToString("u");
 }