| /******************************************************************************* |
| * Copyright (c) 2016 Obeo. |
| * 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: |
| * Obeo - initial API and implementation and/or initial documentation |
| * ... |
| *******************************************************************************/ |
| package org.eclipse.intent.mapping.ide.tests.connector; |
| |
| import org.eclipse.intent.mapping.MappingUtils; |
| import org.eclipse.intent.mapping.ide.connector.IdeTextConnector; |
| import org.eclipse.intent.mapping.tests.text.TextConnectorTests; |
| import org.eclipse.intent.mapping.text.ITextLocation; |
| import org.junit.Test; |
| |
| import static org.junit.Assert.assertTrue; |
| |
| /** |
| * Test {@link IdeTextConnector}. |
| * |
| * @author <a href="mailto:yvan.lussaud@obeo.fr">Yvan Lussaud</a> |
| */ |
| public class IdeTextConnectorTests extends TextConnectorTests { |
| |
| @Test |
| public void isRegistred() { |
| assertTrue(MappingUtils.getConnectorRegistry().getConnector( |
| ITextLocation.class) instanceof IdeTextConnector); |
| } |
| |
| } |