summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-03-13 10:19:35 (EDT)
committer sefftinge2009-03-13 10:19:35 (EDT)
commit7b50232e976f93f074601486d0baffce795cd2bd (patch)
tree191da9ded6aac5f22dc817a49b9d0ac155e1bac4
parent7543da6213aa3f1502dc8f390a035e0422f8a582 (diff)
downloadorg.eclipse.xtext-7b50232e976f93f074601486d0baffce795cd2bd.zip
org.eclipse.xtext-7b50232e976f93f074601486d0baffce795cd2bd.tar.gz
org.eclipse.xtext-7b50232e976f93f074601486d0baffce795cd2bd.tar.bz2
removed dependency to junit
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel/META-INF/MANIFEST.MF3
-rw-r--r--examples/org.eclipse.xtext.example.domainmodel/src/xtext/example/SimpleTest.java34
2 files changed, 1 insertions, 36 deletions
diff --git a/examples/org.eclipse.xtext.example.domainmodel/META-INF/MANIFEST.MF b/examples/org.eclipse.xtext.example.domainmodel/META-INF/MANIFEST.MF
index e606d1e..7eac454 100644
--- a/examples/org.eclipse.xtext.example.domainmodel/META-INF/MANIFEST.MF
+++ b/examples/org.eclipse.xtext.example.domainmodel/META-INF/MANIFEST.MF
@@ -20,8 +20,7 @@ Require-Bundle: org.eclipse.xtext.log4j;bundle-version="1.2.15",
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime,
- org.eclipse.xtext.xtend;bundle-version="0.7.0",
- org.eclipse.xtext.junit;bundle-version="0.7.0";resolution:=optional
+ org.eclipse.xtext.xtend;bundle-version="0.7.0"
Export-Package: org.eclipse.xtext.example,
org.eclipse.xtext.example.domainmodel,
org.eclipse.xtext.example.domainmodel.impl,
diff --git a/examples/org.eclipse.xtext.example.domainmodel/src/xtext/example/SimpleTest.java b/examples/org.eclipse.xtext.example.domainmodel/src/xtext/example/SimpleTest.java
deleted file mode 100644
index e2cc0e5..0000000
--- a/examples/org.eclipse.xtext.example.domainmodel/src/xtext/example/SimpleTest.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package xtext.example;
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.util.Diagnostician;
-import org.eclipse.xtext.example.DomainmodelStandaloneSetup;
-import org.eclipse.xtext.junit.AbstractXtextTests;
-
-/*******************************************************************************
- * 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
- *
- *******************************************************************************/
-
-/**
- * @author Sven Efftinge - Initial contribution and API
- *
- */
-public class SimpleTest extends AbstractXtextTests {
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- with(new DomainmodelStandaloneSetup());
- }
-
- public void testSimple() throws Exception {
- EObject model = getModel("entity Foo {}");
- Diagnostic validate = Diagnostician.INSTANCE.validate(model);
- System.out.println(validate);
- }
-}