mirror of https://github.com/apache/jclouds.git
updated clone on templateoptions
This commit is contained in:
parent
933c9102ec
commit
4981ca6efb
|
@ -75,7 +75,11 @@ public class CloudStackTemplateOptions extends TemplateOptions implements Clonea
|
|||
if (to instanceof CloudStackTemplateOptions) {
|
||||
CloudStackTemplateOptions eTo = CloudStackTemplateOptions.class.cast(to);
|
||||
eTo.securityGroupIds(this.securityGroupIds);
|
||||
eTo.networkIds(this.networkIds);
|
||||
eTo.ipsToNetworks(this.ipsToNetworks);
|
||||
eTo.ipOnDefaultNetwork(this.ipOnDefaultNetwork);
|
||||
eTo.keyPair(this.keyPair);
|
||||
eTo.setupStaticNat(setupStaticNat);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,6 +48,8 @@ import java.util.Map;
|
|||
// surefire
|
||||
@Test(groups = "unit", testName = "CloudStackTemplateOptionsTest")
|
||||
public class CloudStackTemplateOptionsTest {
|
||||
//TODO: test clone();
|
||||
|
||||
@Test
|
||||
public void testAs() {
|
||||
TemplateOptions options = new CloudStackTemplateOptions();
|
||||
|
|
Loading…
Reference in New Issue