| /******************************************************************************* |
| * Copyright (c) 2016, 2018 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.qvtd.umlx.tests; |
| |
| import java.util.Arrays; |
| |
| import junit.framework.Test; |
| import junit.framework.TestCase; |
| import junit.framework.TestSuite; |
| import junit.textui.TestRunner; |
| |
| /** |
| * Tests for the UMLX support. |
| */ |
| public class AllUMLXTests extends TestCase |
| { |
| public AllUMLXTests() { |
| super(""); |
| } |
| |
| public static Test suite() { |
| TestSuite result = new TestSuite("All UMLX Tests"); |
| result.addTestSuite(UMLXSerializeTests.class); |
| result.addTestSuite(UMLXCompilerTests.class); |
| return result; |
| } |
| |
| public Object run(Object args) |
| throws Exception { |
| |
| TestRunner.run(suite()); |
| return Arrays |
| .asList(new String[] {"Please see raw test suite output for details."}); |
| } |
| } |