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

google / santa / 10309967616

08 Aug 2024 09:43PM UTC coverage: 62.69% (-0.4%) from 63.125%
10309967616

push

github

web-flow
sync: Fix Content-Type logic bug, add test (#1412)

5612 of 13404 branches covered (41.87%)

Branch coverage included in aggregate %.

12 of 12 new or added lines in 2 files covered. (100.0%)

170 existing lines in 8 files now uncovered.

18659 of 25312 relevant lines covered (73.72%)

6451.94 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

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

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

UNCOV
29
  return r;
×
UNCOV
30
}
×
31

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

UNCOV
36
+ (MOLXPCConnection *)configuredConnection {
×
UNCOV
37
  MOLXPCConnection *c = [[MOLXPCConnection alloc] initClientWithName:[self serviceID]
×
UNCOV
38
                                                          privileged:YES];
×
UNCOV
39
  c.remoteInterface = [self bundleServiceInterface];
×
UNCOV
40
  return c;
×
UNCOV
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