Author: rob.stryker(a)jboss.com
Date: 2009-06-26 03:16:16 -0400 (Fri, 26 Jun 2009)
New Revision: 16216
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java
Log:
the failing method was an old @FailureExpected due to upstream bugs which have been fixed
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java 2009-06-26
04:36:09 UTC (rev 16215)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/JBIDE2512bTest.java 2009-06-26
07:16:16 UTC (rev 16216)
@@ -15,9 +15,6 @@
super(new String[] { "JBIDE2512b-ear", "JBIDE2512b-ejb"}, new
String[] {null, null});
}
- /**
- * @FailureExpected This bug upstream means this failure is expected
- */
public void testJBIDE2512b() throws Exception {
IModuleArtifact[] earArtifacts = ServerPlugin.getModuleArtifacts(workspaceProject[0]);
assertNotNull(earArtifacts);
@@ -37,14 +34,8 @@
.loadAdapter(IEnterpriseApplication.class, null);
assertNotNull(enterpriseApplication);
- // Failure is expected here
- try {
- String uri = enterpriseApplication.getURI(ejbModule);
- assertNotNull(uri);
- assertFalse("JBIDE2512b-ejb.jar".equals(uri));
- } catch( AssertionFailedError afe) {
- return;
- }
- assertTrue(false);
+ String uri = enterpriseApplication.getURI(ejbModule);
+ assertNotNull("URI is null", uri);
+ assertTrue("URI does not have the expected value",
"JBIDE2512b-ejb.jar".equals(uri));
}
}
Show replies by date