blob: 30e1fc8393bc46b7155301bdf11d95f7305f59a6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.internet.monitor.ui.tests.extension;
import org.eclipse.wst.internet.monitor.ui.internal.provisional.ContentViewer;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
public class ContentViewersTestCase extends TestCase {
protected static ContentViewer viewer;
public static Test suite() {
return new TestSuite(ContentViewersTestCase.class, "ContentViewersTestCase");
}
public void test00Create() {
viewer = new TestContentViewer();
}
public void test01GetContent() {
viewer.getContent();
}
public void test02GetEditable() {
viewer.getEditable();
}
public void test03SetContent() {
viewer.setContent(null);
}
public void test04SetEditable() {
viewer.setEditable(false);
}
public void test05Init() {
viewer.init(null);
}
public void test06Dispose() {
viewer.dispose();
}
}