diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-27 21:43:11 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-27 21:43:11 +0000 |
commit | 1d087d86160cd264e66b2bb40f7b963a6bb7b8f5 (patch) | |
tree | 503738a9ccdd88b590c75bd8a31f18fca00d000d /sca-java-2.x/trunk/modules | |
parent | f67991dfc3c5a924e684b7071810dca7055d2fe6 (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r-- | sca-java-2.x/trunk/modules/interface-java-jaxrs/src/test/java/org/apache/tuscany/sca/interfacedef/java/jaxrs/JAXRSInterfaceProcessorTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<Operation> getOperations = (List<Operation>) contract.getAttributes().get(GET.class.getClass()); + List<Operation> getOperations = (List<Operation>) contract.getAttributes().get(GET.class); Assert.assertEquals(1,getOperations.size()); //list operation |