Esempio n. 1
0
 void Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.OnRunComplete(
     bool isCanceled,
     bool isAborted,
     System.Collections.Generic.ICollection_P <string> executorUris,
     System.Exception_P exception,
     Microsoft.VisualStudio.TestPlatform.Core.TestRunStats_P testRunStats,
     System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult_P> lastChunk,
     bool adapterHintedToShutdownAfterRun,
     System.TimeSpan_P elapsedTime,
     System.Collections.Generic.ICollection_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet_P> runContextAttachments)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         isCanceled,
         isAborted,
         executorUris,
         exception,
         testRunStats,
         lastChunk,
         adapterHintedToShutdownAfterRun,
         elapsedTime,
         runContextAttachments
     };
     base.Invoke(
         ((global::System.Reflection.MethodInfo)targetMethodInfo),
         callsiteArgs
         );
 }
Esempio n. 2
0
 void Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.OnTestRunChange(
     Microsoft.VisualStudio.TestPlatform.Core.TestRunStats_P testRunStats,
     System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult_P> newTestResults)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         testRunStats,
         newTestResults
     };
     base.Invoke(
         ((global::System.Reflection.MethodInfo)targetMethodInfo),
         callsiteArgs
         );
 }