1 /*******************************************************************************
2  *  Copyright (c) 2008, 2017 IBM Corporation and others.
3  *
4  *  This program and the accompanying materials
5  *  are made available under the terms of the Eclipse Public License 2.0
6  *  which accompanies this distribution, and is available at
7  *  https://www.eclipse.org/legal/epl-2.0/
8  *
9  *  SPDX-License-Identifier: EPL-2.0
10  *
11  *  Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.pde.ui.tests.runtime;
15 
16 import org.eclipse.core.runtime.IProgressMonitor;
17 import org.eclipse.pde.internal.runtime.registry.model.LocalRegistryBackend;
18 import org.eclipse.pde.internal.runtime.registry.model.RegistryModel;
19 
20 public class LocalModelTest extends AbstractRegistryModelTest {
21 
22 	@Override
createModel()23 	protected RegistryModel createModel() {
24 		return new RegistryModel(new LocalRegistryBackend() {
25 			@Override
26 			public void connect(IProgressMonitor monitor) {
27 				mockFramework.setListener(this);
28 			}
29 
30 			@Override
31 			public void disconnect() {
32 				// empty
33 			}
34 		});
35 	}
36 
37 }
38