File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed
main/java/com/instabug/reactlibrary
test/java/com/instabug/reactlibrary Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 12
12
import com .facebook .react .bridge .ReactMethod ;
13
13
import com .facebook .react .bridge .ReadableMap ;
14
14
import com .instabug .apm .APM ;
15
- import com .instabug .apm .model .ExecutionTrace ;
16
15
import com .instabug .apm .networking .APMNetworkLogger ;
17
16
import com .instabug .apm .networkinterception .cp .APMCPNetworkLog ;
18
17
import com .instabug .reactlibrary .utils .EventEmitterModule ;
@@ -33,8 +32,6 @@ public RNInstabugAPMModule(ReactApplicationContext reactApplicationContext) {
33
32
super (reactApplicationContext );
34
33
}
35
34
36
- @ Deprecated
37
- HashMap <String , ExecutionTrace > traces = new HashMap <String , ExecutionTrace >();
38
35
39
36
@ Nonnull
40
37
@ Override
Original file line number Diff line number Diff line change @@ -145,34 +145,6 @@ public void testSetFlowAttribute() {
145
145
mockAPM .verifyNoMoreInteractions ();
146
146
}
147
147
148
- // @Test
149
- // public void givenString$setExecutionTraceAttribute_whenQuery_thenShouldCallNativeApiWithIntArgs() {
150
- // // given
151
- // PowerMockito.mockStatic(APM.class);
152
- // ExecutionTrace trace = mock(ExecutionTrace.class);
153
- // Callback callback = mock(Callback.class);
154
- // // when
155
- // PowerMockito.whenNew(ExecutionTrace.class).withArguments("trace").thenReturn(trace);
156
- // apmModule.startExecutionTrace("trace", "1", callback);
157
- // apmModule.setExecutionTraceAttribute("trace", "key", "value");
158
- // // then
159
- // verify(trace).setAttribute("key", "value");
160
- // }
161
-
162
- // @Test
163
- // public void givenTrace$endExecutionTrace_whenQuery_thenShouldCallNativeApiWithIntArgs() {
164
- // // given
165
- // PowerMockito.mockStatic(APM.class);
166
- // ExecutionTrace trace = mock(ExecutionTrace.class);
167
- // Callback callback = mock(Callback.class);
168
- // // when
169
- // PowerMockito.whenNew(ExecutionTrace.class).withArguments("trace").thenReturn(trace);
170
- // apmModule.startExecutionTrace("trace", "1", callback);
171
- // apmModule.endExecutionTrace("1");
172
- // // then
173
- // verify(trace).end();
174
- // }
175
-
176
148
@ Test
177
149
public void givenString$startUITrace_whenQuery_thenShouldCallNativeApiWithEnabled () {
178
150
You can’t perform that action at this time.
0 commit comments