protected override bool Visit(ITestClassStarting testClassStarting)
        {
            var taskInfo = context.GetRemoteTask(testClassStarting);

            taskInfo.Starting();
            return(context.ShouldContinue);
        }
        _TestClassStarting AdaptTestClassStarting(ITestClassStarting message)
        {
            var testCollectionUniqueID = UniqueIDForTestCollection(assemblyUniqueID, message.TestCollection);
            var testClassUniqueID      = UniqueIDForTestClass(testCollectionUniqueID, message.TestClass);

            return(new _TestClassStarting
            {
                AssemblyUniqueID = assemblyUniqueID,
                TestClass = message.TestClass.Class.Name,
                TestClassUniqueID = testClassUniqueID,
                TestCollectionUniqueID = testCollectionUniqueID
            });
        }
Beispiel #3
0
 /// <summary>
 /// Called when an instance of <see cref="ITestClassStarting"/> is sent to the message sink.
 /// </summary>
 /// <param name="testClassStarting">The message.</param>
 /// <returns>Return <c>true</c> to continue executing tests; <c>false</c> otherwise.</returns>
 protected virtual bool Visit(ITestClassStarting testClassStarting)
 {
     return(true);
 }
Beispiel #4
0
 protected override bool Visit(ITestClassStarting testClassStarting)
 {
     Calls.Add("ITestClassStarting");
     return base.Visit(testClassStarting);
 }
 protected override bool Visit(ITestClassStarting testClassStarting)
 {
     Calls.Add("ITestClassStarting");
     return(base.Visit(testClassStarting));
 }