summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-02-25 23:03:49 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-02-25 23:03:49 +0000
commitc36c817a5c93fad7dc9edb40c11dd499814433b8 (patch)
treeca5dc160434e07e64472fe5ebd94bdb7babb0a56 /branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java
parent00ab19fdc4602f919b3737927f4dd35f8f1a3472 (diff)
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
Diffstat (limited to 'branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java')
-rw-r--r--branches/sca-java-1.x/itest/validation/src/test/java/interfacewsdl/xml/InvalidWSDLInterfaceAttrTestCase.java2
1 files changed, 1 insertions, 1 deletions
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());