jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] Adds support for Floating IP (#135)
Date Thu, 28 Aug 2014 23:35:19 GMT
> +         assertAuthentication(server);
> +         assertRequest(server.takeRequest(), "GET", "/v2.0/floatingips?limit=2&marker=abcdefg");
> +
> +         /*
> +          * Check response
> +          */
> +         assertNotNull(floatingIPs);
> +         assertEquals(floatingIPs.size(), 2);
> +         assertEquals(floatingIPs.first().get().getId(), "2f245a7b-796b-4f26-9cf9-9e82d248fda7");
> +         assertEquals(floatingIPs.get(1).getId(), "61cea855-49cb-4846-997d-801b70c71bdd");
> +      } finally {
> +         server.shutdown();
> +      }
> +   }
> +
> +   public void testListSpecificPageFloatingIPFail() throws IOException, InterruptedException,
URISyntaxException {

The testNameFail has been used a lot. I rather keep it like that for consistency for now,
but I am open to changes in separate PRs.

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