Added test suite and reactivated test.xml

This commit is contained in:
jkohnlein 2008-07-22 09:24:48 +00:00
parent e601780158
commit 1bc13409f5
3 changed files with 31 additions and 2 deletions

View file

@ -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"/>

View file

@ -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;
}
}

View file

@ -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}" />