Author: adietish
Date: 2011-09-30 10:11:35 -0400 (Fri, 30 Sep 2011)
New Revision: 35224
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserIntegrationTest.java
Log:
[JBIDE-9811] added IOpenshiftService#isValid(User) and IUser#isValid()
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserIntegrationTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserIntegrationTest.java 2011-09-30
14:08:35 UTC (rev 35223)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserIntegrationTest.java 2011-09-30
14:11:35 UTC (rev 35224)
@@ -32,7 +32,6 @@
import org.jboss.ide.eclipse.as.openshift.test.internal.core.fakes.TestUser;
import org.jboss.ide.eclipse.as.openshift.test.internal.core.utils.ApplicationUtils;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
/**
@@ -66,7 +65,6 @@
badUrlUser.isValid();
}
- @Ignore
@Test
public void canGetUserUUID() throws OpenshiftException {
String uuid = user.getUUID();
@@ -74,7 +72,6 @@
assertTrue(uuid.length() > 0);
}
- @Ignore
@Test
public void canGetPublicKey() throws OpenshiftException {
ISSHPublicKey key = user.getSshKey();
@@ -83,7 +80,6 @@
assertTrue(key.getPublicKey().length() > 0);
}
- @Ignore
@Test
public void canGetDomain() throws OpenshiftException {
IDomain domain = user.getDomain();
@@ -94,7 +90,6 @@
assertTrue(domain.getNamespace().length() > 0);
}
- @Ignore
@Test(expected=OpenshiftEndpointException.class)
public void cannotCreateDomainIfAlreadyExists() throws OpenshiftException {
IDomain domain = user.getDomain();
@@ -104,7 +99,6 @@
user.createDomain("newDomain", key);
}
- @Ignore
@Test
public void canGetCartridges() throws OpenshiftException {
Collection<ICartridge> cartridges = user.getCartridges();
@@ -112,14 +106,12 @@
assertTrue(cartridges.size() >= 5);
}
- @Ignore
@Test
public void canGetApplications() throws OpenshiftException {
Collection<IApplication> applications = user.getApplications();
assertNotNull(applications);
}
- @Ignore
@Test
public void canCreateApplication() throws OpenshiftException {
String applicationName = ApplicationUtils.createRandomApplicationName();
@@ -135,7 +127,6 @@
}
}
- @Ignore
@Test
public void canGetApplicationByName() throws OpenshiftException,
DatatypeConfigurationException {
String applicationName = ApplicationUtils.createRandomApplicationName();
Show replies by date