atn
atn
Seems like this is required now.
At the end of http://www.androidrobocar.com/pages/hardware, the link to continue reading points to http://www.androidrobocar.com/pages/pages/build, and I get a 404 error.
The fix is to add ``` android.useAndroidX=true android.enableJetifier=true ``` to gradle.properties, as explained in https://flutter.dev/docs/development/androidx-migration#how-do-i-know-if-my-project-is-using-androidx. Error log: ``` example % flutter drive --target=test_driver/cloud_firestore.dart Using device Android SDK built for x86....
As per the docs. Resolving #165 will solve it. Both should throw that exception.
Currently it returns null. This is what we get from the actual Firestore: 
This test fails. ```dart await instance.collection('users').doc('3').set({}); final doc = await instance.collection('users').doc('3').get(); expect(doc.data(), isNotNull); ``` I'll have to try it on the actual Firestore to see how it should behave.
This test fails: ``` await firebase.collection('places').add({ location: GeoPoint(10, 100) }); final snapshot = await firebase.collection('places').getDocuments(); final document = snapshot.documents.first; expect(document['location'], equals(GeoPoint(10, 100)); // this works expect(firebase.dump(), contains('location: ...')); // this...
Replace usage of dump by calls to the regular API here: - https://github.com/atn832/cloud_firestore_mocks/blob/b506bc1a59781a777abf7527714e0ba24ce63225/test/cloud_firestore_mocks_test.dart#L35 - https://github.com/atn832/cloud_firestore_mocks/blob/b506bc1a59781a777abf7527714e0ba24ce63225/test/cloud_firestore_mocks_test.dart#L47 It's better not to rely on `dump for unit tests since the order in which...
After #104 is merged. Reference: https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
It's probably how the actual Firestore behaves. A good way to test this would be to write an integration test at https://github.com/atn832/cloud_firestore_mocks/blob/master/test_driver/cloud_firestore_behaviors.dart. These will run against the actual Firestore, the...