jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-450. Adding support for EC2 MaxCount option. (#277)
Date Wed, 05 Feb 2014 18:35:41 GMT
> @@ -285,4 +279,36 @@ public void testinboundPortsStatic() {
>        assertEquals(options.getInboundPorts()[0], 22);
>        assertEquals(options.getInboundPorts()[1], 30);
>     }
> +
> +   @Test
> +   public void testMaxCountDefault() {
> +      EC2TemplateOptions options = new EC2TemplateOptions();
> +      assertEquals(options.getMaxCount(), 0);
> +   }
> +
> +   @Test
> +   public void testMaxCount() {
> +      EC2TemplateOptions options = new EC2TemplateOptions();
> +      options.maxCount(2);
> +      assertEquals(options.getMaxCount(), 2);
> +   }

That's kind of implicit in testMaxCountDefault(), isn't it?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/277/files#r9472022
Mime
View raw message