File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,10 @@ describe("Plugins service", () => {
553
553
frameworkPackageName : "tns-android" ,
554
554
configurationFileName : "AndroidManifest.xml" ,
555
555
configurationFilePath : path . join ( appDestinationDirectoryPath , "AndroidManifest.xml" ) ,
556
- mergeXmlConfig : [ { "nodename" : "manifest" , "attrname" : "*" } ]
556
+ mergeXmlConfig : [ { "nodename" : "manifest" , "attrname" : "*" } ] ,
557
+ platformProjectService : {
558
+ preparePluginNativeCode : ( pluginData : IPluginData ) => ( ( ) => { } ) . future < void > ( ) ( )
559
+ }
557
560
}
558
561
}
559
562
Original file line number Diff line number Diff line change @@ -240,7 +240,9 @@ export class PlatformsDataStub implements IPlatformsData {
240
240
validPackageNamesForDevice : [ ] ,
241
241
frameworkFilesExtensions : [ ] ,
242
242
appDestinationDirectoryPath : "" ,
243
- appResourcesDestinationDirectoryPath : ""
243
+ appResourcesDestinationDirectoryPath : "" ,
244
+ preparePluginNativeCode : ( ) => Future . fromResult ( ) ,
245
+ removePluginNativeCode : ( ) => Future . fromResult ( )
244
246
} ;
245
247
}
246
248
@@ -297,6 +299,12 @@ export class PlatformProjectServiceStub implements IPlatformProjectService {
297
299
updatePlatform ( currentVersion : string , newVersion : string ) : IFuture < void > {
298
300
return Future . fromResult ( ) ;
299
301
}
302
+ preparePluginNativeCode ( pluginData : IPluginData ) : IFuture < void > {
303
+ return Future . fromResult ( ) ;
304
+ }
305
+ removePluginNativeCode ( pluginData : IPluginData ) : IFuture < void > {
306
+ return Future . fromResult ( ) ;
307
+ }
300
308
}
301
309
302
310
export class ProjectDataService implements IProjectDataService {
You can’t perform that action at this time.
0 commit comments