Skip to content

Fix typo in or query test #4237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Fix typo in or query test #4237

merged 1 commit into from
Oct 25, 2022

Conversation

cherylEnkidu
Copy link
Contributor

#no-changelog

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from ? (ae3bdb8) to 44.37% (4bd8118) by ?.

    315 individual files with coverage change

    FilenameBase (ae3bdb8)Merge (4bd8118)Diff
    AbstractStream.java?34.81%?
    ActivityScope.java?0.00%?
    AggregateQuery.java?15.00%?
    AggregateQuerySnapshot.java?0.00%?
    AggregateSource.java?0.00%?
    AggregationResult.java?0.00%?
    AggregationResultOrBuilder.java?0.00%?
    AggregationResultProto.java?0.00%?
    AndroidConnectivityMonitor.java?39.51%?
    ApiUtil.java?12.50%?
    ArrayContainsAnyFilter.java?100.00%?
    ArrayContainsFilter.java?100.00%?
    ArrayTransformOperation.java?86.49%?
    ArrayValue.java?48.60%?
    ArrayValueOrBuilder.java?0.00%?
    Assert.java?60.00%?
    AsyncEventListener.java?0.00%?
    AsyncQueue.java?70.65%?
    AutoValue_FieldIndex.java?58.33%?
    AutoValue_FieldIndex_IndexOffset.java?58.62%?
    AutoValue_FieldIndex_IndexState.java?59.09%?
    AutoValue_FieldIndex_Segment.java?54.17%?
    AutoValue_IndexEntry.java?34.21%?
    AutoValue_Overlay.java?54.55%?
    BackgroundQueue.java?81.25%?
    BasePath.java?86.54%?
    BatchGetDocumentsRequest.java?0.00%?
    BatchGetDocumentsRequestOrBuilder.java?0.00%?
    BatchGetDocumentsResponse.java?0.00%?
    BatchGetDocumentsResponseOrBuilder.java?0.00%?
    BeginTransactionRequest.java?0.00%?
    BeginTransactionRequestOrBuilder.java?0.00%?
    BeginTransactionResponse.java?0.00%?
    BeginTransactionResponseOrBuilder.java?0.00%?
    Blob.java?76.92%?
    Bound.java?39.29%?
    BundleCache.java?0.00%?
    BundleCallback.java?0.00%?
    BundledDocumentMetadata.java?0.00%?
    BundledDocumentMetadataOrBuilder.java?0.00%?
    BundleDocument.java?90.00%?
    BundledQuery.java?34.57%?
    BundledQueryOrBuilder.java?0.00%?
    BundleElement.java?0.00%?
    BundleElementOrBuilder.java?0.00%?
    BundleLoader.java?100.00%?
    BundleMetadata.java?0.00%?
    BundleMetadataOrBuilder.java?0.00%?
    BundleProto.java?0.00%?
    BundleReader.java?95.29%?
    BundleSerializer.java?89.47%?
    ByteBufferInputStream.java?83.33%?
    CollectionReference.java?13.64%?
    CommitRequest.java?0.00%?
    CommitRequestOrBuilder.java?0.00%?
    CommitResponse.java?0.00%?
    CommitResponseOrBuilder.java?0.00%?
    CommonProto.java?0.00%?
    ComponentProvider.java?100.00%?
    CompositeFilter.java?98.46%?
    ConnectivityMonitor.java?0.00%?
    Consumer.java?0.00%?
    CreateDocumentRequest.java?0.00%?
    CreateDocumentRequestOrBuilder.java?0.00%?
    CredentialsProvider.java?100.00%?
    Cursor.java?35.29%?
    CursorOrBuilder.java?0.00%?
    CustomClassMapper.java?84.25%?
    DatabaseId.java?70.37%?
    DatabaseInfo.java?90.91%?
    Datastore.java?23.28%?
    DatastoreTestTrace.java?0.00%?
    DeleteDocumentRequest.java?0.00%?
    DeleteDocumentRequestOrBuilder.java?0.00%?
    DeleteMutation.java?95.24%?
    DirectionalIndexByteEncoder.java?100.00%?
    Document.java?100.00%?
    DocumentChange.java?67.61%?
    DocumentChangeOrBuilder.java?0.00%?
    DocumentCollections.java?83.33%?
    DocumentDelete.java?34.62%?
    DocumentDeleteOrBuilder.java?0.00%?
    DocumentId.java?0.00%?
    DocumentKey.java?97.14%?
    DocumentMask.java?40.66%?
    DocumentMaskOrBuilder.java?0.00%?
    DocumentOrBuilder.java?0.00%?
    DocumentOverlayCache.java?0.00%?
    DocumentProto.java?0.00%?
    DocumentReference.java?13.24%?
    DocumentRemove.java?29.23%?
    DocumentRemoveOrBuilder.java?0.00%?
    DocumentSet.java?83.78%?
    DocumentSnapshot.java?37.50%?
    DocumentTransform.java?29.31%?
    DocumentTransformOrBuilder.java?0.00%?
    DocumentViewChange.java?90.91%?
    DocumentViewChangeSet.java?87.88%?
    EncodedPath.java?93.22%?
    EventListener.java?0.00%?
    EventManager.java?96.15%?
    Exclude.java?0.00%?
    Executors.java?100.00%?
    ExistenceFilter.java?80.00%?
    ExistenceFilterOrBuilder.java?0.00%?
    ExponentialBackoff.java?30.43%?
    FieldFilter.java?93.06%?
    FieldIndex.java?98.18%?
    FieldMask.java?57.89%?
    FieldPath.java?89.66%?
    FieldTransform.java?64.71%?
    FieldValue.java?82.14%?
    FileUtil.java?0.00%?
    Filter.java?0.00%?
    FirebaseAppCheckTokenProvider.java?93.75%?
    FirebaseAuthCredentialsProvider.java?100.00%?
    FirebaseClientGrpcMetadataProvider.java?44.00%?
    FirebaseFirestore.java?36.67%?
    FirebaseFirestoreException.java?83.72%?
    FirebaseFirestoreSettings.java?75.00%?
    FirestoreCallCredentials.java?18.60%?
    FirestoreChannel.java?18.10%?
    FirestoreClient.java?36.11%?
    FirestoreGrpc.java?2.46%?
    FirestoreIndexValueWriter.java?77.11%?
    FirestoreMultiDbComponent.java?100.00%?
    FirestoreProto.java?0.00%?
    FirestoreRegistrar.java?100.00%?
    Function.java?0.00%?
    GeoPoint.java?91.67%?
    GetDocumentRequest.java?0.00%?
    GetDocumentRequestOrBuilder.java?0.00%?
    GrpcCallProvider.java?69.41%?
    GrpcMetadataProvider.java?0.00%?
    IgnoreExtraProperties.java?0.00%?
    IncomingStreamObserver.java?0.00%?
    Index.java?30.02%?
    IndexBackfiller.java?100.00%?
    IndexByteEncoder.java?88.57%?
    IndexEntry.java?100.00%?
    IndexManager.java?100.00%?
    IndexOrBuilder.java?0.00%?
    IndexProto.java?0.00%?
    InFilter.java?100.00%?
    IntMath.java?41.67%?
    KeyFieldFilter.java?66.67%?
    KeyFieldInFilter.java?0.00%?
    KeyFieldNotInFilter.java?0.00%?
    LimboDocumentChange.java?70.59%?
    ListCollectionIdsRequest.java?0.00%?
    ListCollectionIdsRequestOrBuilder.java?0.00%?
    ListCollectionIdsResponse.java?0.00%?
    ListCollectionIdsResponseOrBuilder.java?0.00%?
    ListDocumentsRequest.java?0.00%?
    ListDocumentsRequestOrBuilder.java?0.00%?
    ListDocumentsResponse.java?0.00%?
    ListDocumentsResponseOrBuilder.java?0.00%?
    Listener.java?0.00%?
    ListenerRegistration.java?0.00%?
    ListenerRegistrationImpl.java?0.00%?
    ListenRequest.java?10.66%?
    ListenRequestOrBuilder.java?0.00%?
    ListenResponse.java?32.64%?
    ListenResponseOrBuilder.java?0.00%?
    ListenSequence.java?100.00%?
    LoadBundleTask.java?25.26%?
    LoadBundleTaskProgress.java?60.47%?
    LocalDocumentsResult.java?100.00%?
    LocalDocumentsView.java?100.00%?
    LocalSerializer.java?97.35%?
    LocalStore.java?99.37%?
    LocalViewChanges.java?100.00%?
    Logger.java?75.00%?
    LogicUtils.java?96.15%?
    LruDelegate.java?0.00%?
    LruGarbageCollector.java?93.46%?
    MapValue.java?53.00%?
    MapValueOrBuilder.java?0.00%?
    MemoryBundleCache.java?100.00%?
    MemoryComponentProvider.java?100.00%?
    MemoryDocumentOverlayCache.java?100.00%?
    MemoryEagerReferenceDelegate.java?100.00%?
    MemoryIndexManager.java?68.97%?
    MemoryLruReferenceDelegate.java?96.00%?
    MemoryMutationQueue.java?98.57%?
    MemoryOverlayMigrationManager.java?100.00%?
    MemoryPersistence.java?100.00%?
    MemoryRemoteDocumentCache.java?98.21%?
    MemoryTargetCache.java?100.00%?
    MetadataChanges.java?100.00%?
    MutableDocument.java?100.00%?
    Mutation.java?98.48%?
    MutationBatch.java?89.06%?
    MutationBatchResult.java?100.00%?
    MutationQueue.java?0.00%?
    MutationResult.java?100.00%?
    NamedQuery.java?0.00%?
    NamedQueryOrBuilder.java?0.00%?
    NotInFilter.java?85.71%?
    NumberComparisonHelper.java?100.00%?
    NumericIncrementTransformOperation.java?87.50%?
    ObjectValue.java?99.06%?
    OnlineState.java?100.00%?
    OnlineStateTracker.java?98.11%?
    OnProgressListener.java?0.00%?
    OrderBy.java?96.55%?
    OrderedCodeWriter.java?68.52%?
    Overlay.java?100.00%?
    OverlayedDocument.java?100.00%?
    OverlayMigrationManager.java?0.00%?
    PatchMutation.java?100.00%?
    Persistence.java?100.00%?
    Precondition.java?37.82%?
    PreconditionOrBuilder.java?0.00%?
    Preconditions.java?57.89%?
    PropertyName.java?0.00%?
    Query.java?3.97%?
    QueryDocumentSnapshot.java?64.71%?
    QueryEngine.java?98.63%?
    QueryListener.java?100.00%?
    QueryProto.java?0.00%?
    QueryPurpose.java?100.00%?
    QueryResult.java?100.00%?
    QuerySnapshot.java?76.36%?
    QueryView.java?100.00%?
    ReferenceDelegate.java?0.00%?
    ReferenceSet.java?92.45%?
    RemoteDocumentCache.java?0.00%?
    RemoteEvent.java?92.31%?
    RemoteSerializer.java?84.63%?
    RemoteStore.java?88.49%?
    ResourcePath.java?94.74%?
    RollbackRequest.java?0.00%?
    RollbackRequestOrBuilder.java?0.00%?
    RunAggregationQueryRequest.java?0.00%?
    RunAggregationQueryRequestOrBuilder.java?0.00%?
    RunAggregationQueryResponse.java?0.00%?
    RunAggregationQueryResponseOrBuilder.java?0.00%?
    RunQueryRequest.java?0.00%?
    RunQueryRequestOrBuilder.java?0.00%?
    RunQueryResponse.java?0.00%?
    RunQueryResponseOrBuilder.java?0.00%?
    Scheduler.java?0.00%?
    ServerTimestamp.java?0.00%?
    ServerTimestampOperation.java?100.00%?
    ServerTimestamps.java?79.17%?
    SetMutation.java?94.44%?
    SetOptions.java?0.00%?
    SnapshotMetadata.java?68.75%?
    SnapshotVersion.java?87.50%?
    Source.java?0.00%?
    SQLiteBundleCache.java?90.00%?
    SQLiteComponentProvider.java?100.00%?
    SQLiteDocumentOverlayCache.java?97.85%?
    SQLiteIndexManager.java?99.48%?
    SQLiteLruReferenceDelegate.java?98.67%?
    SQLiteMutationQueue.java?82.76%?
    SQLiteOverlayMigrationManager.java?90.48%?
    SQLitePersistence.java?86.34%?
    SQLiteRemoteDocumentCache.java?98.17%?
    SQLiteSchema.java?96.63%?
    SQLiteTargetCache.java?98.47%?
    Stream.java?100.00%?
    StructuredAggregationQuery.java?0.00%?
    StructuredAggregationQueryOrBuilder.java?0.00%?
    StructuredQuery.java?32.54%?
    StructuredQueryOrBuilder.java?0.00%?
    Supplier.java?0.00%?
    SyncEngine.java?93.27%?
    Target.java?95.79%?
    TargetCache.java?0.00%?
    TargetChange.java?80.00%?
    TargetChangeOrBuilder.java?0.00%?
    TargetData.java?77.50%?
    TargetIdGenerator.java?100.00%?
    TargetIndexMatcher.java?100.00%?
    TargetOrBuilder.java?0.00%?
    TargetState.java?97.78%?
    ThrottledForwardingExecutor.java?100.00%?
    ThrowOnExtraProperties.java?0.00%?
    Timestamp.java?80.39%?
    Token.java?0.00%?
    Transaction.java?0.00%?
    TransactionOptions.java?0.00%?
    TransactionOptionsOrBuilder.java?0.00%?
    TransactionRunner.java?0.00%?
    TransformOperation.java?0.00%?
    UpdateDocumentRequest.java?0.00%?
    UpdateDocumentRequestOrBuilder.java?0.00%?
    User.java?78.57%?
    UserData.java?66.00%?
    UserDataReader.java?70.48%?
    UserDataWriter.java?51.02%?
    Util.java?67.63%?
    Value.java?40.97%?
    ValueOrBuilder.java?0.00%?
    Values.java?95.65%?
    VerifyMutation.java?46.15%?
    View.java?96.79%?
    ViewChange.java?100.00%?
    ViewSnapshot.java?88.33%?
    WatchChange.java?70.51%?
    WatchChangeAggregator.java?98.21%?
    WatchStream.java?19.23%?
    Write.java?36.11%?
    WriteBatch.java?0.00%?
    WriteOrBuilder.java?0.00%?
    WriteProto.java?0.00%?
    WriteRequest.java?10.41%?
    WriteRequestOrBuilder.java?0.00%?
    WriteResponse.java?11.70%?
    WriteResponseOrBuilder.java?0.00%?
    WriteResult.java?0.00%?
    WriteResultOrBuilder.java?0.00%?
    WriteStream.java?31.82%?

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/lQ509U3nJE.html

@github-actions
Copy link
Contributor

Unit Test Results

1 097 tests  ±0   1 081 ✔️ ±0   1m 0s ⏱️ +3s
     79 suites ±0        16 💤 ±0 
     79 files   ±0          0 ±0 

Results for commit 9db5385. ± Comparison against base commit ae3bdb8.

Copy link
Contributor

@ehsannas ehsannas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cherylEnkidu

@ehsannas ehsannas merged commit aafdd1e into master Oct 25, 2022
@ehsannas ehsannas deleted the cheryllin/bugFixOrQueryTest branch October 25, 2022 22:19
lfkellogg added a commit that referenced this pull request Oct 26, 2022
* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

* Add appcheck-ktx to bom config (#4081)

* Removing getRunningAppProcesses since the process_name isn't used (#4057)

* Fix Documentation classpath (#4099)

b/241795594

* Add projectSpecificSources back to the DackkaPlugin (#4110)

* Added extra method for TaskProviders

* Added specificSources method back

* Revert to dependsOn for docstubs dep

* Revamp test harness for macrobenchmark tests (#4071)

* Fix dependabot security alerts (#4123)

* Make firesite transform cacheable (#4124)

* add coroutines-play-services as a transitive dep to firebase-common-ktx (#4044)

* add kotlinx-coroutines-play-services as a transitive dep to firebase-common-ktx

* Update to Coroutines 1.6.4

* database-ktx: add callbackFlow for eventlisteners (#4012)

* add callbackFlow for RTDB's ValueEventListener

* add callbackFlow for RTDB's ChildEventListener

* delegate trySendBlocking to DefaultRunLoop

* add group to ktx.gradle

* update api.txt file

* Update released versions (#4135)

* Upgrade dackkaConfig (#4141)

* Add names to all Firebase components (#4117)

* Add appcheck's ktx artifact back to package list file (#4142)

* Add strict mode testing in firebase-messaging (#4095)

* Add gralde property to instrument Fireperf E2E test (#4144)

The perf gradle PR is #334 in the gradle repo.

b/246802885

* Resolve StrictMode violation in App Check. (#4085)

* Resolve StrictMode violation in App Check.

* Attempt to fix some tests.

* Fix unit tests.

* Make `retrieveStoredAppCheckTokenInBackground` private instead of package-private.

* Move listener invocations back to the main thread while keeping disk write on background thread.

* Refactor to use lambda syntax.

* Implemented exponential backoff and max retry with resumable uploads (#4087)

* storage-ktx: add callbackFlow for upload/download progress (#4139)

* add kotlin flows to storage

* update api.txt file

* add group to storage/ktx.gradle

* Make a best effort attempt to flush reports at crash time (#4112)

This should allow us to upload reports for start-up crashes.

* Public Count (#4130)

* Public Count

* Disable prod testing

* Long to long

* Api.txt

* Backfill changelog

* Add PR

* Fix assertEquals error

* Re-write API javadocs for COUNT API (#4143)

Co-authored-by: Denver Coneybeare <[email protected]>

* [Fireperf][AASA] send `_experiment_app_start_ttid` trace, controlled by RC flag (#4114)

* log _experiment_as_ttid

* send event and RRC mitigation

* add RC wip

* modified save to cache when RC fetches

* dev-app manifest override

* unit test for RCc cache saving

* better name and comments

* better formatting remoteconfigmanagertest

* better comments and added local RC lookup back

* Specify unique ref tags in Dackka output (#4149)

* Add util methods for gradle projects

* Disable Javadoc generation on empty projects

* Fix ref path generation in Dackka output

* Add documentation for util methods

* Update the DackkaPlugin docs

* Reduced path to relative from tenant

* Reduced ref head path even more

* Fixed ref tag path to working solution

* Disabled publishJavadoc by default for tests

It should be enabled explicitly when being tested anyhow, and causes issues otherwise. Instead of disabling it for the tests that don't need it- this is much quicker and easier to manager.

* Add strict mode tests to inappmessaging and inappmessaging-display (#4136)

* Fix strict mode violations for appcheck (#4148)

* Fix strict mode violations for appcheck

* Formatting

* Add copyright header

* Populate SDKs changelog files (#4070)

* first try seeding changelogs

* Added unreleased section to CHANGELOG

* Fix empty lines between sections

* Add missing entries for abt

* Update data to include latest releases

* Update CHANGELOG.md

* Add missing line in unreleased section for perf.

* Enable CHANGELOG check globally (#4084)

* Enable CHANGELOG check globally

* Simplify conditional.

* Enable COUNT integration tests, now that backend support has rolled out (#4163)

* Remove separation of kotlin directories in dackka (#4166)

* Deprecate App Check SafetyNet SDK (#4187)

* Add `@Deprecated` annotations to Firebase App Check SafetyNet SDK public API.

* Add `@deprecated` tag in the Javadoc as well.

* Remove stale entries from Unreleased section. (#4185)

* Assign ConfigContainer Builder return values. (#4194)

* update bom (#4155)

* update bom

* update

* update

* feat(perf-ktx): add trace(name, block) extension function (#4180)

* Remove smoke test for app indexing (#4219)

App Indexing is deprecated starting BoM 31.0.0 .

https://firebase.google.com/support/release-notes/android#bom_v31-0-0

* Bump Robolectric to 4.9 (#4161)

* Add plexus-utils for firebase-database tests

Looks like firebase-database tests use plexus-utils dependency of
Robolectric directly. But this dependency was removed by Robolectric. So
this CL adds plexus-utils explictly for firebase-database tests.

Signed-off-by: utzcoz <[email protected]>

* Bump Robolectric to 4.9

1. Use legacy LooperMode for tests explicitly, because recent
   Robolectric releases switch to use PAUSED mode default. Before these
   tests migrate to PAUSED mode, they use LEGACY mode to pass tests.
2. Migrate Assert.assertThat to Truth.assertThat to avoid using removed
   APIs.
3. All build.gradle use the same robolectricVersion except
   transport-backend-cct because Robolectric 4.8+ has compatibility
   problem for TelephonyManager with low compile/targetSdkversion.
   To keep httpclient compatibility, transport-backend-ccts continues to
   use Robolectric 4.3.1.
4. Remove unused exclude protobuf-java from Robolectric.
5. Add necessary protobuf-lite dependency on classpath for
   some ktx modules' tests.

Signed-off-by: utzcoz <[email protected]>

Signed-off-by: utzcoz <[email protected]>

* return exception if modelname is empty (#4226)

* Add "create release PR" github action (#4236)

This implementation:

- Creates the base branch (name is based in user input)
- Creates the release branch (name is based in user input)
- Creates the release.cfg file in the release branch without adding
  any SDK (module) to it.

It can create the branches based on any existing branch of the repo.

* Sync spec tests from web SDK to Android SDK (#4230)

* Update versions (#4238)

* Update versions

* Exclude .github dir from `firebaseContinuousIntegration` paths (#4239)

* Performing IN expansion (#4221)

* WIP: `in` expansion.

* Add composite filter in-expansion test.

* Fix formatting.

* Run in-expansion as part of DNF computation and add tests.

* Add test with nested IN filters with CSI.

* Add tests for other cases.

* typo fix (#4237)

* Firestore: Add test that verifies count query error message when missing index (#4232)

* refactor(functions): update firebase-iid to 21.1.0 (#4225)

* refactor(functions): update firebase-iid to 21.1.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* bump firebase-iid-interop to 17.1.0

* exclude firebase-components from firebase-iid dependency

Signed-off-by: utzcoz <[email protected]>
Co-authored-by: Vladimir Kryachko <[email protected]>
Co-authored-by: Daymon <[email protected]>
Co-authored-by: Raymond Lam <[email protected]>
Co-authored-by: Yifan Yang <[email protected]>
Co-authored-by: Rosário Pereira Fernandes <[email protected]>
Co-authored-by: emilypgoogle <[email protected]>
Co-authored-by: Jeremy Jiang <[email protected]>
Co-authored-by: Rosalyn Tan <[email protected]>
Co-authored-by: Maneesh Tewani <[email protected]>
Co-authored-by: Matthew Robertson <[email protected]>
Co-authored-by: wu-hui <[email protected]>
Co-authored-by: Denver Coneybeare <[email protected]>
Co-authored-by: Leo Zhan <[email protected]>
Co-authored-by: Rodrigo Lazo <[email protected]>
Co-authored-by: Dana Silver <[email protected]>
Co-authored-by: Vinay Guthal <[email protected]>
Co-authored-by: utzcoz <[email protected]>
Co-authored-by: argzdev <[email protected]>
Co-authored-by: Mila <[email protected]>
Co-authored-by: Ehsan <[email protected]>
Co-authored-by: cherylEnkidu <[email protected]>
lfkellogg added a commit that referenced this pull request Oct 27, 2022
* Minor updates to the App Distribution test app. (#4088)

* Update various versions (#4090)

* Updated various versions (dependencies and SDK to fix Android resource linking failure (AAPT: error: resource android:attr/lStar not found.)

* Update compileSdk/targetSdkVersion from 31 to 33

* Update with latest changes from master (#4091)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

Co-authored-by: Vladimir Kryachko <[email protected]>
Co-authored-by: Daymon <[email protected]>

* Resolve strict mode violations in firebase-appdistribution (#4092)

* merge master into fad/next (#4102)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

Co-authored-by: Vladimir Kryachko <[email protected]>
Co-authored-by: Daymon <[email protected]>

* Remove `release` field. (#4174)

* Merge changes from master into fad/next (#4199)

* Merge latest master into fad/next (#4247)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

* Add appcheck-ktx to bom config (#4081)

* Removing getRunningAppProcesses since the process_name isn't used (#4057)

* Fix Documentation classpath (#4099)

b/241795594

* Add projectSpecificSources back to the DackkaPlugin (#4110)

* Added extra method for TaskProviders

* Added specificSources method back

* Revert to dependsOn for docstubs dep

* Revamp test harness for macrobenchmark tests (#4071)

* Fix dependabot security alerts (#4123)

* Make firesite transform cacheable (#4124)

* add coroutines-play-services as a transitive dep to firebase-common-ktx (#4044)

* add kotlinx-coroutines-play-services as a transitive dep to firebase-common-ktx

* Update to Coroutines 1.6.4

* database-ktx: add callbackFlow for eventlisteners (#4012)

* add callbackFlow for RTDB's ValueEventListener

* add callbackFlow for RTDB's ChildEventListener

* delegate trySendBlocking to DefaultRunLoop

* add group to ktx.gradle

* update api.txt file

* Update released versions (#4135)

* Upgrade dackkaConfig (#4141)

* Add names to all Firebase components (#4117)

* Add appcheck's ktx artifact back to package list file (#4142)

* Add strict mode testing in firebase-messaging (#4095)

* Add gralde property to instrument Fireperf E2E test (#4144)

The perf gradle PR is #334 in the gradle repo.

b/246802885

* Resolve StrictMode violation in App Check. (#4085)

* Resolve StrictMode violation in App Check.

* Attempt to fix some tests.

* Fix unit tests.

* Make `retrieveStoredAppCheckTokenInBackground` private instead of package-private.

* Move listener invocations back to the main thread while keeping disk write on background thread.

* Refactor to use lambda syntax.

* Implemented exponential backoff and max retry with resumable uploads (#4087)

* storage-ktx: add callbackFlow for upload/download progress (#4139)

* add kotlin flows to storage

* update api.txt file

* add group to storage/ktx.gradle

* Make a best effort attempt to flush reports at crash time (#4112)

This should allow us to upload reports for start-up crashes.

* Public Count (#4130)

* Public Count

* Disable prod testing

* Long to long

* Api.txt

* Backfill changelog

* Add PR

* Fix assertEquals error

* Re-write API javadocs for COUNT API (#4143)

Co-authored-by: Denver Coneybeare <[email protected]>

* [Fireperf][AASA] send `_experiment_app_start_ttid` trace, controlled by RC flag (#4114)

* log _experiment_as_ttid

* send event and RRC mitigation

* add RC wip

* modified save to cache when RC fetches

* dev-app manifest override

* unit test for RCc cache saving

* better name and comments

* better formatting remoteconfigmanagertest

* better comments and added local RC lookup back

* Specify unique ref tags in Dackka output (#4149)

* Add util methods for gradle projects

* Disable Javadoc generation on empty projects

* Fix ref path generation in Dackka output

* Add documentation for util methods

* Update the DackkaPlugin docs

* Reduced path to relative from tenant

* Reduced ref head path even more

* Fixed ref tag path to working solution

* Disabled publishJavadoc by default for tests

It should be enabled explicitly when being tested anyhow, and causes issues otherwise. Instead of disabling it for the tests that don't need it- this is much quicker and easier to manager.

* Add strict mode tests to inappmessaging and inappmessaging-display (#4136)

* Fix strict mode violations for appcheck (#4148)

* Fix strict mode violations for appcheck

* Formatting

* Add copyright header

* Populate SDKs changelog files (#4070)

* first try seeding changelogs

* Added unreleased section to CHANGELOG

* Fix empty lines between sections

* Add missing entries for abt

* Update data to include latest releases

* Update CHANGELOG.md

* Add missing line in unreleased section for perf.

* Enable CHANGELOG check globally (#4084)

* Enable CHANGELOG check globally

* Simplify conditional.

* Enable COUNT integration tests, now that backend support has rolled out (#4163)

* Remove separation of kotlin directories in dackka (#4166)

* Deprecate App Check SafetyNet SDK (#4187)

* Add `@Deprecated` annotations to Firebase App Check SafetyNet SDK public API.

* Add `@deprecated` tag in the Javadoc as well.

* Remove stale entries from Unreleased section. (#4185)

* Assign ConfigContainer Builder return values. (#4194)

* update bom (#4155)

* update bom

* update

* update

* feat(perf-ktx): add trace(name, block) extension function (#4180)

* Remove smoke test for app indexing (#4219)

App Indexing is deprecated starting BoM 31.0.0 .

https://firebase.google.com/support/release-notes/android#bom_v31-0-0

* Bump Robolectric to 4.9 (#4161)

* Add plexus-utils for firebase-database tests

Looks like firebase-database tests use plexus-utils dependency of
Robolectric directly. But this dependency was removed by Robolectric. So
this CL adds plexus-utils explictly for firebase-database tests.

Signed-off-by: utzcoz <[email protected]>

* Bump Robolectric to 4.9

1. Use legacy LooperMode for tests explicitly, because recent
   Robolectric releases switch to use PAUSED mode default. Before these
   tests migrate to PAUSED mode, they use LEGACY mode to pass tests.
2. Migrate Assert.assertThat to Truth.assertThat to avoid using removed
   APIs.
3. All build.gradle use the same robolectricVersion except
   transport-backend-cct because Robolectric 4.8+ has compatibility
   problem for TelephonyManager with low compile/targetSdkversion.
   To keep httpclient compatibility, transport-backend-ccts continues to
   use Robolectric 4.3.1.
4. Remove unused exclude protobuf-java from Robolectric.
5. Add necessary protobuf-lite dependency on classpath for
   some ktx modules' tests.

Signed-off-by: utzcoz <[email protected]>

Signed-off-by: utzcoz <[email protected]>

* return exception if modelname is empty (#4226)

* Add "create release PR" github action (#4236)

This implementation:

- Creates the base branch (name is based in user input)
- Creates the release branch (name is based in user input)
- Creates the release.cfg file in the release branch without adding
  any SDK (module) to it.

It can create the branches based on any existing branch of the repo.

* Sync spec tests from web SDK to Android SDK (#4230)

* Update versions (#4238)

* Update versions

* Exclude .github dir from `firebaseContinuousIntegration` paths (#4239)

* Performing IN expansion (#4221)

* WIP: `in` expansion.

* Add composite filter in-expansion test.

* Fix formatting.

* Run in-expansion as part of DNF computation and add tests.

* Add test with nested IN filters with CSI.

* Add tests for other cases.

* typo fix (#4237)

* Firestore: Add test that verifies count query error message when missing index (#4232)

* refactor(functions): update firebase-iid to 21.1.0 (#4225)

* refactor(functions): update firebase-iid to 21.1.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* bump firebase-iid-interop to 17.1.0

* exclude firebase-components from firebase-iid dependency

Signed-off-by: utzcoz <[email protected]>
Co-authored-by: Vladimir Kryachko <[email protected]>
Co-authored-by: Daymon <[email protected]>
Co-authored-by: Raymond Lam <[email protected]>
Co-authored-by: Yifan Yang <[email protected]>
Co-authored-by: Rosário Pereira Fernandes <[email protected]>
Co-authored-by: emilypgoogle <[email protected]>
Co-authored-by: Jeremy Jiang <[email protected]>
Co-authored-by: Rosalyn Tan <[email protected]>
Co-authored-by: Maneesh Tewani <[email protected]>
Co-authored-by: Matthew Robertson <[email protected]>
Co-authored-by: wu-hui <[email protected]>
Co-authored-by: Denver Coneybeare <[email protected]>
Co-authored-by: Leo Zhan <[email protected]>
Co-authored-by: Rodrigo Lazo <[email protected]>
Co-authored-by: Dana Silver <[email protected]>
Co-authored-by: Vinay Guthal <[email protected]>
Co-authored-by: utzcoz <[email protected]>
Co-authored-by: argzdev <[email protected]>
Co-authored-by: Mila <[email protected]>
Co-authored-by: Ehsan <[email protected]>
Co-authored-by: cherylEnkidu <[email protected]>

* Fix ImageUtils test after robolectric update

* Remove extra member initialization in test app

* Ignore flaky test

Signed-off-by: utzcoz <[email protected]>
Co-authored-by: Kai Bolay <[email protected]>
Co-authored-by: Vladimir Kryachko <[email protected]>
Co-authored-by: Daymon <[email protected]>
Co-authored-by: emilypgoogle <[email protected]>
Co-authored-by: Raymond Lam <[email protected]>
Co-authored-by: Yifan Yang <[email protected]>
Co-authored-by: Rosário Pereira Fernandes <[email protected]>
Co-authored-by: Jeremy Jiang <[email protected]>
Co-authored-by: Rosalyn Tan <[email protected]>
Co-authored-by: Maneesh Tewani <[email protected]>
Co-authored-by: Matthew Robertson <[email protected]>
Co-authored-by: wu-hui <[email protected]>
Co-authored-by: Denver Coneybeare <[email protected]>
Co-authored-by: Leo Zhan <[email protected]>
Co-authored-by: Rodrigo Lazo <[email protected]>
Co-authored-by: Dana Silver <[email protected]>
Co-authored-by: Vinay Guthal <[email protected]>
Co-authored-by: utzcoz <[email protected]>
Co-authored-by: argzdev <[email protected]>
Co-authored-by: Mila <[email protected]>
Co-authored-by: Ehsan <[email protected]>
Co-authored-by: cherylEnkidu <[email protected]>
@firebase firebase locked and limited conversation to collaborators Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants