fix compilation of mocks

This commit is contained in:
Chiradeep Vittal 2011-09-13 09:21:41 -07:00
parent 7840302c70
commit 9b424a762d
3 changed files with 13 additions and 16 deletions

View File

@ -61,11 +61,6 @@ public class MockAgentManagerImpl implements AgentManager {
return null;
}
@Override
public Answer send(Long hostId, Command cmd, int timeout) throws AgentUnavailableException, OperationTimedoutException {
// TODO Auto-generated method stub
return null;
}
@Override
public Answer send(Long hostId, Command cmd) throws AgentUnavailableException, OperationTimedoutException {
@ -205,11 +200,6 @@ public class MockAgentManagerImpl implements AgentManager {
return false;
}
@Override
public Answer easySend(Long hostId, Command cmd, int timeout) {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isHostNativeHAEnabled(long hostId) {

View File

@ -148,12 +148,6 @@ public class MockNetworkManagerImpl implements NetworkManager, Manager, NetworkS
return null;
}
@Override
public Network updateNetwork(long networkId, String name, String displayText, List<String> tags, Account caller, String domainSuffix) {
// TODO Auto-generated method stub
return null;
}
@Override
public Integer getNetworkRate(long networkId, Long vmId) {
// TODO Auto-generated method stub
@ -502,4 +496,10 @@ public class MockNetworkManagerImpl implements NetworkManager, Manager, NetworkS
return null;
}
@Override
public Network updateNetwork(long networkId, String name, String displayText, List<String> tags, Account caller, String domainSuffix, long networkOfferingId) {
// TODO Auto-generated method stub
return null;
}
}

View File

@ -18,6 +18,7 @@ import com.cloud.api.commands.DeployVMCmd;
import com.cloud.api.commands.DestroyVMCmd;
import com.cloud.api.commands.DetachVolumeCmd;
import com.cloud.api.commands.ListVMsCmd;
import com.cloud.api.commands.MoveUserVMCmd;
import com.cloud.api.commands.RebootVMCmd;
import com.cloud.api.commands.RecoverVMCmd;
import com.cloud.api.commands.ResetVMPasswordCmd;
@ -369,4 +370,10 @@ public class MockUserVmManagerImpl implements UserVmManager, UserVmService, Mana
return null;
}
@Override
public UserVm moveVMToUser(MoveUserVMCmd moveUserVMCmd) throws ResourceAllocationException, ConcurrentOperationException, ResourceUnavailableException, InsufficientCapacityException {
// TODO Auto-generated method stub
return null;
}
}