jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] [JCLOUDS-873] fixed (#161)
Date Thu, 09 Apr 2015 14:18:10 GMT
> +                 "*",
> +                 "192.168.0.1",
> +                 "80",
> +                 Rule.Protocol.TCP
> +         )), "request-1");
> +
> +         assertSent(server, "PUT", "/services/networking/networksecuritygroups/mygroup/rules/myrule");
> +      } finally {
> +         server.shutdown();
> +      }
> +   }
> +
> +   private NetworkSecurityGroupApi networkSecurityGroupApi(final MockWebServer server)
{
> +      return api(server.getUrl("/")).getNetworkSecurityGroupApi();
> +   }
> +}

Add the mock tests that exercise the defined fallbacks.

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