From 1d087d86160cd264e66b2bb40f7b963a6bb7b8f5 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 27 Apr 2010 21:43:11 +0000 Subject: Fixing jax-rs operation flag in the test case to match what is used by the runtime git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@938688 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache') diff --git a/sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java b/sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java index 00c9be66c9..b680eaa491 100644 --- a/sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java +++ b/sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java @@ -53,7 +53,7 @@ public class JAXRSInterfaceProcessorTestCase { Assert.assertEquals(1,contract.getOperations().size()); - List getOperations = (List) contract.getAttributes().get(GET.class.getClass()); + List getOperations = (List) contract.getAttributes().get(GET.class); Assert.assertEquals(1,getOperations.size()); //list operation -- cgit v1.2.3