Author: adietish
Date: 2011-10-03 11:04:57 -0400 (Mon, 03 Oct 2011)
New Revision: 35284
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserInfoIntegrationTest.java
Log:
[JBIDE-9820] added tests. implementation is already throwing distinct exceptions
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserInfoIntegrationTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserInfoIntegrationTest.java 2011-10-03
15:00:13 UTC (rev 35283)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.openshift.test/src/org/jboss/ide/eclipse/as/openshift/test/internal/core/UserInfoIntegrationTest.java 2011-10-03
15:04:57 UTC (rev 35284)
@@ -23,11 +23,11 @@
import org.jboss.ide.eclipse.as.openshift.core.OpenshiftException;
import org.jboss.ide.eclipse.as.openshift.core.OpenshiftService;
import org.jboss.ide.eclipse.as.openshift.core.internal.ApplicationInfo;
+import org.jboss.ide.eclipse.as.openshift.core.internal.InternalUser;
import org.jboss.ide.eclipse.as.openshift.core.internal.UserInfo;
import org.jboss.ide.eclipse.as.openshift.test.internal.core.fakes.TestUser;
import
org.jboss.ide.eclipse.as.openshift.test.internal.core.utils.ApplicationInfoAsserts;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
/**
@@ -41,14 +41,12 @@
private OpenshiftService openshiftService;
private TestUser user;
- @Ignore
@Before
public void setUp() {
this.openshiftService = new OpenshiftService();
this.user = new TestUser();
}
- @Ignore
@Test
public void canGetUserInfo() throws Exception {
UserInfo userInfo = openshiftService.getUserInfo(user);
@@ -94,7 +92,6 @@
}
}
- @Ignore
@Test
public void canUseReturnedSSHKeyToChangeDomain() throws Exception {
UserInfo userInfo = openshiftService.getUserInfo(user);