File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
example/ios/InstabugTests Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,6 @@ - (void)setUp {
19
19
self.api = [[ApmApi alloc ] init ];
20
20
}
21
21
22
- - (IBGExecutionTrace *)mockTraceWithId : (NSString *)traceId {
23
- NSString * name = @" trace-name" ;
24
- IBGExecutionTrace *mTrace = OCMClassMock ([IBGExecutionTrace class ]);
25
-
26
- OCMStub ([self .mAPM startExecutionTraceWithName: name]).andReturn (mTrace);
27
-
28
- [self .api startExecutionTraceId: traceId name: name completion: ^(NSString * _Nullable _, FlutterError * _Nullable __) {}];
29
-
30
- return mTrace;
31
- }
32
22
33
23
- (void )testSetEnabled {
34
24
NSNumber *isEnabled = @1 ;
@@ -117,30 +107,6 @@ - (void)testSetAutoUITraceEnabled {
117
107
}
118
108
119
109
120
-
121
-
122
- - (void )testSetExecutionTraceAttribute {
123
- NSString *traceId = @" trace-id" ;
124
- NSString *key = @" is_premium" ;
125
- NSString *value = @" true" ;
126
- FlutterError *error;
127
- id mTrace = [self mockTraceWithId: traceId];
128
-
129
- [self .api setExecutionTraceAttributeId: traceId key: key value: value error: &error];
130
-
131
- OCMVerify ([mTrace setAttributeWithKey: key value: value]);
132
- }
133
-
134
- - (void )testEndExecutionTrace {
135
- NSString *traceId = @" trace-id" ;
136
- FlutterError *error;
137
- IBGExecutionTrace *mTrace = [self mockTraceWithId: traceId];
138
-
139
- [self .api endExecutionTraceId: traceId error: &error];
140
-
141
- OCMVerify ([mTrace end ]);
142
- }
143
-
144
110
- (void ) testStartFlow {
145
111
NSString * appFlowName = @" app-flow-name" ;
146
112
FlutterError *error;
You can’t perform that action at this time.
0 commit comments