@@ -11,7 +11,7 @@ import * as sinon from 'sinon';
1111import { PytestTestDiscoveryAdapter } from '../../../client/testing/testController/pytest/pytestDiscoveryAdapter' ;
1212import { ITestController , ITestResultResolver } from '../../../client/testing/testController/common/types' ;
1313import { IPythonExecutionFactory } from '../../../client/common/process/types' ;
14- import { IConfigurationService , ITestOutputChannel } from '../../../client/common/types' ;
14+ import { IConfigurationService , ILogOutputChannel } from '../../../client/common/types' ;
1515import { IServiceContainer } from '../../../client/ioc/types' ;
1616import { EXTENSION_ROOT_DIR_FOR_TESTS , initialize } from '../../initialize' ;
1717import { traceError , traceLog } from '../../../client/logging' ;
@@ -32,7 +32,7 @@ suite('End to End Tests: test adapters', () => {
3232 let serviceContainer : IServiceContainer ;
3333 let envVarsService : IEnvironmentVariablesProvider ;
3434 let workspaceUri : Uri ;
35- let testOutputChannel : typeMoq . IMock < ITestOutputChannel > ;
35+ let logOutputChannel : typeMoq . IMock < ILogOutputChannel > ;
3636 let testController : TestController ;
3737 let getPixiStub : sinon . SinonStub ;
3838 const unittestProvider : TestProvider = UNITTEST_PROVIDER ;
@@ -117,16 +117,16 @@ suite('End to End Tests: test adapters', () => {
117117
118118 // create objects that were not injected
119119
120- testOutputChannel = createTypeMoq < ITestOutputChannel > ( ) ;
121- testOutputChannel
120+ logOutputChannel = createTypeMoq < ILogOutputChannel > ( ) ;
121+ logOutputChannel
122122 . setup ( ( x ) => x . append ( typeMoq . It . isAny ( ) ) )
123123 . callback ( ( appendVal : any ) => {
124124 traceLog ( 'output channel - ' , appendVal . toString ( ) ) ;
125125 } )
126126 . returns ( ( ) => {
127127 // Whatever you need to return
128128 } ) ;
129- testOutputChannel
129+ logOutputChannel
130130 . setup ( ( x ) => x . appendLine ( typeMoq . It . isAny ( ) ) )
131131 . callback ( ( appendVal : any ) => {
132132 traceLog ( 'output channel ' , appendVal . toString ( ) ) ;
@@ -191,7 +191,7 @@ suite('End to End Tests: test adapters', () => {
191191 // run unittest discovery
192192 const discoveryAdapter = new UnittestTestDiscoveryAdapter (
193193 configService ,
194- testOutputChannel . object ,
194+ logOutputChannel . object ,
195195 resultResolver ,
196196 envVarsService ,
197197 ) ;
@@ -236,7 +236,7 @@ suite('End to End Tests: test adapters', () => {
236236 // run discovery
237237 const discoveryAdapter = new UnittestTestDiscoveryAdapter (
238238 configService ,
239- testOutputChannel . object ,
239+ logOutputChannel . object ,
240240 resultResolver ,
241241 envVarsService ,
242242 ) ;
@@ -276,7 +276,7 @@ suite('End to End Tests: test adapters', () => {
276276 // run pytest discovery
277277 const discoveryAdapter = new PytestTestDiscoveryAdapter (
278278 configService ,
279- testOutputChannel . object ,
279+ logOutputChannel . object ,
280280 resultResolver ,
281281 envVarsService ,
282282 ) ;
@@ -331,7 +331,7 @@ suite('End to End Tests: test adapters', () => {
331331 // run pytest discovery
332332 const discoveryAdapter = new PytestTestDiscoveryAdapter (
333333 configService ,
334- testOutputChannel . object ,
334+ logOutputChannel . object ,
335335 resultResolver ,
336336 envVarsService ,
337337 ) ;
@@ -420,7 +420,7 @@ suite('End to End Tests: test adapters', () => {
420420 // run pytest discovery
421421 const discoveryAdapter = new PytestTestDiscoveryAdapter (
422422 configService ,
423- testOutputChannel . object ,
423+ logOutputChannel . object ,
424424 resultResolver ,
425425 envVarsService ,
426426 ) ;
@@ -496,7 +496,7 @@ suite('End to End Tests: test adapters', () => {
496496 // run pytest discovery
497497 const discoveryAdapter = new PytestTestDiscoveryAdapter (
498498 configService ,
499- testOutputChannel . object ,
499+ logOutputChannel . object ,
500500 resultResolver ,
501501 envVarsService ,
502502 ) ;
@@ -550,7 +550,7 @@ suite('End to End Tests: test adapters', () => {
550550 // run execution
551551 const executionAdapter = new UnittestTestExecutionAdapter (
552552 configService ,
553- testOutputChannel . object ,
553+ logOutputChannel . object ,
554554 resultResolver ,
555555 envVarsService ,
556556 ) ;
@@ -630,7 +630,7 @@ suite('End to End Tests: test adapters', () => {
630630 // run unittest execution
631631 const executionAdapter = new UnittestTestExecutionAdapter (
632632 configService ,
633- testOutputChannel . object ,
633+ logOutputChannel . object ,
634634 resultResolver ,
635635 envVarsService ,
636636 ) ;
@@ -705,7 +705,7 @@ suite('End to End Tests: test adapters', () => {
705705 // run pytest execution
706706 const executionAdapter = new PytestTestExecutionAdapter (
707707 configService ,
708- testOutputChannel . object ,
708+ logOutputChannel . object ,
709709 resultResolver ,
710710 envVarsService ,
711711 ) ;
@@ -785,7 +785,7 @@ suite('End to End Tests: test adapters', () => {
785785 // run execution
786786 const executionAdapter = new UnittestTestExecutionAdapter (
787787 configService ,
788- testOutputChannel . object ,
788+ logOutputChannel . object ,
789789 resultResolver ,
790790 envVarsService ,
791791 ) ;
@@ -839,7 +839,7 @@ suite('End to End Tests: test adapters', () => {
839839 // run pytest execution
840840 const executionAdapter = new PytestTestExecutionAdapter (
841841 configService ,
842- testOutputChannel . object ,
842+ logOutputChannel . object ,
843843 resultResolver ,
844844 envVarsService ,
845845 ) ;
@@ -910,7 +910,7 @@ suite('End to End Tests: test adapters', () => {
910910 // run pytest execution
911911 const executionAdapter = new PytestTestExecutionAdapter (
912912 configService ,
913- testOutputChannel . object ,
913+ logOutputChannel . object ,
914914 resultResolver ,
915915 envVarsService ,
916916 ) ;
@@ -984,7 +984,7 @@ suite('End to End Tests: test adapters', () => {
984984
985985 const discoveryAdapter = new UnittestTestDiscoveryAdapter (
986986 configService ,
987- testOutputChannel . object ,
987+ logOutputChannel . object ,
988988 resultResolver ,
989989 envVarsService ,
990990 ) ;
@@ -1043,7 +1043,7 @@ suite('End to End Tests: test adapters', () => {
10431043 // run pytest discovery
10441044 const discoveryAdapter = new PytestTestDiscoveryAdapter (
10451045 configService ,
1046- testOutputChannel . object ,
1046+ logOutputChannel . object ,
10471047 resultResolver ,
10481048 envVarsService ,
10491049 ) ;
@@ -1104,7 +1104,7 @@ suite('End to End Tests: test adapters', () => {
11041104 // run pytest execution
11051105 const executionAdapter = new PytestTestExecutionAdapter (
11061106 configService ,
1107- testOutputChannel . object ,
1107+ logOutputChannel . object ,
11081108 resultResolver ,
11091109 envVarsService ,
11101110 ) ;
0 commit comments