mirror of https://github.com/apache/jclouds.git
Modified this unit test to include the new AllocationId property/parameter
This commit is contained in:
parent
a706e9308e
commit
de0e3eddd2
|
@ -46,8 +46,8 @@ public class DescribeAddressesResponseHandlerTest extends BaseEC2HandlerTest {
|
||||||
|
|
||||||
Set<PublicIpInstanceIdPair> result = factory.create(handler).parse(is);
|
Set<PublicIpInstanceIdPair> result = factory.create(handler).parse(is);
|
||||||
|
|
||||||
assertEquals(result, ImmutableSet.of(new PublicIpInstanceIdPair(defaultRegion, "67.202.55.255", "i-f15ebb98",
|
assertEquals(result, ImmutableSet.of(new PublicIpInstanceIdPair(defaultRegion, "67.202.55.255", "i-f15ebb98", "eipalloc-0ca038968f2a2c986",
|
||||||
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "67.202.55.233", null,
|
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "67.202.55.233", null, null,
|
||||||
Collections.<String, String> emptyMap())));
|
Collections.<String, String> emptyMap())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,9 +61,9 @@ public class DescribeAddressesResponseHandlerTest extends BaseEC2HandlerTest {
|
||||||
Set<PublicIpInstanceIdPair> result = factory.create(handler).parse(is);
|
Set<PublicIpInstanceIdPair> result = factory.create(handler).parse(is);
|
||||||
|
|
||||||
assertEquals(result.size(), 3);
|
assertEquals(result.size(), 3);
|
||||||
assertEquals(result, ImmutableSet.of(new PublicIpInstanceIdPair(defaultRegion, "67.202.55.255", "i-f15ebb98",
|
assertEquals(result, ImmutableSet.of(new PublicIpInstanceIdPair(defaultRegion, "67.202.55.255", "i-f15ebb98", "eipalloc-0ca038968f2a2c986",
|
||||||
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "67.202.55.233", null,
|
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "67.202.55.233", null, null,
|
||||||
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "54.76.27.192", null,
|
Collections.<String, String> emptyMap()), new PublicIpInstanceIdPair(defaultRegion, "54.76.27.192", null, null,
|
||||||
ImmutableMap.of("Name", "value-fa97d19c", "Empty", ""))));
|
ImmutableMap.of("Name", "value-fa97d19c", "Empty", ""))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue