-
Notifications
You must be signed in to change notification settings - Fork 289
Improving Unit Test Coverage #100
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
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
705abcd
Prototyping Firestore integration for Java
hiranya911 084453e
Some code cleanup
hiranya911 39dec4c
Updating comments
hiranya911 cd8030c
Code cleanup
hiranya911 9be05c9
Merge branch 'master' into hkj-firestore-java
hiranya911 dfc6bec
Removed getInstance() methods from FirestoreClient and added getFires…
hiranya911 ef3881f
Merge branch 'hkj-firestore-java' of github.com:FirebasePrivate/fireb…
hiranya911 0cf020b
Merged with master
hiranya911 ab3469a
Minor cleanup
hiranya911 d64b4f6
Adding Firestore OAuth scopes
hiranya911 d87f364
Merge branch 'master' into hkj-firestore-java
hiranya911 8ed4e5f
Some documentation updates
hiranya911 48104da
Reverted a doc change
hiranya911 1771a01
Updating GCS dependency version (#89)
hiranya911 4201ff1
Netty-based websocket impl
hiranya911 7e7f694
Refactored the Netty stuff to a separate util class
hiranya911 7a74047
More code clean up and removing tubesock package
hiranya911 8e90610
Using the SDK ThreadManager for DB websocket threads
hiranya911 b910380
More code cleanup and error checks
hiranya911 a227cae
Handling connection drop events
hiranya911 6d8d90f
Handling connection loss events
hiranya911 e276f9a
Adding documentation
hiranya911 c10753d
Removed string list reader
hiranya911 da73c79
Merged with latest master
hiranya911 193fcde
Merge branch 'master' into hkj-firestore-java
hiranya911 a6613ce
Merge branch 'hkj-firestore-java' into hkj-netty-rtdb
hiranya911 59d1f5a
Removing redundant whitespace
hiranya911 e03a896
Revert "Using the SDK ThreadManager for DB websocket threads"
hiranya911 b87f536
src/main/java/com/google/firebase/database/connection/util/StringList…
hiranya911 4d7c74a
Added StringListReader back
hiranya911 536eb61
Re-updated websocket client
hiranya911 83c4e8b
reverting more syntactic changes
hiranya911 06f5515
Adding new line
hiranya911 bc74249
Added documentation; Using a more secure trust manager; Other cleanup
hiranya911 8829759
Removed unused import
hiranya911 a3411d6
Using the port on URI when available
hiranya911 2ef9002
Added jacoco plugin and parser
hiranya911 363bf4e
Coverage reporter impl
hiranya911 5cdd35b
Merged with master
hiranya911 f545040
More unit tests and cleaning up dead code
hiranya911 1bbc655
More tests for RTDB
hiranya911 d1cbf6f
More database tests
hiranya911 75a952b
Some unit tests for Repo
hiranya911 e292c5b
More tests for Repo
hiranya911 49039e5
Cleaning up mocks
hiranya911 c5bf95f
debug info
hiranya911 2a53e72
More debug info
hiranya911 c5e8dc2
Updated repo test
hiranya911 7d7ec88
Cleaned up test code
hiranya911 5396d41
Removed some code changes
hiranya911 56d4849
Connection tests
hiranya911 0cd2323
More unit tests
hiranya911 91808fb
Updated test
hiranya911 98de850
More unit tests for PersistentConnectionImpl
hiranya911 c8cbbe5
Refactored persistent conn tests
hiranya911 b9ffca3
More connection tests
hiranya911 811cf7f
Some user management and DB Node tests
hiranya911 b80fb3e
StorageClient unit tests
hiranya911 d5ce73a
cleaned up PersistentConnectionTest
hiranya911 fd5c79e
Fixed typo
hiranya911 3adf4a7
Merged with master
hiranya911 884bd18
Removing websocket commpression handler
hiranya911 931ce8a
Merged with hkj-netty-rtdb
hiranya911 6bc58f5
Unit tests for Connection class
hiranya911 ec33e35
More tests for the connection package
hiranya911 de41e44
Unit tests for GaeExecutorService
hiranya911 c28da33
Updated test
hiranya911 bd3fafc
Fixing a lint error
hiranya911 768ed57
Added more tests
hiranya911 45e4a49
More test coverage
hiranya911 03cbd15
Merged with master
hiranya911 48db4d8
Refactored GaeExecutorService class
hiranya911 67e0d74
Refactored various connection factory interfaces
hiranya911 c3aad51
Minor refactoring
hiranya911 fa9addf
Merged with master
hiranya911 5fc783d
Refactoring iterative test case with a map
hiranya911 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... Do you think we could combine this factory and the websocketfactory (if you do decide to keep it?). I think we can remove one of them with a little templating magic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you suggesting we introduce a new generic
ConnectionFactory<T>
type? Looks a little overkill.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it made more sense in the original PR as it had a lot of shared method parameters. I like the way it is structured now.