Skip to content

Added a null value exception in LibvirtBackupSnapshotCommandWrapper.java - #617

Closed
maneesha-p wants to merge 1 commit into
apache:masterfrom
maneesha-p:master
Closed

maneesha-p wants to merge 1 commit into
apache:masterfrom
maneesha-p:master

Conversation

@maneesha-p

Copy link
Copy Markdown

No description provided.

@asfbot

asfbot commented Jul 22, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #105 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 22, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #803 FAILURE
Looks like there's a problem with this pull request

@asfbot

asfbot commented Jul 22, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #38 FAILURE
Looks like there's a problem with this pull request

@wilderrodrigues

Copy link
Copy Markdown
Contributor

You added code to a class that was recently refactored and was covered by unit tests. Please add a new unit test to cover the new flow.

Cheers,
Wilder

Sent from my iPhone

On 22 Jul 2015, at 22:34, manuiiit <notifications@github.commailto:notifications@github.com> wrote:


You can view, comment on, or merge this pull request online at:

#617

Commit Summary

  • Added a null value exception

File Changes

Patch Links:

—
Reply to this email directly or view it on GitHubhttps://github.com//pull/617.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove the unused imports and format the code as per coding conventions.

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #107 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #805 UNSTABLE
Looks like there's a problem with this pull request

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Hi @manuiiit

I checked the LibvirtBackupSnapshotCommandWrapper class and its coverage, which is still poor compared to the other classes in the KVM hypervisor plugin.

Please, proceed with the changes @karuturi suggested and I will increase the tests on the class in a separate PR.

It is currently 6.9% covered, which is very bad.

Cheers,
Wilder

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #40 UNSTABLE
Looks like there's a problem with this pull request

@maneesha-p

Copy link
Copy Markdown
Author

Hi Wilder,
The LibvirtBackupSnapshotCommandWrapper class has no unit
tests.Can I add test cases that covers the exception.

Regards,
P.Maneesha.

On Thu, Jul 23, 2015 at 11:35 AM, Wilder Rodrigues <notifications@github.com

wrote:

Hi @manuiiit https://github.com/manuiiit

I checked the LibvirtBackupSnapshotCommandWrapper class and its coverage,
which is still poor compared to the other classes in the KVM hypervisor
plugin.

Please, proceed with the changes @karuturi https://github.com/karuturi
suggested and I will increase the tests on the class in a separate PR.

It is currently 6.9% covered, which is very bad.

Cheers,
Wilder

—
Reply to this email directly or view it on GitHub
#617 (comment).

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Hi Maneesha,

Yep, it has... I wrote them.

All the wrappers classes have in total 145 unit tests. Have a look at LibvirtComputingResourceTes, i think that's the name of the class.

As I said, due to complexity of the code that one test is poor, but most of the wrapper classes have 100% coverage.

No worries, I'm busy with improving a couple of tests and will also do the one for the backup snapshot.

Apply the change Rajani suggested so we can get it merged.

Cheers,
Wilder

Sent from my iPhone

On 23 Jul 2015, at 08:55, Maneesha P <notifications@github.commailto:notifications@github.com> wrote:

Hi Wilder,
The LibvirtBackupSnapshotCommandWrapper class has no unit
tests.Can I add test cases that covers the exception.

Regards,
P.Maneesha.

On Thu, Jul 23, 2015 at 11:35 AM, Wilder Rodrigues <notifications@github.commailto:notifications@github.com

wrote:

Hi @manuiiit https://github.com/manuiiit

I checked the LibvirtBackupSnapshotCommandWrapper class and its coverage,
which is still poor compared to the other classes in the KVM hypervisor
plugin.

Please, proceed with the changes @karuturi https://github.com/karuturi
suggested and I will increase the tests on the class in a separate PR.

It is currently 6.9% covered, which is very bad.

Cheers,
Wilder

—
Reply to this email directly or view it on GitHub
#617 (comment).

—
Reply to this email directly or view it on GitHubhttps://github.com//pull/617#issuecomment-123998699.

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #110 FAILURE
Looks like there's a problem with this pull request

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #808 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #113 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #43 SUCCESS
This pull request looks good

@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #811 SUCCESS
This pull request looks good

@karuturi

Copy link
Copy Markdown
Member

merging to master now

@asfgit asfgit closed this in 1f09b8c Jul 23, 2015
@asfbot

asfbot commented Jul 23, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #46 SUCCESS
This pull request looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants