File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
InstabugSample/ios/InstabugSampleTests Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,12 @@ - (void)testClearAllUserAttributes {
256
256
OCMVerify ([mock removeUserAttributeForKey: key]);
257
257
}
258
258
259
+ - (void )testSetViewHierarchyEnabled {
260
+ BOOL enabled = true ;
261
+ [self .instabugBridge setViewHierarchyEnabled: enabled];
262
+ XCTAssertTrue (Instabug.shouldCaptureViewHierarchy );
263
+ }
264
+
259
265
- (void )testShowWelcomeMessageWithMode {
260
266
id mock = OCMClassMock ([Instabug class ]);
261
267
IBGWelcomeMessageMode welcomeMessageMode = IBGWelcomeMessageModeBeta;
Original file line number Diff line number Diff line change 68
68
69
69
- (void )clearAllUserAttributes ;
70
70
71
+ - (void )setViewHierarchyEnabled : (BOOL )viewHierarchyEnabled ;
72
+
71
73
- (void )showWelcomeMessageWithMode : (IBGWelcomeMessageMode)welcomeMessageMode ;
72
74
73
75
- (void )setWelcomeMessageMode : (IBGWelcomeMessageMode)welcomeMessageMode ;
You can’t perform that action at this time.
0 commit comments