File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
appcheck/firebase-appcheck
src/test/java/com/google/firebase/appcheck Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
+ * [ changed] Migrated the ` firebase-appcheck ` library to use standard Firebase executors. (#4431 )
2
3
3
4
# 16.1.0
4
5
* [ unchanged] Updated to accommodate the release of the updated
Original file line number Diff line number Diff line change 17
17
import static com .google .common .truth .Truth .assertThat ;
18
18
19
19
import com .google .firebase .FirebaseApp ;
20
+ import com .google .firebase .annotations .concurrent .Background ;
21
+ import com .google .firebase .annotations .concurrent .Blocking ;
20
22
import com .google .firebase .components .Component ;
21
23
import com .google .firebase .components .Dependency ;
24
+ import com .google .firebase .components .Qualified ;
22
25
import com .google .firebase .heartbeatinfo .HeartBeatController ;
23
26
import java .util .List ;
27
+ import java .util .concurrent .ExecutorService ;
28
+ import java .util .concurrent .ScheduledExecutorService ;
24
29
import org .junit .Test ;
25
30
import org .junit .runner .RunWith ;
26
31
import org .robolectric .RobolectricTestRunner ;
@@ -39,6 +44,9 @@ public void testGetComponents() {
39
44
assertThat (firebaseAppCheckComponent .getDependencies ())
40
45
.containsExactly (
41
46
Dependency .required (FirebaseApp .class ),
47
+ Dependency .required (Qualified .qualified (Background .class , ExecutorService .class )),
48
+ Dependency .required (
49
+ Qualified .qualified (Blocking .class , ScheduledExecutorService .class )),
42
50
Dependency .optionalProvider (HeartBeatController .class ));
43
51
assertThat (firebaseAppCheckComponent .isAlwaysEager ()).isTrue ();
44
52
}
You can’t perform that action at this time.
0 commit comments