[jboss-cvs] JBossAS SVN: r111923 - trunk/testsuite/src/main/org/jboss/test/web/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 3 22:30:28 EDT 2011
Author: smcgowan at redhat.com
Date: 2011-08-03 22:30:28 -0400 (Wed, 03 Aug 2011)
New Revision: 111923
Modified:
trunk/testsuite/src/main/org/jboss/test/web/test/NamingServletUnitTestCase.java
Log:
JBAS-8835 - adjust assertions to verify an expected result
Modified: trunk/testsuite/src/main/org/jboss/test/web/test/NamingServletUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/test/NamingServletUnitTestCase.java 2011-08-04 02:29:01 UTC (rev 111922)
+++ trunk/testsuite/src/main/org/jboss/test/web/test/NamingServletUnitTestCase.java 2011-08-04 02:30:28 UTC (rev 111923)
@@ -63,8 +63,8 @@
public void testAppContextRoot() throws Exception
{
// since this is a standalone deployment, the module functions as an app (EE.5.2.2)
- String result = get("/naming/servlet?name=java:app/naming!ROOT");
- fail("FIXME: don't know what to expect " + result);
+ String result = get("/naming/servlet?name=java:app/AppName");
+ assertEquals("naming", result);
}
/**
@@ -73,8 +73,8 @@
public void testGlobalContextRoot() throws Exception
{
// since this is a standalone deployment, no app-name is needed
- String result = get("/naming/servlet?name=java:global/naming!ROOT");
- fail("FIXME: don't know what to expect " + result);
+ String result = get("/naming/servlet?name=java:global/naming");
+ assertNotNull(result);
}
/**
More information about the jboss-cvs-commits
mailing list