File tree 1 file changed +24
-0
lines changed
packages/react-native/ReactAndroid/src/test/java/com/facebook/testutils/shadows
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ package com.facebook.testutils.shadows
9
+
10
+ import android.content.Context
11
+ import com.facebook.soloader.SoLoader
12
+ import kotlin.jvm.JvmStatic
13
+ import org.robolectric.annotation.Implementation
14
+ import org.robolectric.annotation.Implements
15
+
16
+ @Suppress(" UNUSED_PARAMETER" )
17
+ @Implements(SoLoader ::class )
18
+ class ShadowSoLoader {
19
+ companion object {
20
+ @JvmStatic @Implementation fun init (context : Context ? , flags : Int ) {}
21
+
22
+ @JvmStatic @Implementation fun loadLibrary (shortName : String? ): Boolean = true
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments