Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@481 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 8, 2008
1 parent 8677d59 commit 56d6ffe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
@@ -1,18 +1,11 @@
package org.jboss.webbeans.test;

import java.net.URL;
import java.util.Properties;

import javax.ejb.EJBContainer;

import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;


public abstract class AbstractEjbEmbeddableTest extends AbstractTest
{

@AfterClass
/*@AfterClass
public void afterClass()
{
EJBContainer current = EJBContainer.getCurrentEJBContainer();
Expand Down Expand Up @@ -42,6 +35,6 @@ private static String getURLToTestClasses(String path)
URL url = Thread.currentThread().getContextClassLoader().getResource(path);
String s = url.toString();
return s.substring(0, s.length() - path.length());
}
}*/

}
@@ -1,17 +1,11 @@
package org.jboss.webbeans.test;

import javax.ejb.EJBException;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import org.jboss.webbeans.examples.Translator;
import org.testng.annotations.Test;


public class EnterpriseBeanTest extends AbstractEjbEmbeddableTest
{

@Test(expectedExceptions=UnsupportedOperationException.class)
/*@Test(expectedExceptions=UnsupportedOperationException.class)
public void test() throws NamingException
{
Expand All @@ -32,6 +26,6 @@ public void test() throws NamingException
throw new RuntimeException(e.getCausedByException());
}
}
}
}*/

}

0 comments on commit 56d6ffe

Please sign in to comment.