summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-21 04:14:10 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-07-21 04:14:10 +0000
commitbaf3fd3cf072b0acf1267858703e4f499ece8bf4 (patch)
tree3abbeaefd8f10198b0ebc8f55d7a17ca703291b9 /java/sca
parentf4614bf4adb772b96f46d76b7a2a413980b42891 (diff)
Disable the failing test case which was checked in by mistake
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@678340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java b/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java
index e58acfcfe2..7475df21a7 100644
--- a/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java
+++ b/java/sca/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/DocLitBareWsdlTestCase.java
@@ -39,9 +39,10 @@ public class DocLitBareWsdlTestCase {
*/
@BeforeClass
public static void setUp() throws Exception {
- try {
+ try {
domain = SCADomain.newInstance("doclitbarewsdl.composite");
- } catch(Throwable e) {
+ } catch (Throwable e) {
+ // @Ignore("TUSCANY-2398")
e.printStackTrace();
}
}
@@ -51,15 +52,17 @@ public class DocLitBareWsdlTestCase {
*/
@AfterClass
public static void tearDown() {
- domain.close();
+ if (domain != null) {
+ domain.close();
+ }
}
@Ignore("TUSCANY-2398")
@Test
public void testDocLitBareWsdl() throws Exception {
- AClientService client = domain.getService(AClientService.class, "AClientComponent");
+ AClientService client = domain.getService(AClientService.class, "AClientComponent");
String name = "Pandu";
String resp = client.getGreetingsForward(name);
- Assert.assertEquals("Hello "+name, resp);
+ Assert.assertEquals("Hello " + name, resp);
}
}