Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

[MRG] Added Unit Tests for Preference, etc #274

Merged
merged 2 commits into from
Jul 29, 2019

Conversation

huangyz0918
Copy link
Contributor

Closes #265

What has been done to verify that this works as intended?

I have tested the unite test locally, everything went well.

Why is this the best possible solution? Were any other approaches considered?

N/A

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

N/A

Before submitting this PR, please make sure you have:

  • run ./gradlew checkCode and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.

@huangyz0918 huangyz0918 changed the title Added unit tests [MRG] Added Unit Tests for Preference, etc Jul 22, 2019

@RunWith(RobolectricTestRunner.class)
@LooperMode(PAUSED)
public class HpReceiverActivityTest {
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be awesome if we can add some cases to verify the form transfer, not necessary in this PR, we can do that in different but we should do that as well, we may have to take help of Mockito in that case to mock the sender's behaviour.

@lakshyagupta21 lakshyagupta21 merged commit 3f3d11e into getodk:master Jul 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write the unit tests for the bluetooth feature.
2 participants