|
35 | 35 | static const uint16_t kTimeoutInSeconds = 3;
|
36 | 36 | static NSString * kOnboardingPayload = @"MT:-24J0AFN00KA0648G00";
|
37 | 37 | static const uint16_t kTestVendorId = 0xFFF1u;
|
38 |
| -//static const uint16_t kSubscriptionPoolBaseTimeoutInSeconds = 10; |
| 38 | +static const uint16_t kSubscriptionPoolBaseTimeoutInSeconds = 10; |
39 | 39 |
|
40 | 40 | @interface MTRPerControllerStorageTestsControllerDelegate : NSObject <MTRDeviceControllerDelegate>
|
41 | 41 | @property (nonatomic, strong) XCTestExpectation * expectation;
|
@@ -2157,7 +2157,7 @@ - (void)testSetMRPParametersWithRunningController
|
2157 | 2157 | MTRSetMessageReliabilityParameters(nil, nil, nil, nil);
|
2158 | 2158 | }
|
2159 | 2159 |
|
2160 |
| -/*static NSString * const kLocalTestUserDefaultDomain = @"org.csa-iot.matter.darwintest"; |
| 2160 | +static NSString * const kLocalTestUserDefaultDomain = @"org.csa-iot.matter.darwintest"; |
2161 | 2161 | static NSString * const kLocalTestUserDefaultSubscriptionPoolSizeOverrideKey = @"subscriptionPoolSizeOverride";
|
2162 | 2162 |
|
2163 | 2163 | // TODO: This might also want to go in a separate test file, with some shared setup for commissioning devices per test
|
@@ -2300,7 +2300,7 @@ - (void)testSubscriptionPool
|
2300 | 2300 | [self doTestSubscriptionPoolWithSize:1 deviceOnboardingPayloads:deviceOnboardingPayloads];
|
2301 | 2301 | [self doTestSubscriptionPoolWithSize:2 deviceOnboardingPayloads:deviceOnboardingPayloads];
|
2302 | 2302 | }
|
2303 |
| -}*/ |
| 2303 | +} |
2304 | 2304 |
|
2305 | 2305 | - (MTRDevice *)getMTRDevice:(NSNumber *)deviceID
|
2306 | 2306 | {
|
@@ -2674,7 +2674,6 @@ - (void)testDataStorageUpdatesWhenRemovingAttributes
|
2674 | 2674 | XCTAssertNotNil(testClusterDataValue);
|
2675 | 2675 |
|
2676 | 2676 | dispatch_sync(self->_storageQueue, ^{
|
2677 |
| - |
2678 | 2677 | for (NSNumber * cluster in [controller.controllerDataStore _fetchClusterIndexForNodeID:deviceID endpointID:testEndpoint]) {
|
2679 | 2678 |
|
2680 | 2679 | // Make sure that the cluster data in the data storage is populated with cluster data for MTRClusterIDTypeIdentifyID cluster
|
@@ -2740,7 +2739,6 @@ - (void)testDataStorageUpdatesWhenRemovingAttributes
|
2740 | 2739 | // and has all attributes except attribute 1 which was deleted.
|
2741 | 2740 | // We will page in the cluster data from storage to check the above.
|
2742 | 2741 | dispatch_sync(self->_storageQueue, ^{
|
2743 |
| - |
2744 | 2742 | for (NSNumber * cluster in [controller.controllerDataStore _fetchClusterIndexForNodeID:deviceID endpointID:testEndpoint]) {
|
2745 | 2743 | MTRDeviceClusterData * clusterData = [controller.controllerDataStore _fetchClusterDataForNodeID:deviceID endpointID:testEndpoint clusterID:cluster];
|
2746 | 2744 | XCTAssertNotNil(clusterData);
|
|
0 commit comments