mirror of https://github.com/apache/jclouds.git
Issue 695: Renamed computePoolCpuUsage.xml
This commit is contained in:
parent
e62d0c45e3
commit
afc173ef78
|
@ -103,7 +103,7 @@ public class ComputePoolCpuUsageJAXBParsingTest extends BaseRestClientTest {
|
||||||
Function<HttpResponse, ComputePoolCpuUsage> parser = (Function<HttpResponse, ComputePoolCpuUsage>) RestAnnotationProcessor
|
Function<HttpResponse, ComputePoolCpuUsage> parser = (Function<HttpResponse, ComputePoolCpuUsage>) RestAnnotationProcessor
|
||||||
.createResponseParser(parserFactory, injector, method, request);
|
.createResponseParser(parserFactory, injector, method, request);
|
||||||
|
|
||||||
InputStream is = getClass().getResourceAsStream("/computePoolsCpuUsage.xml");
|
InputStream is = getClass().getResourceAsStream("/computePoolCpuUsage.xml");
|
||||||
ComputePoolCpuUsage cpuUsage = parser.apply(new HttpResponse(200, "ok", newInputStreamPayload(is)));
|
ComputePoolCpuUsage cpuUsage = parser.apply(new HttpResponse(200, "ok", newInputStreamPayload(is)));
|
||||||
|
|
||||||
assertLinks(cpuUsage.getLinks());
|
assertLinks(cpuUsage.getLinks());
|
||||||
|
|
Loading…
Reference in New Issue