Skip to content

Commit 3f8b895

Browse files
Ivan Misunofacebook-github-bot
Ivan Misuno
authored andcommitted
Back out "Back out "Back out "[iOS][CK] Fix failing CKComponentActionAttributeTests in DEBUG"""
Summary: Original commit changeset: ebb65a60338a Reviewed By: kevin0571 Differential Revision: D24262732 fbshipit-source-id: 8ab9c64eba0d17c2148f6cf2aea325872db8feea
1 parent 9a4a380 commit 3f8b895

26 files changed

+39
-34
lines changed

ComponentKit.xcodeproj/project.pbxproj

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@
167167
03F1ABFD1D2B2A9B00867584 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0B47D871CBDA24900BB33CE /* UIKit.framework */; };
168168
03F1ABFE1D2B2A9B00867584 /* ComponentKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0B47AB51CBD924100BB33CE /* ComponentKit.framework */; };
169169
03F1ABFF1D2B2A9B00867584 /* libComponentKitTestHelpers.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A273801A1AFD144100E6F222 /* libComponentKitTestHelpers.a */; };
170-
14118462252CAEF900EEB050 /* CKComponentTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */; };
171-
14FBDEB9252CA09B00B0C36C /* CKComponentTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */; };
172170
18644AE51B3CB8E60028AF87 /* CKStatefulViewComponentControllerTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 18644AE11B3CB8E60028AF87 /* CKStatefulViewComponentControllerTests.mm */; };
173171
18644AE61B3CB8E60028AF87 /* CKStatefulViewReusePoolTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 18644AE21B3CB8E60028AF87 /* CKStatefulViewReusePoolTests.mm */; };
174172
18644AE71B3CB8E60028AF87 /* CKTestStatefulViewComponent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 18644AE41B3CB8E60028AF87 /* CKTestStatefulViewComponent.mm */; };
@@ -435,8 +433,10 @@
435433
728D25E123E885830016D672 /* CKAssociatedObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7285DE3723E4DA3C00969D07 /* CKAssociatedObject.mm */; };
436434
728D25E523E98A6D0016D672 /* CKAssociatedObjectTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 728D25E423E98A6D0016D672 /* CKAssociatedObjectTests.mm */; };
437435
728D25E623E98A6D0016D672 /* CKAssociatedObjectTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 728D25E423E98A6D0016D672 /* CKAssociatedObjectTests.mm */; };
436+
729D49A3246C741900C1ABBD /* CKComponentTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */; };
438437
72AE129C22D7707400E1C27D /* CKComponentCreationValidation.h in Headers */ = {isa = PBXBuildFile; fileRef = 72AE129A22D7707400E1C27D /* CKComponentCreationValidation.h */; settings = {ATTRIBUTES = (Public, ); }; };
439438
72AE129D22D7707400E1C27D /* CKComponentCreationValidation.mm in Sources */ = {isa = PBXBuildFile; fileRef = 72AE129B22D7707400E1C27D /* CKComponentCreationValidation.mm */; };
439+
72AF9C92246D6414005F393E /* CKComponentTestCase.mm in Sources */ = {isa = PBXBuildFile; fileRef = 729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */; };
440440
72B93ED5234374B600F10364 /* CKComponentGeneratorTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 72B93ED4234374B600F10364 /* CKComponentGeneratorTests.mm */; };
441441
72C410632241659F0025D6B5 /* CKComponentAttachController.h in Headers */ = {isa = PBXBuildFile; fileRef = 72C410602241659E0025D6B5 /* CKComponentAttachController.h */; settings = {ATTRIBUTES = (Private, ); }; };
442442
72C410642241659F0025D6B5 /* CKComponentAttachController.h in Headers */ = {isa = PBXBuildFile; fileRef = 72C410602241659E0025D6B5 /* CKComponentAttachController.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -2617,8 +2617,6 @@
26172617
A273801B1AFD144100E6F222 /* ComponentKitTestHelpers */ = {
26182618
isa = PBXGroup;
26192619
children = (
2620-
729D49A2246C741900C1ABBD /* CKComponentTestCase.h */,
2621-
729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */,
26222620
23F949F322689F7600E590A2 /* CKAnalyticsListenerSpy.h */,
26232621
23F949F422689F7700E590A2 /* CKAnalyticsListenerSpy.mm */,
26242622
C1B53821212EAE6A00E13477 /* CKEmbeddedTestComponent.h */,
@@ -2696,6 +2694,8 @@
26962694
D6CD290520DFE723000881EF /* CKComponentAnimationsEquality.h */,
26972695
D64F4A7920DFEC3A00A0B169 /* CKComponentAnimationsEquality.mm */,
26982696
D6C3B06C20B71FFD0089F06A /* CKComponentAnimationsTests.mm */,
2697+
729D49A2246C741900C1ABBD /* CKComponentTestCase.h */,
2698+
729D49A1246C741800C1ABBD /* CKComponentTestCase.mm */,
26992699
B342DC5D1AC23EA900ACAC53 /* CKComponentViewAttributeTests.mm */,
27002700
B342DC5E1AC23EA900ACAC53 /* CKComponentViewContextTests.mm */,
27012701
B342DC601AC23EA900ACAC53 /* CKComponentViewReuseTests.mm */,
@@ -4883,7 +4883,6 @@
48834883
03F1ABC71D2B2A9B00867584 /* CKComponentHostingViewAsyncStateUpdateTests.mm in Sources */,
48844884
03F1ABC81D2B2A9B00867584 /* CKComponentMountContextLayoutGuideTests.mm in Sources */,
48854885
03F1ABC91D2B2A9B00867584 /* CKComponentDelegateAttributeTests.mm in Sources */,
4886-
14118462252CAEF900EEB050 /* CKComponentTestCase.mm in Sources */,
48874886
03F1ABCA1D2B2A9B00867584 /* CKComponentBoundsAnimationTests.mm in Sources */,
48884887
72CF432F233D088C00A82419 /* CKDataSourceChangesetApplicatorTests.mm in Sources */,
48894888
03F1ABCB1D2B2A9B00867584 /* CKOptimisticViewMutationsTests.mm in Sources */,
@@ -4928,6 +4927,7 @@
49284927
03F1ABEF1D2B2A9B00867584 /* CKStateScopeComponentBuilderTests.mm in Sources */,
49294928
03F1ABF01D2B2A9B00867584 /* CKComponentViewReuseTests.mm in Sources */,
49304929
03F1ABF11D2B2A9B00867584 /* CKDataSourceReloadModificationTests.mm in Sources */,
4930+
72AF9C92246D6414005F393E /* CKComponentTestCase.mm in Sources */,
49314931
03F1ABF41D2B2A9B00867584 /* CKComponentGestureActionsTests.mm in Sources */,
49324932
03F1ABF51D2B2A9B00867584 /* CKStatefulViewReusePoolTests.mm in Sources */,
49334933
03F1ABF71D2B2A9B00867584 /* CKDataSourceUpdateStateModificationTests.mm in Sources */,
@@ -4954,7 +4954,6 @@
49544954
A273801F1AFD144100E6F222 /* CKTestActionComponent.mm in Sources */,
49554955
23F949F622689F7700E590A2 /* CKAnalyticsListenerSpy.mm in Sources */,
49564956
3E9D6724215E39530019429E /* CKRenderComponentTestHelpers.mm in Sources */,
4957-
14FBDEB9252CA09B00B0C36C /* CKComponentTestCase.mm in Sources */,
49584957
2D8270F61E3F72DE008C1A26 /* CKTestRunLoopRunning.mm in Sources */,
49594958
D6B0AE0220AAFB1000A31FDF /* NSIndexSetExtensions.mm in Sources */,
49604959
7FA099151F66F36800B81EED /* CKComponentLifecycleTestHelper.mm in Sources */,
@@ -5000,6 +4999,7 @@
50004999
497824751BC570E000F29081 /* CKCollectionViewDataSourceTests.mm in Sources */,
50015000
A22FE3061AF2CF0C00EC30B8 /* CKStateExposingComponent.mm in Sources */,
50025001
B342DC721AC23EA900ACAC53 /* CKComponentFlexibleSizeRangeProviderTests.mm in Sources */,
5002+
729D49A3246C741900C1ABBD /* CKComponentTestCase.mm in Sources */,
50035003
B761C8B11CB36FA200CDD03F /* CKDataSourceAppliedChangesTests.mm in Sources */,
50045004
B342DC7B1AC23EA900ACAC53 /* CKComponentSizeTests.mm in Sources */,
50055005
824416C21E44E34600904340 /* CKDetectDuplicateComponentTests.mm in Sources */,
@@ -5561,7 +5561,6 @@
55615561
isa = XCBuildConfiguration;
55625562
buildSettings = {
55635563
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
5564-
ENABLE_TESTING_SEARCH_PATHS = YES;
55655564
GCC_NO_COMMON_BLOCKS = YES;
55665565
GCC_PREPROCESSOR_DEFINITIONS = (
55675566
"DEBUG=1",
@@ -5578,7 +5577,6 @@
55785577
buildSettings = {
55795578
COPY_PHASE_STRIP = NO;
55805579
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
5581-
ENABLE_TESTING_SEARCH_PATHS = YES;
55825580
GCC_NO_COMMON_BLOCKS = YES;
55835581
OTHER_LDFLAGS = "-ObjC";
55845582
PRODUCT_NAME = "$(TARGET_NAME)";

ComponentKitApplicationTests/CKComponentActionAttributeTests.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#import <UIKit/UIKit.h>
1212
#import <XCTest/XCTest.h>
1313

14-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1514
#import <ComponentKitTestHelpers/CKTestActionComponent.h>
1615

1716
#import <ComponentKit/CKAction.h>
@@ -28,7 +27,7 @@ @implementation CKComponentActionAttributeTestObject
2827
- (void)someAction {}
2928
@end
3029

31-
@interface CKComponentActionAttributeTests : CKComponentTestCase
30+
@interface CKComponentActionAttributeTests : XCTestCase
3231
@end
3332

3433
/* This needs to be an application test, otherwise sendActionsForControlEvents: doesn't work since UIApplication is nil */

ComponentKitTests/CKActionTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#import <UIKit/UIKit.h>
1212
#import <XCTest/XCTest.h>
1313

14-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1514
#import <ComponentKitTestHelpers/CKTestActionComponent.h>
1615

1716
#import <ComponentKit/CKBuildComponent.h>
@@ -25,6 +24,8 @@
2524
#import <ComponentKit/CKComponentController.h>
2625
#import <ComponentKit/CKThreadLocalComponentScope.h>
2726

27+
#import "CKComponentTestCase.h"
28+
2829
@interface CKComponentActionTestAssertionHandler : NSAssertionHandler
2930
@end
3031

ComponentKitTests/CKAnimationApplicatorTests.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010

1111
#import <XCTest/XCTest.h>
1212

13-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
14-
1513
#import <ComponentKit/CKAnimationApplicator.h>
1614
#import <ComponentKit/CKComponent.h>
1715
#import <ComponentKit/CKComponentAnimationsController.h>
1816
#import <ComponentKit/CKFunctionalHelpers.h>
1917

2018
#import "CKAnimationSpy.h"
19+
#import "CKComponentTestCase.h"
2120
#import "CKComponentAnimationsEquality.h"
2221
#import "TransactionProviderSpy.h"
2322

ComponentKitTests/CKBuildComponentTreeTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#import <ComponentKit/CKFlexboxComponent.h>
1414

15-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1615
#import <ComponentKitTestHelpers/CKRenderComponentTestHelpers.h>
1716
#import <ComponentKit/CKMountable.h>
1817
#import <ComponentKit/CKRenderHelpers.h>
@@ -26,6 +25,7 @@
2625
#import <ComponentKit/CKRenderTreeNode.h>
2726
#import <ComponentKit/CKScopeTreeNode.h>
2827

28+
#import "CKComponentTestCase.h"
2929

3030
/** A helper class that inherits from 'CKRenderComponent'; render the component from the initializer */
3131
@interface CKComponentTreeTestComponent_Render : CKRenderComponent

ComponentKitTests/CKComponentAccessibilityCustomActionsAttributeTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
#import <UIKit/UIKit.h>
1212
#import <XCTest/XCTest.h>
1313

14-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1514
#import <ComponentKitTestHelpers/CKTestActionComponent.h>
1615

1716
#import <ComponentKit/CKAction.h>
1817
#import <ComponentKit/CKCompositeComponent.h>
1918
#import <ComponentKit/CKComponentSubclass.h>
2019

20+
#import "CKComponentTestCase.h"
2121

2222
@interface CKComponentAccessibilityCustomActionsAttributeTests : CKComponentTestCase
2323
@end

ComponentKitTests/CKComponentAccessibilityTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#import <ComponentKit/CKComponentAccessibility.h>
1717

18-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
18+
#import "CKComponentTestCase.h"
1919

2020
using namespace CK::Component::Accessibility;
2121

ComponentKitTests/CKComponentAnimationsTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
#import <ComponentKit/CKComponentAnimations.h>
2020
#import <ComponentKit/CKCompositeComponent.h>
2121
#import <ComponentKit/CKThreadLocalComponentScope.h>
22-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
2322
#import <ComponentKitTestHelpers/CKComponentTestRootScope.h>
2423

2524
#import "CKComponentAnimationsEquality.h"
25+
#import "CKComponentTestCase.h"
2626

2727
@interface CKComponentAnimationsTests_LayoutDiffing: CKComponentTestCase
2828
@end

ComponentKitTests/CKComponentAttachControllerTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
#import <ComponentKit/CKComponentAttachControllerInternal.h>
1818
#import <ComponentKit/CKComponentRootLayoutProvider.h>
1919
#import <ComponentKit/CKComponentRootView.h>
20-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
2120
#import <ComponentKitTestHelpers/CKAnalyticsListenerSpy.h>
2221

22+
#import "CKComponentTestCase.h"
23+
2324
@interface CKComponentRootLayoutTestProvider: NSObject <CKComponentRootLayoutProvider>
2425

2526
@end

ComponentKitTests/CKComponentControllerTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
#import <ComponentKit/CKThreadLocalComponentScope.h>
2121
#import <ComponentKit/CKComponentControllerInternal.h>
2222

23-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
2423
#import <ComponentKitTestHelpers/CKComponentLifecycleTestHelper.h>
2524
#import <ComponentKitTestHelpers/CKComponentTestRootScope.h>
2625
#import <ComponentKitTestHelpers/CKLifecycleTestComponent.h>
2726

27+
#import "CKComponentTestCase.h"
28+
2829
using namespace CKComponentControllerHelper;
2930

3031
// Used for testing component controller that doesn't have lifecycle methods implemented.

ComponentKitTests/CKComponentDelegateAttributeTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#import <ComponentKit/CKComponentInternal.h>
1919
#import <ComponentKit/CKCompositeComponent.h>
2020

21-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
21+
#import "CKComponentTestCase.h"
2222

2323
@interface CKDetectScrollComponent : CKCompositeComponent <UIScrollViewDelegate>
2424
@property (nonatomic, assign) BOOL receivedScroll;

ComponentKitTests/CKComponentGestureActionsTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#import <ComponentKit/CKComponentGestureActions.h>
1919
#import <ComponentKit/CKComponentGestureActionsInternal.h>
2020

21-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
21+
#import "CKComponentTestCase.h"
2222

2323
@interface CKFakeActionComponent : CKComponent <UIGestureRecognizerDelegate>
2424
- (void)test:(CKComponent *)sender;

ComponentKitTests/CKComponentHostingContainerViewProviderTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
#import <ComponentKitTestHelpers/CKLifecycleTestComponent.h>
2020
#import <ComponentKitTestHelpers/CKAnalyticsListenerSpy.h>
21-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
21+
22+
#import "CKComponentTestCase.h"
2223

2324
@interface CKComponentHostingContainerViewProviderTests : CKComponentTestCase
2425
@end

ComponentKitTests/CKComponentMountContextLayoutGuideTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010

1111
#import <XCTest/XCTest.h>
1212

13-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1413
#import <ComponentKitTestHelpers/CKComponentLifecycleTestHelper.h>
1514

1615
#import <ComponentKit/CKComponent.h>
1716
#import <ComponentKit/CKComponentInternal.h>
1817
#import <ComponentKit/CKComponentSubclass.h>
1918
#import <ComponentKit/CKStaticLayoutComponent.h>
2019

20+
#import "CKComponentTestCase.h"
21+
2122
@protocol CKAnalyticsListener;
2223

2324
@interface CKComponentMountContextLayoutGuideTests : CKComponentTestCase

ComponentKitTests/CKComponentMountTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#import <ComponentKit/CKMountableHelpers.h>
2020
#import <ComponentKit/CKMountedObjectForView.h>
2121

22-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
22+
#import "CKComponentTestCase.h"
2323

2424
@interface CKComponentMountTests : CKComponentTestCase
2525
@end

ComponentKitTestHelpers/CKComponentTestCase.mm renamed to ComponentKitTests/CKComponentTestCase.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*/
1010

11-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
11+
#import "CKComponentTestCase.h"
1212

1313
#import <ComponentKit/CKComponentContextHelper.h>
1414
#import <ComponentKit/CKComponentCreationValidation.h>

ComponentKitTests/CKComponentViewAttributeTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
#import <UIKit/UIKit.h>
1212
#import <XCTest/XCTest.h>
1313

14-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1514
#import <ComponentKitTestHelpers/CKComponentLifecycleTestHelper.h>
1615

1716
#import <ComponentKit/CKComponent.h>
1817
#import <ComponentKit/CKComponentSubclass.h>
1918

19+
#import "CKComponentTestCase.h"
20+
2021
@interface CKComponentViewAttributeTests : CKComponentTestCase
2122
@end
2223

ComponentKitTests/CKComponentViewManagerTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#import <ComponentKit/CKComponentInternal.h>
1818
#import <ComponentKit/CKCompositeComponent.h>
1919

20-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
20+
#import "CKComponentTestCase.h"
2121

2222
using CK::Component::ViewManager;
2323

ComponentKitTests/CKComponentViewReuseTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#import <XCTest/XCTest.h>
1212

13-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1413
#import <ComponentKitTestHelpers/CKComponentLifecycleTestHelper.h>
1514

1615
#import <ComponentKit/CKComponent.h>
@@ -20,6 +19,8 @@
2019
#import <ComponentKit/ComponentViewManager.h>
2120
#import <ComponentKit/ComponentViewReuseUtilities.h>
2221

22+
#import "CKComponentTestCase.h"
23+
2324
@interface CKComponentViewReuseTests : CKComponentTestCase
2425
@end
2526

ComponentKitTests/CKFlexboxComponentTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#import "yoga/Yoga.h"
1818

19-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
19+
#import "CKComponentTestCase.h"
2020

2121
@interface CKFlexboxComponent (Test)
2222

ComponentKitTests/CKOptimisticViewMutationsTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#import <XCTest/XCTest.h>
1212

13-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
1413
#import <ComponentKitTestHelpers/CKComponentLifecycleTestHelper.h>
1514

1615
#import <ComponentKit/CKButtonComponent.h>
@@ -19,6 +18,8 @@
1918
#import <ComponentKit/CKComponentSubclass.h>
2019
#import <ComponentKit/CKOptimisticViewMutations.h>
2120

21+
#import "CKComponentTestCase.h"
22+
2223
@interface CKOptimisticViewMutationsTests : CKComponentTestCase
2324
@end
2425

ComponentKitTests/CKRenderComponentTests.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
#import <ComponentKit/CKComponentScopeRoot.h>
2121
#import <ComponentKit/CKRenderHelpers.h>
2222

23-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
2423
#import <ComponentKitTestHelpers/CKRenderComponentTestHelpers.h>
2524

25+
#import "CKComponentTestCase.h"
26+
2627
@interface CKRenderComponentTests : CKComponentTestCase
2728
@end
2829

ComponentKitTests/CKStatelessComponentTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#import <ComponentKit/CKStatelessComponent.h>
1414

15-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
15+
#import "CKComponentTestCase.h"
1616

1717
@interface CKStatelessComponentTests : CKComponentTestCase
1818

ComponentKitTests/CKTreeNodeTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#import <ComponentKit/CKBuildComponent.h>
2525
#import <ComponentKit/CKRenderTreeNode.h>
2626

27-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
27+
#import "CKComponentTestCase.h"
2828

2929
static BOOL verifyChildToParentConnection(id<CKTreeNodeWithChildrenProtocol> parentNode, CKTreeNode *childNode, id<CKRenderComponentProtocol> c) {
3030
auto const componentKey = [childNode componentKey];

ComponentKitTests/Scope/CKDetectDuplicateComponentTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#import <ComponentKit/CKTreeVerificationHelpers.h>
1818

19-
#import <ComponentKitTestHelpers/CKComponentTestCase.h>
19+
#import "CKComponentTestCase.h"
2020

2121
#pragma mark - Tests
2222

0 commit comments

Comments
 (0)