mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
Added test suite and reactivated test.xml
This commit is contained in:
parent
fc46480cd4
commit
4d0c6570d7
3 changed files with 31 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
<!-- ===================================================================== -->
|
||||
<project name="Build specific targets and properties" default="regenerateAll">
|
||||
|
||||
<taskdef resource="net/sf/ant4eclipse/antlib.xml" />
|
||||
<!--<taskdef resource="net/sf/ant4eclipse/antlib.xml" />-->
|
||||
|
||||
<property name="targetPlatformLocation" value="${basedir}/../../eclipse"/>
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008 itemis AG (http://www.itemis.eu) 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
|
||||
*
|
||||
*******************************************************************************/
|
||||
package org.eclipse.xtext;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
/**
|
||||
* @author Jan Köhnlein - Initial contribution and API
|
||||
*
|
||||
*/
|
||||
public class AllTests {
|
||||
|
||||
public static Test suite() {
|
||||
TestSuite suite = new TestSuite("Test for org.eclipse.xtext");
|
||||
//$JUnit-BEGIN$
|
||||
suite.addTestSuite(XtextGrammarTest.class);
|
||||
//$JUnit-END$
|
||||
return suite;
|
||||
}
|
||||
|
||||
}
|
|
@ -36,7 +36,8 @@
|
|||
<target name="suite">
|
||||
<property name="test-folder" value="${eclipse-home}/test_folder" />
|
||||
<delete dir="${test-folder}" quiet="true" />
|
||||
<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
|
||||
<ant target="java-test" antfile="${library-file}" dir="${eclipse-home}">
|
||||
<property name="timeout" value="100000"/>
|
||||
<property name="data-dir" value="${test-folder}" />
|
||||
<property name="plugin-name" value="${plugin-name}" />
|
||||
<property name="classname" value="${classname}" />
|
||||
|
|
Loading…
Reference in a new issue