Open jzacsh opened 2 years ago
Hey, is this issue still open? If yes, can I work on this?
please assign it to me...
Hey, I noticed that most methods on the class depend on private method makeGetRequest
in order to mock it I would need to make it visible but I don't want to break encapsulation. I noticed there is also a makePostRequest
which is public and is used for mocked responses in GooglePhotosImporterTest
. If it's okay to change the access modifier on the method I can complete unittesting the methods dependent on makeGetRequest
.
@jzacsh
Would package-private sufficient for the tests? If so, usually you could mark these methods package-private and annotate them with @VisibleForTesting
.
yes ok it works. currentlyt working on this
Hey ,sorry for the noob question, I can't find this info.
I'm trying to make a first commit with most of the test cases but I'm not able to push to origin, I'm trying git push -u origin test-importer-interface
and receiving 403 error with message remote: Permission to google/data-transfer-project.git denied to FilippoULIVO
I just submitted my CLA agrrement, but i'm not sure it's related to that. could you help?
wanted to make a first commits also to check if I could pass all the different style checks
I completed the test coverage for the class.
Btw @MewX as I was sayngmakePostRequest
is public, I didn't write test for it because I belive it should be made package-private just as the makeGetRequest
,having it public defeats the purpose of the interface, from IntelliJ I can see it's only used in tests as mock.
I would need some guidance on the Pull request process for submitting my contribute
I'm trying to make a first commit with most of the test cases but I'm not able to push to origin, I'm trying git push -u origin test-importer-interface and receiving 403 error with message remote: Permission to google/data-transfer-project.git denied to FilippoULIVO
I believe that's because you're accidentally trying to develop directly on this repo, but you instead want to maintain your branch on your own repo (both in draft state and when you're ready to open a PR for it). You can get your own repo by clicking the "fork" button (or visiting https://github.com/google/data-transfer-project/fork).
Please review?
Hey, if this pull request is okay I'm happy to keep contributing to the project @jzacsh
sorry for the repeated trial and error. I don't understand if my pull request is well formulated or if I'm doing something wrong
hey @jzacsh @MewX is this issue still relevant? could you review my merge request please? thanks
@MewX ran into this at https://github.com/google/data-transfer-project/pull/1155#issuecomment-1240244384