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 {
256256 OCMVerify ([mock removeUserAttributeForKey: key]);
257257}
258258
259+ - (void )testSetViewHierarchyEnabled {
260+ BOOL enabled = true ;
261+ [self .instabugBridge setViewHierarchyEnabled: enabled];
262+ XCTAssertTrue (Instabug.shouldCaptureViewHierarchy );
263+ }
264+
259265- (void )testShowWelcomeMessageWithMode {
260266 id mock = OCMClassMock ([Instabug class ]);
261267 IBGWelcomeMessageMode welcomeMessageMode = IBGWelcomeMessageModeBeta;
Original file line number Diff line number Diff line change 6868
6969- (void )clearAllUserAttributes ;
7070
71+ - (void )setViewHierarchyEnabled : (BOOL )viewHierarchyEnabled ;
72+
7173- (void )showWelcomeMessageWithMode : (IBGWelcomeMessageMode)welcomeMessageMode ;
7274
7375- (void )setWelcomeMessageMode : (IBGWelcomeMessageMode)welcomeMessageMode ;
You can’t perform that action at this time.
0 commit comments