Skip to content
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

Unit tests for models needed to be updated #158

Open
KeenWarrior opened this issue Mar 17, 2017 · 14 comments
Open

Unit tests for models needed to be updated #158

KeenWarrior opened this issue Mar 17, 2017 · 14 comments
Assignees
Labels

Comments

@KeenWarrior
Copy link
Contributor

KeenWarrior commented Mar 17, 2017

Recommended to break down in multiple PR

@KeenWarrior KeenWarrior changed the title Unit tests for models needed to be undated Unit tests for models needed to be updated Mar 17, 2017
@sauravvishal8797
Copy link
Collaborator

@garg-anuj Would like to work on this.

@KeenWarrior
Copy link
Contributor Author

@sauravvishal8797 Go on

@m-murad
Copy link
Collaborator

m-murad commented Mar 18, 2017

@garg-anuj
Is this assigned to @sauravvishal8797
or can I work on this?

@danielpassos
Copy link
Member

@free4murad Just assigned this to @sauravvishal8797 to avoid confusion

@danielpassos
Copy link
Member

@garg-anuj Can you elaborate a little more in the description what do you expect here?

@KeenWarrior
Copy link
Contributor Author

@danielpassos Yeah sure

Models under org.hawkular.client.android.backend.model need to have updated constructors annotated with @VisibleForTesting and unit tests.

Some models don't have tests at present so new tests needed to be created for them

@pg301
Copy link
Collaborator

pg301 commented Mar 20, 2017

@danielpassos @garg-anuj I think this issue requires significant amount of work. Can I start writing tests for some modules.

@m-murad
Copy link
Collaborator

m-murad commented Mar 20, 2017

@danielpassos @garg-anuj
Actually I haven't completed any GSoC issue yet.
So if @sauravvishal8797 will not be working on it please assign it to me.

pg301 added a commit to pg301/hawkular-android-client that referenced this issue Mar 20, 2017
@sauravvishal8797
Copy link
Collaborator

@pg301 @free4murad Still working on this one.

@pg301
Copy link
Collaborator

pg301 commented Mar 21, 2017

@sauravvishal8797 Cool! Please let me know if you need some help. I have updated some constructors in a3f0b95 so if you want you can skip that part.

@pg301
Copy link
Collaborator

pg301 commented Mar 21, 2017

@sauravvishal8797 The issue description suggests that we break down the issue in multiple PRs. I think we can split some work. Please let me know your progress and we can decide on the remaining modules.

@KeenWarrior
Copy link
Contributor Author

@free4murad GSoC issue only means that given issue will be probably easy one to tackle and nothing more. So find issues and register them. Thats it 😉

@sauravvishal8797
Copy link
Collaborator

@pg301 Yeah cool! For the constructors part we also needed to update the constructor for trigger model as the tests were failing for the trigger model, so I have updated it here 55b7162 and had to set minifyenabled to false to avoid the warnings.

@pg301
Copy link
Collaborator

pg301 commented Mar 22, 2017

@sauravvishal8797 @garg-anuj The recently opened pull requests 9e85a15 only fixes 'updating visibleForTesting annotation'. There are a number of models which do not have corresponding tests. I would like to write tests for the remaining models and will send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants