diff options
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.java | 13 |
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); } } |