| /******************************************************************************* |
| * Copyright (c) 2012, 2015 Willink Transformations 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: |
| * E.D.Willink - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.qvtd.xtext.qvtcore.tests; |
| |
| import java.io.IOException; |
| |
| import org.eclipse.ocl.xtext.base.services.BaseLinkingService; |
| import org.eclipse.qvtd.xtext.qvtbase.tests.LoadTestCase; |
| |
| /** |
| * Tests that load a model and verify that there are no unresolved proxies as a result. |
| */ |
| public class LoadTests extends LoadTestCase |
| { |
| @Override |
| protected void setUp() throws Exception { |
| BaseLinkingService.DEBUG_RETRY.setState(true); |
| QVTcTestUtil.doQVTcoreSetup(); |
| super.setUp(); |
| } |
| |
| public void testLoad_expressions_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/expressions.qvtc"); |
| } |
| |
| public void testLoad_mini_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/mini.qvtc"); |
| } |
| |
| public void testLoad_uml2rdbms_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/uml2rdbms.qvtc"); |
| } |
| |
| public void testLoad_uml2rdbms_qvti_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/uml2rdbms.qvti.qvtc"); |
| } |
| |
| public void testLoad_uml2rdbms_qvtu_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/uml2rdbms.qvtu.qvtc"); |
| } |
| |
| public void testLoad_HSV2HLS_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("models/HSV2HLS.qvtc"); |
| } |
| |
| public void testLoad_Class2RDBMS_qvtc() throws IOException, InterruptedException { |
| doLoad_Concrete("Class2RDBMS/Class2RDBMS.qvtc"); |
| } |
| } |