01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.tests.browser.internal;
11:
12: import junit.framework.Test;
13: import junit.framework.TestCase;
14: import junit.framework.TestSuite;
15:
16: import org.eclipse.jface.dialogs.Dialog;
17:
18: public class PreferencesTestCase extends TestCase {
19: public static Test suite() {
20: return new TestSuite(PreferencesTestCase.class);
21: }
22:
23: public PreferencesTestCase(String name) {
24: super (name);
25: }
26:
27: public void testInternetPreferencePage() {
28: Dialog dialog = UITestHelper
29: .getPreferenceDialog("org.eclipse.internet");
30: UITestHelper.assertDialog(dialog);
31: }
32:
33: public void testWebBrowserPreferencePage() {
34: Dialog dialog = UITestHelper
35: .getPreferenceDialog("org.eclipse.wst.internet.webbrowser.preferencePage");
36: UITestHelper.assertDialog(dialog);
37: }
38: }
|