• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / santa / 10407167070

15 Aug 2024 04:36PM UTC coverage: 63.117% (-0.1%) from 63.263%
10407167070

push

github

web-flow
s/NSDictionary/NSBundle/ (#1418)

5679 of 13492 branches covered (42.09%)

Branch coverage included in aggregate %.

18815 of 25315 relevant lines covered (74.32%)

6762.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Source/common/SNTXPCBundleServiceInterface.m
1
/// Copyright 2017 Google Inc. All rights reserved.
2
///
3
/// Licensed under the Apache License, Version 2.0 (the "License");
4
/// you may not use this file except in compliance with the License.
5
/// You may obtain a copy of the License at
6
///
7
///    http://www.apache.org/licenses/LICENSE-2.0
8
///
9
///    Unless required by applicable law or agreed to in writing, software
10
///    distributed under the License is distributed on an "AS IS" BASIS,
11
///    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
///    See the License for the specific language governing permissions and
13
///    limitations under the License.
14

15
#import "Source/common/SNTXPCBundleServiceInterface.h"
16

17
#import "Source/common/SNTStoredEvent.h"
18

19
@implementation SNTXPCBundleServiceInterface
20

21
+ (NSXPCInterface *)bundleServiceInterface {
×
22
  NSXPCInterface *r = [NSXPCInterface interfaceWithProtocol:@protocol(SNTBundleServiceXPC)];
×
23

24
  [r setClasses:[NSSet setWithObjects:[NSArray class], [SNTStoredEvent class], nil]
×
25
      forSelector:@selector(hashBundleBinariesForEvent:reply:)
×
26
    argumentIndex:1
×
27
          ofReply:YES];
×
28

29
  return r;
×
30
}
×
31

32
+ (NSString *)serviceID {
×
33
  return @"com.google.santa.bundleservice";
×
34
}
×
35

36
+ (MOLXPCConnection *)configuredConnection {
×
37
  MOLXPCConnection *c = [[MOLXPCConnection alloc] initClientWithName:[self serviceID]
×
38
                                                          privileged:YES];
×
39
  c.remoteInterface = [self bundleServiceInterface];
×
40
  return c;
×
41
}
×
42

43
@end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc