@@ -14,7 +14,7 @@ import MockHttpsServer from "./testAssets/MockHttpsServer";
1414import { expect } from 'chai' ;
1515import TestZip from "./testAssets/TestZip" ;
1616import { createTestFile } from "./testAssets/TestFile" ;
17- import { PackageInstallation , LogPlatformInfo , DownloadStart , DownloadSizeObtained , DownloadProgress , DownloadSuccess , InstallationStart , InstallationSuccess , PackageInstallStart } from "../../src/omnisharp/loggingEvents" ;
17+ import { PackageInstallation , LogPlatformInfo , DownloadStart , DownloadSizeObtained , DownloadProgress , DownloadSuccess , InstallationStart , InstallationSuccess , PackageInstallStart , DownloadValidation , IntegrityCheckSuccess } from "../../src/omnisharp/loggingEvents" ;
1818import TestEventBus from "./testAssets/TestEventBus" ;
1919import { testPackageJSON } from "./testAssets/testAssets" ;
2020
@@ -59,14 +59,16 @@ suite('OmnisharpDownloader', () => {
5959 } ) ;
6060
6161 test ( 'Events are created' , async ( ) => {
62- let expectedSequence = [
63- new PackageInstallation ( 'OmniSharp Version = 1.2.3' ) ,
64- new LogPlatformInfo ( new PlatformInformation ( "win32" , "x86" ) ) ,
62+ let expectedSequence = [
63+ new PackageInstallation ( 'OmniSharp Version = 1.2.3' ) ,
64+ new LogPlatformInfo ( new PlatformInformation ( "win32" , "x86" ) ) ,
6565 new PackageInstallStart ( ) ,
66- new DownloadStart ( 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
67- new DownloadSizeObtained ( testZip . size ) ,
68- new DownloadProgress ( 100 , 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
69- new DownloadSuccess ( ' Done!' ) ,
66+ new DownloadStart ( 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
67+ new DownloadSizeObtained ( testZip . size ) ,
68+ new DownloadProgress ( 100 , 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
69+ new DownloadSuccess ( ' Done!' ) ,
70+ new DownloadValidation ( 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
71+ new IntegrityCheckSuccess ( ) ,
7072 new InstallationStart ( 'OmniSharp for Windows (.NET 4.6 / x86), Version = 1.2.3' ) ,
7173 new InstallationSuccess ( )
7274 ] ;
0 commit comments