Skip to content

Commit

Permalink
[JBIDE-15679] fixed compilation errors in tests when switching to cli…
Browse files Browse the repository at this point in the history
…ent 2.5.0
  • Loading branch information
adietish committed Oct 16, 2013
1 parent 38b2ecd commit 92a04a2
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;

import com.jcraft.jsch.Session;
import com.openshift.client.ApplicationScale;
import com.openshift.client.IApplication;
import com.openshift.client.IApplicationPortForwarding;
import com.openshift.client.IDomain;
import com.openshift.client.IEnvironmentVariable;
import com.openshift.client.IGearGroup;
import com.openshift.client.IGearProfile;
import com.openshift.client.Messages;
Expand Down Expand Up @@ -266,4 +268,45 @@ public Messages getMessages() {
public String getInitialGitUrl() {
throw new UnsupportedOperationException();
}

@Override
public IEnvironmentVariable addEnvironmentVariable(String arg0, String arg1) throws OpenShiftSSHOperationException {
throw new UnsupportedOperationException();
}

@Override
public Map<String, IEnvironmentVariable> addEnvironmentVariables(Map<String, String> arg0)
throws OpenShiftSSHOperationException {
throw new UnsupportedOperationException();
}

@Override
public boolean canGetEnvironmentVariables() {
throw new UnsupportedOperationException();
}

@Override
public boolean canUpdateEnvironmentVariables() {
throw new UnsupportedOperationException();
}

@Override
public IEnvironmentVariable getEnvironmentVariable(String arg0) throws OpenShiftSSHOperationException {
throw new UnsupportedOperationException();
}

@Override
public Map<String, IEnvironmentVariable> getEnvironmentVariables() throws OpenShiftSSHOperationException {
throw new UnsupportedOperationException();
}

@Override
public String getSshUrl() {
throw new UnsupportedOperationException();
}

@Override
public boolean hasEnvironmentVariable(String arg0) throws OpenShiftSSHOperationException {
throw new UnsupportedOperationException();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.jboss.tools.openshift.express.test.core;

import java.util.List;
import java.util.Map;

import com.openshift.client.ApplicationScale;
import com.openshift.client.IApplication;
Expand Down Expand Up @@ -158,5 +159,12 @@ public IApplication createApplication(String name, IStandaloneCartridge standalo
IGearProfile profile, String initialGitUrl, int timeout, IEmbeddableCartridge... embeddableCartridges) throws OpenShiftException {
throw new UnsupportedOperationException();
}

@Override
public IApplication createApplication(String arg0, IStandaloneCartridge arg1, ApplicationScale arg2,
IGearProfile arg3, String arg4, int arg5, Map<String, String> arg6, IEmbeddableCartridge... arg7)
throws OpenShiftException {
throw new UnsupportedOperationException();
}

}

0 comments on commit 92a04a2

Please sign in to comment.