01: /*******************************************************************************
02: * Copyright (c) 2006 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.pde.ui.tests.model.xml;
11:
12: import org.eclipse.pde.core.plugin.IPluginExtension;
13:
14: public class ExtensionTestCase extends XMLModelTestCase {
15:
16: protected final IPluginExtension reloadModel() {
17: reload();
18: IPluginExtension[] extensions = fModel.getPluginBase()
19: .getExtensions();
20: assertEquals(extensions.length, 1);
21: assertEquals(extensions[0].getPoint(),
22: "org.eclipse.pde.ui.samples");
23: return extensions[0];
24: }
25: }
|