You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/03/14 01:25:44 UTC

svn commit: r517947 - /incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java

Author: jsdelfino
Date: Tue Mar 13 17:25:44 2007
New Revision: 517947

URL: http://svn.apache.org/viewvc?view=rev&rev=517947
Log:
Don't need the junit 4 fancy annotations in this test case, making it work with Junit 3.8.

Modified:
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java

Modified: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java?view=diff&rev=517947&r1=517946&r2=517947
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/test/java/org/apache/tuscany/assembly/model/AssemblyFactoryTestCase.java Tue Mar 13 17:25:44 2007
@@ -20,46 +20,39 @@
 
 import javax.xml.namespace.QName;
 
+import junit.framework.TestCase;
+
 import org.apache.tuscany.assembly.model.impl.AssemblyFactoryImpl;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
 
 /**
  * Test building of assembly model instances using the assembly factory.
  *
  *  @version $Rev$ $Date$
  */
-public class AssemblyFactoryTestCase {
+public class AssemblyFactoryTestCase extends TestCase {
 	
 	AssemblyFactory factory;
 
-	@Before
-	public void setUpBefore() throws Exception {
+	public void setUp() throws Exception {
 		factory = new AssemblyFactoryImpl();
 	}
 
-	@After
-	public void tearDownAfter() throws Exception {
+	public void tearDown() throws Exception {
 		factory = null;
 	}
 
-	@Test
 	public void testCreateComponent() {
 		createComponent("AccountServiceComponent1");
 	}
 
-	@Test
 	public void testCreateComponentType() {
 		createComponentType();
 	}
 
-	@Test
 	public void testCreateComposite() {
 		createComposite();
 	}
 
-	@Test
 	public void testCreateConstrainingType() {
 		createConstrainingType();
 	}



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org