Author: adietish
Date: 2010-10-29 03:55:41 -0400 (Fri, 29 Oct 2010)
New Revision: 26117
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/ServerTypeMockIntegrationTest.java
Log:
[JBIDE-7437] corrected client to pass test on missing resource
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/ServerTypeMockIntegrationTest.java
===================================================================
---
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/ServerTypeMockIntegrationTest.java 2010-10-29
06:50:26 UTC (rev 26116)
+++
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/ServerTypeMockIntegrationTest.java 2010-10-29
07:55:41 UTC (rev 26117)
@@ -21,6 +21,7 @@
import org.apache.http.client.methods.HttpUriRequest;
import org.jboss.tools.deltacloud.core.client.DeltaCloudClient;
import org.jboss.tools.deltacloud.core.client.DeltaCloudClientException;
+import org.jboss.tools.deltacloud.core.client.DeltaCloudNotFoundException;
import org.jboss.tools.internal.deltacloud.test.context.MockIntegrationTestContext;
import org.jboss.tools.internal.deltacloud.test.fakes.ServerFake;
import org.junit.After;
@@ -91,7 +92,7 @@
errorClient.listImages();
fail("no exception catched");
} catch (Exception e) {
- assertEquals(DeltaCloudClientException.class, e.getClass());
+ assertEquals(DeltaCloudNotFoundException.class, e.getClass());
}
}
}
Show replies by date