1
1
# firebase-dataconnect
2
2
3
- This is the Firebase Data Connect component of the Firebase Android SDK.
3
+ This is the Firebase Android Data Connect SDK.
4
4
5
5
## Building
6
6
@@ -22,8 +22,8 @@ To run unit tests for Firebase Data Connect, from the source root run:
22
22
23
23
## Integration Testing
24
24
25
- Running integration tests requires a Firebase project because they would try
26
- to connect to the Firebase Data Connect backends .
25
+ Running integration tests requires a Firebase project because they connect to
26
+ the Firebase Data Connect backend .
27
27
28
28
See [ here] ( ../README.md#project-setup ) for how to setup a project.
29
29
@@ -38,8 +38,7 @@ By default, integration tests run against the Firebase Data Connect emulator.
38
38
### Setting up the Firebase Data Connect Emulator
39
39
40
40
The integration tests require that the Firebase Data Connect emulator is running
41
- on port NNNN (TODO: fill in correct value), which is default when running it via
42
- CLI.
41
+ on port 9399, which is default when running it via the Data Connect Toolkit.
43
42
44
43
* [ Install the Firebase CLI] ( https://firebase.google.com/docs/cli/ ) .
45
44
```
@@ -62,15 +61,15 @@ To run the integration tests against prod, select
62
61
63
62
### Run on Local Android Emulator
64
63
65
- Then simply run:
64
+ Then run:
66
65
```bash
67
66
./gradlew :firebase-dataconnect:connectedCheck
68
67
```
69
68
70
69
### Run on Firebase Test Lab
71
70
72
71
You can also test on Firebase Test Lab, which allow you to run the integration
73
- tests on devices hosted in Google data center.
72
+ tests on devices hosted in a Google data center.
74
73
75
74
See [ here] ( ../README.md#running-integration-tests-on-firebase-test-lab ) for
76
75
instructions of how to setup Firebase Test Lab for your project.
82
81
83
82
## Code Formatting
84
83
85
- Run below to format Kotlin code:
84
+ Run below to format Kotlin and Java code:
86
85
``` bash
87
- ./gradlew :firebase-dataconnect:ktfmtFormat
88
- ```
89
-
90
- Run below to format Java code:
91
- ``` bash
92
- ./gradlew :firebase-dataconnect:googleJavaFormat
86
+ ./gradlew :firebase-dataconnect:spotlessApply
93
87
```
94
88
95
89
See [ here] ( ../README.md#code-formatting ) if you want to be able to format code
0 commit comments