e-mail. To reply, visit:
https://reviews.apache.org/r/8355/#review14730
-------
On Dec. 6, 2012, 10:25 a.m., Meghna Kale wrote:
>
> ---
> This is an aut
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8545/#review14428
---
On Dec. 12, 2012, 10:56 a.m., Meghna Kale wrote:
>
> ---
>
PRE-CREATION
api/test/src/com/cloud/api/commands/test/CreatePortForwardingRuleCmdTest.java
PRE-CREATION
api/test/src/com/cloud/api/commands/test/CreatePrivateGatewayCmdTest.java
PRE-CREATION
Diff: https://reviews.apache.org/r/8545/diff/
Testing
---
Thanks,
Meghna Kale
check whether the values passed are getting persisted to db.
- Meghna
---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8355/#review14047
-------
: https://reviews.apache.org/r/8355/diff/
Testing
---
Thanks,
Meghna Kale
/CreateAutoScaleVmProfileCmdTest.java
PRE-CREATION
api/test/src/com/cloud/api/commands/test/CreateConditionCmdTest.java
PRE-CREATION
api/test/src/com/cloud/api/commands/test/CreateCounterCmdTest.java
PRE-CREATION
Diff: https://reviews.apache.org/r/8355/diff/
Testing
---
Thanks,
Meghna Kale
Hi there,
While writing the unit test cases for api/commands there is a call to a
static method of class UserContext
(UserContext.current().setEventDetails("Vm Id: " +getVirtualMachineId()+ "
ISO Id: "+getId());).
I’m unable to mock this static class. I’m using Mockito 1.9.5 for unit
testing ,
://reviews.apache.org/r/7966/diff/
Testing
---
Tested with the maven test cases.
Thanks,
Meghna Kale
://reviews.apache.org/r/7966/diff/
Testing
---
Tested with the maven test cases.
Thanks,
Meghna Kale
://reviews.apache.org/r/7966/diff/
Testing
---
Tested with the maven test cases.
Thanks,
Meghna Kale
---
Tested with the maven test cases.
Thanks,
Meghna Kale
-CREATION
Diff: https://reviews.apache.org/r/7966/diff/
Testing
---
Tested with the maven test cases.
Thanks,
Meghna Kale
/ActivateProjectCmdTest.java PRE-CREATION
api/test/com/cloud/api/commands/AddAccountToProjectCmdTest.java PRE-CREATION
api/test/com/cloud/api/commands/AddClusterCmdTest.java PRE-CREATION
Diff: https://reviews.apache.org/r/7966/diff/
Testing
---
Tested with the maven test cases.
Thanks,
Meghna Kale
Assert.assertEquals(2L,
activateProjectCmd.getEntityOwnerId());
}
}
- Meghna.
-Original Message-
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
Sent: Wednesday, October 31, 2012 12:50 AM
To: Meghna Kale; Alex Huang
Cc: CloudStack DeveloperList
Subject: Re: need help
, October 31, 2012 12:50 AM
To: Meghna Kale; Alex Huang
Cc: CloudStack DeveloperList
Subject: Re: need help for test cases of api/commands
On 10/30/12 12:12 PM, "Meghna Kale" wrote:
>_projectService =
>ComponentLocator.inject(MockProjectServiceImpl.class);
When you do this, the _proj
Tuesday, October 30, 2012 11:30 PM
To: Alex Huang; Meghna Kale
Cc: CloudStack DeveloperList
Subject: Re: need help for test cases of api/commands
I think Meghna's problem is that she has to mock the Project interface
since the DAO returns Project instead of a concrete class ProjectVO.
If we use
use a framework like
Mockito?
On 10/29/12 11:29 AM, "Meghna Kale" wrote:
>Alex,
>
>A method from ActivateProjectCmd.java, the projectService call.
>
> @Override
>
>public long getEntityOwnerId() {
>
>Project project= _projectService.getP
Alex Huang wrote:
> Meghna,
>
> Can you give an example of which call you're talking about and point out
> the specific line of code you're having problem with?
>
> Thanks.
>
> --Alex
>
> > -Original Message-
> > From: Meghna Kale [mailto:me
Hi All,
I was writing some test cases for the API layer
api\src\com\cloud\api\commands.
I facing some issue can someone help me.
There are some service layer calls in the classes , I tried to mock the
service layer.
The Service layer internally calls the DAO, rather than calling the mock
DA
[
https://issues.apache.org/jira/browse/CLOUDSTACK-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Meghna Kale closed CLOUDSTACK-229.
--
Resolution: Invalid
> Getting started with CloudSt
Meghna Kale created CLOUDSTACK-229:
--
Summary: Getting started with CloudStack
Key: CLOUDSTACK-229
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-229
Project: CloudStack
Issue Type
21 matches
Mail list logo