From c36c817a5c93fad7dc9edb40c11dd499814433b8 Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 25 Feb 2009 23:03:49 +0000 Subject: Correct the type of message that CompositeProcessor reports for a CompositeReadException and correct a few tests to take account of this and another couple of exception funnies. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@747952 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl') diff --git a/branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java b/branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java index f244ca7ec6..ecd2e0a760 100644 --- a/branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java +++ b/branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java @@ -52,7 +52,7 @@ public class InvalidWSDLInterfaceAttrTestCase extends TestCase { public void testCalculator() { Monitor monitor = customDomain.getMonitorInstance(); - Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem(); + Problem problem = ((DefaultMonitorImpl)monitor).getProblems().get(0); assertNotNull(problem); assertEquals("InvalidWSDLInterfaceAttr", problem.getMessageId()); -- cgit v1.2.3