[jboss-cvs] JBossAS SVN: r112699 - branches/JBPAPP_4_3_0_GA_CP10_JBPAPP-7791/testsuite/src/main/org/jboss/test/naming/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Feb 27 11:27:35 EST 2012
Author: pskopek at redhat.com
Date: 2012-02-27 11:27:34 -0500 (Mon, 27 Feb 2012)
New Revision: 112699
Modified:
branches/JBPAPP_4_3_0_GA_CP10_JBPAPP-7791/testsuite/src/main/org/jboss/test/naming/test/ImplUnitTestCase.java
Log:
[JBPAPP-7791] reverting back to r112546 as whole test will be disabled.
Modified: branches/JBPAPP_4_3_0_GA_CP10_JBPAPP-7791/testsuite/src/main/org/jboss/test/naming/test/ImplUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_3_0_GA_CP10_JBPAPP-7791/testsuite/src/main/org/jboss/test/naming/test/ImplUnitTestCase.java 2012-02-27 14:17:19 UTC (rev 112698)
+++ branches/JBPAPP_4_3_0_GA_CP10_JBPAPP-7791/testsuite/src/main/org/jboss/test/naming/test/ImplUnitTestCase.java 2012-02-27 16:27:34 UTC (rev 112699)
@@ -46,7 +46,6 @@
import junit.textui.TestRunner;
import org.apache.log4j.Logger;
-import org.jboss.test.NamingUtil;
/** Simple unit tests for the jndi implementation.
*
@@ -186,7 +185,7 @@
*
* @throws NamingException
*/
- public void testFactorySupport() throws Exception
+ public void testFactorySupport() throws NamingException
{
log.info("+++ testFactorySupport");
NotSerializableObject nso = new NotSerializableObject( "nsc" );
@@ -217,9 +216,9 @@
assertEquals( nso.getId(), nso2.getId() );
}
- static InitialContext getInitialContext() throws NamingException, Exception
+ static InitialContext getInitialContext() throws NamingException
{
- InitialContext ctx = NamingUtil.getFullInitialContext("localhost");
+ InitialContext ctx = new InitialContext();
return ctx;
}
More information about the jboss-cvs-commits
mailing list