Skip to content

Commit ccd7ae3

Browse files
committed
Update changelog and fix unit test.
1 parent 46e4196 commit ccd7ae3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

appcheck/firebase-appcheck/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Unreleased
2+
* [changed] Migrated the `firebase-appcheck` library to use standard Firebase executors. (#4431)
23

34
# 16.1.0
45
* [unchanged] Updated to accommodate the release of the updated

appcheck/firebase-appcheck/src/test/java/com/google/firebase/appcheck/FirebaseAppCheckRegistrarTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@
1717
import static com.google.common.truth.Truth.assertThat;
1818

1919
import com.google.firebase.FirebaseApp;
20+
import com.google.firebase.annotations.concurrent.Background;
21+
import com.google.firebase.annotations.concurrent.Blocking;
2022
import com.google.firebase.components.Component;
2123
import com.google.firebase.components.Dependency;
24+
import com.google.firebase.components.Qualified;
2225
import com.google.firebase.heartbeatinfo.HeartBeatController;
2326
import java.util.List;
27+
import java.util.concurrent.ExecutorService;
28+
import java.util.concurrent.ScheduledExecutorService;
2429
import org.junit.Test;
2530
import org.junit.runner.RunWith;
2631
import org.robolectric.RobolectricTestRunner;
@@ -39,6 +44,9 @@ public void testGetComponents() {
3944
assertThat(firebaseAppCheckComponent.getDependencies())
4045
.containsExactly(
4146
Dependency.required(FirebaseApp.class),
47+
Dependency.required(Qualified.qualified(Background.class, ExecutorService.class)),
48+
Dependency.required(
49+
Qualified.qualified(Blocking.class, ScheduledExecutorService.class)),
4250
Dependency.optionalProvider(HeartBeatController.class));
4351
assertThat(firebaseAppCheckComponent.isAlwaysEager()).isTrue();
4452
}

0 commit comments

Comments
 (0)