Skip to content

Commit

Permalink
[ChipTool] Remove some dead code in CHIPTests/CHIPClustersTests.m (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Feb 26, 2024
1 parent b6e3aac commit 2305912
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/darwin/Framework/CHIPTests/CHIPClustersTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@
#import "CHIPTestKeys.h"
#import "CHIPTestStorage.h"

#import <app/util/af-enums.h>

#import <math.h> // For INFINITY

// system dependencies
#import <XCTest/XCTest.h>

const uint16_t kPairingTimeoutInSeconds = 10;
const uint16_t kAddressResolveTimeoutInSeconds = 10;
const uint16_t kCASESetupTimeoutInSeconds = 30;
const uint16_t kTimeoutInSeconds = 20;
const uint64_t nodeId = 0x12344321;
Expand All @@ -45,19 +40,9 @@
NSString * kAddress = @"::1";
static uint16_t kTestVendorId = 0xFFF1u;

// This test suite reuses a device object to speed up the test process for CI.
// The following global variable holds the reference to the device object.
static CHIPDevice * mConnectedDevice;

// Singleton controller we use.
static CHIPDeviceController * sController = nil;

CHIPDevice * GetConnectedDevice(void)
{
XCTAssertNotNil(mConnectedDevice);
return mConnectedDevice;
}

@interface CHIPToolPairingDelegate : NSObject <CHIPDevicePairingDelegate>
@property (nonatomic, strong) XCTestExpectation * expectation;
@end
Expand Down

0 comments on commit 2305912

Please sign in to comment.