summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhubner2009-02-04 10:21:35 (EST)
committerdhubner2009-02-04 10:21:35 (EST)
commitb753783110cb8cab4c654b0b0262a7f49b9bdaae (patch)
tree667fbbdf51afb05138bb453c4657f55b20eb5408
parent2300583d1c2412aab4160e83ac29903e96b823cf (diff)
downloadorg.eclipse.xpand-b753783110cb8cab4c654b0b0262a7f49b9bdaae.zip
org.eclipse.xpand-b753783110cb8cab4c654b0b0262a7f49b9bdaae.tar.gz
org.eclipse.xpand-b753783110cb8cab4c654b0b0262a7f49b9bdaae.tar.bz2
returned to junit 3
-rw-r--r--tests/org.eclipse.xpand.tests/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/XpandUtilTest.java17
2 files changed, 13 insertions, 6 deletions
diff --git a/tests/org.eclipse.xpand.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.xpand.tests/META-INF/MANIFEST.MF
index ba4e493..425ae09 100644
--- a/tests/org.eclipse.xpand.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.xpand.tests/META-INF/MANIFEST.MF
@@ -5,7 +5,7 @@ Bundle-Name: %pluginName (Incubation)
Bundle-Version: 0.7.0.qualifier
Bundle-Localization: plugin
Bundle-Vendor: %providerName
-Require-Bundle: org.junit4;bundle-version="4.3.1",
+Require-Bundle: org.junit,
org.eclipse.xpand,
org.eclipse.xtend,
org.eclipse.emf.mwe.core,
diff --git a/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/XpandUtilTest.java b/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/XpandUtilTest.java
index 67c64bb..528aafd 100644
--- a/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/XpandUtilTest.java
+++ b/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/XpandUtilTest.java
@@ -1,13 +1,21 @@
-package org.eclipse.xpand.internal.tests;
+/*******************************************************************************
+ * Copyright (c) 2005, 2007 committers of M2T/Xpand 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:
+ * committers of M2T/Xpand - initial API and implementation
+ *******************************************************************************/package org.eclipse.xpand.internal.tests;
import junit.framework.Assert;
+import junit.framework.TestCase;
import org.eclipse.xpand2.XpandUtil;
-import org.junit.Test;
-public class XpandUtilTest {
+public class XpandUtilTest extends TestCase{
- @Test
public void testWithoutLastSegment () {
final String[][] TEST = {
{null, null},
@@ -22,7 +30,6 @@ public class XpandUtilTest {
}
}
- @Test
public void testGetLastSegment () {
final String[][] TEST = {
{null, null},