blob: 40169557e7afa0700af7a918c0e8777b6fb69028 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.ui.tests.editor;
import junit.framework.TestCase;
import org.eclipse.wst.server.ui.editor.IServerEditorPartInput;
import org.eclipse.wst.server.ui.tests.impl.TestServerEditorPartInput;
public class IServerEditorPartInputTestCase extends TestCase {
protected static IServerEditorPartInput input;
protected IServerEditorPartInput getServerEditorPartInput() {
if (input == null) {
input = new TestServerEditorPartInput();
}
return input;
}
public void testGetServer() {
getServerEditorPartInput().getServer();
}
public void testIsServerReadOnly() {
getServerEditorPartInput().isServerReadOnly();
}
public void testExists() {
getServerEditorPartInput().exists();
}
public void testGetImageDescriptor() {
getServerEditorPartInput().getImageDescriptor();
}
public void testGetName() {
getServerEditorPartInput().getName();
}
public void testGetPersistable() {
getServerEditorPartInput().getPersistable();
}
public void testGetToolTipText() {
getServerEditorPartInput().getToolTipText();
}
public void testGetAdapter() {
getServerEditorPartInput().getAdapter(null);
}
}